Struct sodg::DeadRelay

source ·
pub struct DeadRelay {}
Expand description

A Relay that doesn’t even try to find anything, but returns an error.

If you don’t know what Relay to use, use DeadRelay::new().

Implementations§

Make a new DeadRelay, the empty one.

Trait Implementations§

Make a new default DeadRelay.

A method to be called when the searching algorithm fails to find the required attribute. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.