pub enum SessionPickerResult {
Select(PathBuf),
Cancel,
Info(PathBuf),
Delete(PathBuf),
}Variants§
Select(PathBuf)
Switch to the session at the given path.
Cancel
Dismiss without selecting.
Info(PathBuf)
Show session info for the selected session.
Delete(PathBuf)
Delete the selected session.
Trait Implementations§
Source§impl Clone for SessionPickerResult
impl Clone for SessionPickerResult
Source§fn clone(&self) -> SessionPickerResult
fn clone(&self) -> SessionPickerResult
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 moreAuto Trait Implementations§
impl Freeze for SessionPickerResult
impl RefUnwindSafe for SessionPickerResult
impl Send for SessionPickerResult
impl Sync for SessionPickerResult
impl Unpin for SessionPickerResult
impl UnsafeUnpin for SessionPickerResult
impl UnwindSafe for SessionPickerResult
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