Enum bt_rfcomm::frame::mux_commands::RlsError
source · 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 PartialEq for RlsError
impl PartialEq for RlsError
source§impl TryFrom<u8> for RlsError
impl TryFrom<u8> for RlsError
§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