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

pub enum DisconnectionReason {
    RecvFailed(IoError),
    ConnectFailed(IoError),
    SendFailed(IoError),
    ClosedByOtherSide,
    HeartBeatTimeout,
    Requested,
}

Variants

RecvFailed(IoError)

Tuple Fields of RecvFailed

0: IoError
ConnectFailed(IoError)

Tuple Fields of ConnectFailed

0: IoError
SendFailed(IoError)

Tuple Fields of SendFailed

0: IoError
ClosedByOtherSide
HeartBeatTimeout
Requested

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.