Struct radiorust::blocks::io::Blackhole

source ·
pub struct Blackhole<T> { /* private fields */ }
Expand description

Consumer which ignores all received Signal::Samples (but allows EventHandling)

Implementations§

Create new Blackhole

Trait Implementations§

Obtain reference to ReceiverConnector
Connect Consumer to Producer
Disconnect Consumer from any connected Producer if connected
Register event handler
Wait for closure to return true on event

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.