pub enum ReplEvent {
Parsed(String),
Error(String),
Reset,
OptionChanged(String, String),
Exit,
}Expand description
A REPL event emitted by the session.
Variants§
Parsed(String)
A command was successfully parsed.
Error(String)
A parse error occurred.
Reset
The session was reset.
OptionChanged(String, String)
An option was changed.
Exit
The REPL is exiting.
Trait Implementations§
impl StructuralPartialEq for ReplEvent
Auto Trait Implementations§
impl Freeze for ReplEvent
impl RefUnwindSafe for ReplEvent
impl Send for ReplEvent
impl Sync for ReplEvent
impl Unpin for ReplEvent
impl UnsafeUnpin for ReplEvent
impl UnwindSafe for ReplEvent
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