pub enum Halt {
Cancelled,
Device(Error),
}Expand description
Why a read stopped.
Variants§
Cancelled
The job was stopped between requests.
Device(Error)
The device, or the way to it, failed the request.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Halt
impl !UnwindSafe for Halt
impl Freeze for Halt
impl Send for Halt
impl Sync for Halt
impl Unpin for Halt
impl UnsafeUnpin for Halt
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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