Enum bt_rfcomm::frame::mux_commands::MuxCommandParams
source · pub enum MuxCommandParams {
ParameterNegotiation(ParameterNegotiationParams),
FlowControlOn(FlowControlParams),
FlowControlOff(FlowControlParams),
ModemStatus(ModemStatusParams),
NonSupported(NonSupportedCommandParams),
RemoteLineStatus(RemoteLineStatusParams),
RemotePortNegotiation(RemotePortNegotiationParams),
Test(TestCommandParams),
}
Expand description
The parameters associated with a Mux Command.
Variants§
ParameterNegotiation(ParameterNegotiationParams)
FlowControlOn(FlowControlParams)
FlowControlOff(FlowControlParams)
ModemStatus(ModemStatusParams)
NonSupported(NonSupportedCommandParams)
RemoteLineStatus(RemoteLineStatusParams)
RemotePortNegotiation(RemotePortNegotiationParams)
Test(TestCommandParams)
Implementations§
source§impl MuxCommandParams
impl MuxCommandParams
pub fn marker(&self) -> MuxCommandMarker
Trait Implementations§
source§impl Clone for MuxCommandParams
impl Clone for MuxCommandParams
source§fn clone(&self) -> MuxCommandParams
fn clone(&self) -> MuxCommandParams
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 MuxCommandParams
impl Debug for MuxCommandParams
source§impl Encodable for MuxCommandParams
impl Encodable for MuxCommandParams
type Error = FrameParseError
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the number of bytes necessary to encode |self|.
source§impl PartialEq for MuxCommandParams
impl PartialEq for MuxCommandParams
source§fn eq(&self, other: &MuxCommandParams) -> bool
fn eq(&self, other: &MuxCommandParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MuxCommandParams
Auto Trait Implementations§
impl Freeze for MuxCommandParams
impl RefUnwindSafe for MuxCommandParams
impl Send for MuxCommandParams
impl Sync for MuxCommandParams
impl Unpin for MuxCommandParams
impl UnwindSafe for MuxCommandParams
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