Struct rubble::link::queue::SimpleConsumer[][src]

pub struct SimpleConsumer<'a> {
    inner: Consumer<'a, [u8; 29], 2>,
}
Expand description

Consumer (reader) half returned by SimpleQueue::split.

Fields

inner: Consumer<'a, [u8; 29], 2>

Trait Implementations

Returns whether there is a packet to dequeue.

Passes the next raw packet in the queue to a closure. Read more

Passes the next packet in the queue to a closure. 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.

Should always be Self

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.