pub enum SessionId {
Initial(Uuid),
Clone {
old: Uuid,
new: Uuid,
},
Drop(Uuid),
}Expand description
A session-lifetime event. Engines keep per-session state (the authenticated session, its variables, its live queries), and these events tell them when to create, copy and discard it.
Variants§
Initial(Uuid)
A new session was opened.
Clone
A session was cloned; new starts as a copy of old.
Drop(Uuid)
A session was dropped and its state can be released.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionId
impl RefUnwindSafe for SessionId
impl Send for SessionId
impl Sync for SessionId
impl Unpin for SessionId
impl UnsafeUnpin for SessionId
impl UnwindSafe for SessionId
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