Enum linefeed::reader::ReadResult
source · Expand description
Returned from read_line
to indicate user input
Variants
Eof
User issued end-of-file
Input(String)
User input received
Signal(Signal)
Reported signal was received
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReadResult
impl Send for ReadResult
impl Sync for ReadResult
impl Unpin for ReadResult
impl UnwindSafe for ReadResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more