pub enum RlsError {
Overrun = 1,
Parity = 2,
Framing = 4,
}
Expand description
The error types supported in the Remote Line Status command. See GSM 07.10 Section 5.4.6.3.10 for the defined variants.
Variants§
Overrun = 1
Received character overwrote an unread character.
Parity = 2
Received character’s parity was incorrect.
Framing = 4
Received character did not terminate with a stop bit.
Implementations§
Trait Implementations§
Source§impl TryFrom<u8> for RlsError
impl TryFrom<u8> for RlsError
Source§type Error = FrameParseError
type Error = FrameParseError
The type returned in the event of a conversion error.
impl Copy for RlsError
impl Eq for RlsError
impl StructuralPartialEq for RlsError
Auto Trait Implementations§
impl Freeze for RlsError
impl RefUnwindSafe for RlsError
impl Send for RlsError
impl Sync for RlsError
impl Unpin for RlsError
impl UnwindSafe for RlsError
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)