Enum epicbox::broker::stomp::session::SessionEvent[][src]

pub enum SessionEvent {
    Connected,
    Error(Frame),
    Receipt {
        id: String,
        original: Frame,
        receipt: Frame,
    },
    Message {
        destination: String,
        ack_mode: AckMode,
        frame: Frame,
    },
    Subscriptionless(Frame),
    Unknown(Frame),
    Disconnected(DisconnectionReason),
}

Variants

Connected
Error(Frame)

Tuple Fields of Error

0: Frame
Receipt

Fields of Receipt

id: Stringoriginal: Framereceipt: Frame
Message

Fields of Message

destination: Stringack_mode: AckModeframe: Frame
Subscriptionless(Frame)

Tuple Fields of Subscriptionless

0: Frame
Unknown(Frame)

Tuple Fields of Unknown

0: Frame
Disconnected(DisconnectionReason)

Tuple Fields of Disconnected

0: DisconnectionReason

Trait Implementations

Formats the value using the given formatter. 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.

Given ptr, which was obtained from a prior call to Self::borrow(), return a value with the same nominal lifetime which is guaranteed to survive mutations to Self. Read more

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.