pub enum SessionEvent {
OnSessionStateChange {
state: SessionState,
},
_UnknownEvent {
ordinal: u64,
},
}
Variants§
Implementations§
Source§impl SessionEvent
impl SessionEvent
pub fn into_on_session_state_change(self) -> Option<SessionState>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionEvent
impl RefUnwindSafe for SessionEvent
impl Send for SessionEvent
impl Sync for SessionEvent
impl Unpin for SessionEvent
impl UnwindSafe for SessionEvent
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