#[repr(u8)]pub enum MuxCommandType {
ParameterNegotiation = 32,
ModemStatusCommand = 56,
RemotePortNegotiation = 36,
Test = 8,
FlowControlOn = 40,
FlowControlOff = 24,
NonSupported = 4,
}Expand description
RFCOMM multiplexer control command types
Variants§
ParameterNegotiation = 32
Parameter Negotiation (PN) - MTU, priority, flow control
ModemStatusCommand = 56
Modem Status Command (MSC) - DTR/RTS/RI/DCD signals
RemotePortNegotiation = 36
Remote Port Negotiation (RPN) - baud rate, data bits, etc.
Test = 8
Test Command
FlowControlOn = 40
Flow Control On (aggregate)
FlowControlOff = 24
Flow Control Off (aggregate)
NonSupported = 4
Non-Supported Command Response
Implementations§
Trait Implementations§
Source§impl Clone for MuxCommandType
impl Clone for MuxCommandType
Source§fn clone(&self) -> MuxCommandType
fn clone(&self) -> MuxCommandType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MuxCommandType
impl Debug for MuxCommandType
Source§impl PartialEq for MuxCommandType
impl PartialEq for MuxCommandType
impl Copy for MuxCommandType
impl Eq for MuxCommandType
impl StructuralPartialEq for MuxCommandType
Auto Trait Implementations§
impl Freeze for MuxCommandType
impl RefUnwindSafe for MuxCommandType
impl Send for MuxCommandType
impl Sync for MuxCommandType
impl Unpin for MuxCommandType
impl UnwindSafe for MuxCommandType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)