pub enum RunError<E> {
Read(E),
Write(E),
Eof,
Terminated,
}
Expand description
Error returned by Runner::run
.
Variants§
Read(E)
Reading from the serial port failed.
Write(E)
Writing to the serial port failed.
Eof
Writing to the serial got EOF.
Terminated
PPP protocol was terminated by the peer
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for RunError<E>where
E: Freeze,
impl<E> RefUnwindSafe for RunError<E>where
E: RefUnwindSafe,
impl<E> Send for RunError<E>where
E: Send,
impl<E> Sync for RunError<E>where
E: Sync,
impl<E> Unpin for RunError<E>where
E: Unpin,
impl<E> UnwindSafe for RunError<E>where
E: UnwindSafe,
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