Struct pipewire::channel::Receiver[][src]

pub struct Receiver<T: 'static> { /* fields omitted */ }
Expand description

A receiver that has not been attached to a loop.

Use its attach function to receive messages by attaching it to a loop.

Implementations

Attach the receiver to a loop with a callback.

This will make the loop call the callback with any messages that get sent to the receiver.

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

Performs the conversion.

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.