pub enum SerialErrorKind {
OpenFailed,
ReadFailed,
WriteFailed,
ConfigurationFailed,
Disconnected,
BufferOverflow,
ParityError,
FramingError,
}
Variants§
OpenFailed
ReadFailed
WriteFailed
ConfigurationFailed
Disconnected
BufferOverflow
ParityError
FramingError
Trait Implementations§
Source§impl Clone for SerialErrorKind
impl Clone for SerialErrorKind
Source§fn clone(&self) -> SerialErrorKind
fn clone(&self) -> SerialErrorKind
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 SerialErrorKind
impl Debug for SerialErrorKind
Source§impl Display for SerialErrorKind
impl Display for SerialErrorKind
Source§impl PartialEq for SerialErrorKind
impl PartialEq for SerialErrorKind
impl Copy for SerialErrorKind
impl Eq for SerialErrorKind
impl StructuralPartialEq for SerialErrorKind
Auto Trait Implementations§
impl Freeze for SerialErrorKind
impl RefUnwindSafe for SerialErrorKind
impl Send for SerialErrorKind
impl Sync for SerialErrorKind
impl Unpin for SerialErrorKind
impl UnwindSafe for SerialErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.