Struct augdom::testing::Found[][src]

pub struct Found<'find, 'pat, 'node, N> { /* fields omitted */ }
Expand description

The final description of a subtree query. The methods on this struct execute the underlying search and return the results in various forms.

Implementations

Wrap the query in a MutationObserver with async methods that resolve once the wrapped query could succeed or a 1 second timeout has expired.

Execute the query and return the only matching node in the queried subtree.

Panics

If more than one matching node is found.

Execute the query and return a Vec of matching nodes in the queried subtree.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Call op within the context of a Layer containing self.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more