Struct mqttrust_core::EventLoop[][src]

pub struct EventLoop<'a, 'b, S, O, const T: usize, const P: usize, const L: usize> where
    O: Clock
{ pub state: MqttState<Instant<O>, T, P>, pub last_outgoing_timer: O, pub options: MqttOptions<'b>, pub requests: Consumer<'a, OwnedRequest<T, P>, L>, // some fields omitted }

Fields

state: MqttState<Instant<O>, T, P>

Current state of the connection

last_outgoing_timer: O

Last outgoing packet time

options: MqttOptions<'b>

Options of the current mqtt connection

requests: Consumer<'a, OwnedRequest<T, P>, L>

Request stream

Implementations

Yields notification from events. All the error raised while processing event is reported as an Ok value of Notification::Abort.

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.