pub enum Signal {
Success(String),
CtrlC,
CtrlD,
}
Expand description
Valid ways how Reedline::read_line()
can return
Variants§
Success(String)
Entry succeeded with the provided content
CtrlC
Entry was aborted with Ctrl+C
CtrlD
Abort with Ctrl+D
signalling EOF
or abort of a whole interactive session
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
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