pub enum HandleResult {
Continue,
Exit,
}Expand description
The result of handling a line in the REPL.
This indicates whether the REPL should continue running or terminate after processing the current input.
Variants§
Continue
Continue the REPL session and wait for the next input.
Exit
Exit the REPL session immediately.
Auto Trait Implementations§
impl Freeze for HandleResult
impl RefUnwindSafe for HandleResult
impl Send for HandleResult
impl Sync for HandleResult
impl Unpin for HandleResult
impl UnsafeUnpin for HandleResult
impl UnwindSafe for HandleResult
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