pub enum ShellAction {
Exit,
SwitchToRepl,
}Expand description
Defines the possible actions that can be returned from the shell session. This is used to signal whether the user wants to exit the application entirely or switch back to the SQL REPL.
Variants§
Trait Implementations§
Source§impl Debug for ShellAction
impl Debug for ShellAction
Source§impl PartialEq for ShellAction
impl PartialEq for ShellAction
impl Eq for ShellAction
impl StructuralPartialEq for ShellAction
Auto Trait Implementations§
impl Freeze for ShellAction
impl RefUnwindSafe for ShellAction
impl Send for ShellAction
impl Sync for ShellAction
impl Unpin for ShellAction
impl UnwindSafe for ShellAction
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