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: IoErrorConnectFailed(IoError)Tuple Fields of ConnectFailed
0: IoErrorSendFailed(IoError)Tuple Fields of SendFailed
0: IoErrorTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DisconnectionReason
impl Send for DisconnectionReason
impl Sync for DisconnectionReason
impl Unpin for DisconnectionReason
impl !UnwindSafe for DisconnectionReason
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
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