pub enum SessionLifecycleState {
Open,
Resumed,
Closing,
Draining,
Closed,
}Variants§
Implementations§
Source§impl SessionLifecycleState
impl SessionLifecycleState
pub fn accepts_session_scoped_messages(self) -> bool
pub fn accepts_new_operations(self) -> bool
Trait Implementations§
Source§impl Clone for SessionLifecycleState
impl Clone for SessionLifecycleState
Source§fn clone(&self) -> SessionLifecycleState
fn clone(&self) -> SessionLifecycleState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionLifecycleState
impl Debug for SessionLifecycleState
Source§impl PartialEq for SessionLifecycleState
impl PartialEq for SessionLifecycleState
Source§fn eq(&self, other: &SessionLifecycleState) -> bool
fn eq(&self, other: &SessionLifecycleState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SessionLifecycleState
impl Eq for SessionLifecycleState
impl StructuralPartialEq for SessionLifecycleState
Auto Trait Implementations§
impl Freeze for SessionLifecycleState
impl RefUnwindSafe for SessionLifecycleState
impl Send for SessionLifecycleState
impl Sync for SessionLifecycleState
impl Unpin for SessionLifecycleState
impl UnsafeUnpin for SessionLifecycleState
impl UnwindSafe for SessionLifecycleState
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