pub enum SessionChange {
New,
Resume(String),
Fork {
entry_id: String,
at: bool,
},
}Expand description
A session change extensions may cancel, as pi’s session_before_switch
and session_before_fork report it.
Variants§
New
A new session.
Resume(String)
A switch to this session file.
Fork
A fork at an entry, keeping the entry when at (/clone) or ending
the fork before it.
Implementations§
Source§impl SessionChange
impl SessionChange
Trait Implementations§
Source§impl Clone for SessionChange
impl Clone for SessionChange
Auto Trait Implementations§
impl Forget for SessionChange
impl Freeze for SessionChange
impl RefUnwindSafe for SessionChange
impl Send for SessionChange
impl Sync for SessionChange
impl Unpin for SessionChange
impl UnsafeUnpin for SessionChange
impl UnwindSafe for SessionChange
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