Struct nysa::Message[][src]

pub struct Message<'bus, T> where
    T: 'static + Send
{ /* fields omitted */ }
Expand description

A message on the bus.

Messages can be read, and then ignored, or consumed. A message handle must not outlive the bus it was pushed to, hence the lifetime 'bus.

Implementations

Consumes the message and returns its inner data.

This removes the message from the bus, so subsequent calls to receive_all and wait_for will not yield this message.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Executes the destructor for this type. 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

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.