pub enum Error<T, R, D> {
Transmit(T),
Receive(R),
Delay(D),
InvalidFrame,
Aborted,
UnexpectedEOF,
}Variants§
Trait Implementations§
source§impl<T: PartialEq, R: PartialEq, D: PartialEq> PartialEq<Error<T, R, D>> for Error<T, R, D>
impl<T: PartialEq, R: PartialEq, D: PartialEq> PartialEq<Error<T, R, D>> for Error<T, R, D>
impl<T: Eq, R: Eq, D: Eq> Eq for Error<T, R, D>
impl<T, R, D> StructuralEq for Error<T, R, D>
impl<T, R, D> StructuralPartialEq for Error<T, R, D>
Auto Trait Implementations§
impl<T, R, D> RefUnwindSafe for Error<T, R, D>where D: RefUnwindSafe, R: RefUnwindSafe, T: RefUnwindSafe,
impl<T, R, D> Send for Error<T, R, D>where D: Send, R: Send, T: Send,
impl<T, R, D> Sync for Error<T, R, D>where D: Sync, R: Sync, T: Sync,
impl<T, R, D> Unpin for Error<T, R, D>where D: Unpin, R: Unpin, T: Unpin,
impl<T, R, D> UnwindSafe for Error<T, R, D>where D: UnwindSafe, R: UnwindSafe, T: 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