pub struct SimpleSessionManager { /* private fields */ }Implementations§
Source§impl SimpleSessionManager
impl SimpleSessionManager
pub fn lifecycle_counts(&self) -> SessionLifecycleCounts
Trait Implementations§
Source§impl Default for SimpleSessionManager
impl Default for SimpleSessionManager
Source§fn default() -> SimpleSessionManager
fn default() -> SimpleSessionManager
Returns the “default value” for a type. Read more
Source§impl SessionManager for SimpleSessionManager
impl SessionManager for SimpleSessionManager
fn open_session( &mut self, domain: TransportDomain, target: impl Into<String>, ) -> SessionId
fn get_session(&self, id: SessionId) -> Option<&SessionRecord>
fn set_backoff_policy(&mut self, policy: ReconnectBackoffPolicy)
fn mark_connected(&mut self, id: SessionId)
fn mark_reconnecting(&mut self, id: SessionId, reason: impl Into<String>)
fn mark_closed(&mut self, id: SessionId)
Auto Trait Implementations§
impl Freeze for SimpleSessionManager
impl RefUnwindSafe for SimpleSessionManager
impl Send for SimpleSessionManager
impl Sync for SimpleSessionManager
impl Unpin for SimpleSessionManager
impl UnsafeUnpin for SimpleSessionManager
impl UnwindSafe for SimpleSessionManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more