Struct NewStateEvent
pub struct NewStateEvent<'a> { /* private fields */ }Expand description
Session state change event
Received when the session transitions from one state to another. Provides both the old and new states.
§Lifetime
The lifetime 'a ensures this event cannot outlive the callback scope.
Implementations§
§impl<'a> NewStateEvent<'a>
impl<'a> NewStateEvent<'a>
Auto Trait Implementations§
impl<'a> Freeze for NewStateEvent<'a>
impl<'a> RefUnwindSafe for NewStateEvent<'a>
impl<'a> Send for NewStateEvent<'a>
impl<'a> Sync for NewStateEvent<'a>
impl<'a> Unpin for NewStateEvent<'a>
impl<'a> UnwindSafe for NewStateEvent<'a>
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