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
Error(Frame)Tuple Fields of Error
0: FrameSubscriptionless(Frame)Tuple Fields of Subscriptionless
0: FrameUnknown(Frame)Tuple Fields of Unknown
0: FrameDisconnected(DisconnectionReason)Tuple Fields of Disconnected
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SessionEvent
impl Send for SessionEvent
impl Sync for SessionEvent
impl Unpin for SessionEvent
impl !UnwindSafe for SessionEvent
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