pub enum RegisterTransferError {
Overrun(u8),
Parity,
Framing,
Break,
}Variants§
Trait Implementations§
Source§impl Clone for RegisterTransferError
impl Clone for RegisterTransferError
Source§fn clone(&self) -> RegisterTransferError
fn clone(&self) -> RegisterTransferError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegisterTransferError
impl Debug for RegisterTransferError
Source§impl Display for RegisterTransferError
impl Display for RegisterTransferError
Source§impl Error for RegisterTransferError
impl Error for RegisterTransferError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<RegisterTransferError> for TransferError
impl From<RegisterTransferError> for TransferError
Source§fn from(value: RegisterTransferError) -> TransferError
fn from(value: RegisterTransferError) -> TransferError
Converts to this type from the input type.
Source§impl PartialEq for RegisterTransferError
impl PartialEq for RegisterTransferError
impl Copy for RegisterTransferError
impl Eq for RegisterTransferError
impl StructuralPartialEq for RegisterTransferError
Auto Trait Implementations§
impl Freeze for RegisterTransferError
impl RefUnwindSafe for RegisterTransferError
impl Send for RegisterTransferError
impl Sync for RegisterTransferError
impl Unpin for RegisterTransferError
impl UnwindSafe for RegisterTransferError
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