Struct epicbox::broker::stomp::session::SessionState [−][src]
pub struct SessionState {
next_transaction_id: u32,
next_subscription_id: u32,
next_receipt_id: u32,
rx_heartbeat: Option<HeartBeatDelay>,
tx_heartbeat: Option<HeartBeatDelay>,
pub subscriptions: HashMap<String, Subscription>,
pub outstanding_receipts: HashMap<String, OutstandingReceipt>,
}Fields
next_transaction_id: u32next_subscription_id: u32next_receipt_id: u32rx_heartbeat: Option<HeartBeatDelay>tx_heartbeat: Option<HeartBeatDelay>subscriptions: HashMap<String, Subscription>outstanding_receipts: HashMap<String, OutstandingReceipt>Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SessionState
impl Send for SessionState
impl Sync for SessionState
impl Unpin for SessionState
impl !UnwindSafe for SessionState
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