pub enum CommunicationError {
TimedOut,
UnsupportedBaud(BaudRate),
Other,
}
Expand description
An Error originating from an Interface
Variants§
Trait Implementations§
Source§impl Clone for CommunicationError
impl Clone for CommunicationError
Source§fn clone(&self) -> CommunicationError
fn clone(&self) -> CommunicationError
Returns a copy 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 CommunicationError
impl Debug for CommunicationError
Source§impl From<CommunicationError> for Error
impl From<CommunicationError> for Error
Source§fn from(e: CommunicationError) -> Error
fn from(e: CommunicationError) -> Error
Converts to this type from the input type.
Source§impl From<CommunicationError> for Error
impl From<CommunicationError> for Error
Source§fn from(e: CommunicationError) -> Error
fn from(e: CommunicationError) -> Error
Converts to this type from the input type.
Source§impl PartialEq for CommunicationError
impl PartialEq for CommunicationError
impl Copy for CommunicationError
impl Eq for CommunicationError
impl StructuralPartialEq for CommunicationError
Auto Trait Implementations§
impl Freeze for CommunicationError
impl RefUnwindSafe for CommunicationError
impl Send for CommunicationError
impl Sync for CommunicationError
impl Unpin for CommunicationError
impl UnwindSafe for CommunicationError
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