Struct bt_rfcomm::frame::mux_commands::NonSupportedCommandParams
source · pub struct NonSupportedCommandParams {
pub cr_bit: bool,
pub non_supported_command: u8,
}
Expand description
This response is sent whenever a command type is not supported by the device. Defined in GSM 7.10 Section 5.4.6.3.8.
Fields§
§cr_bit: bool
The C/R bit is set to the same value as the C/R bit in the non-supported command.
non_supported_command: u8
The non_supported command.
Trait Implementations§
source§impl Clone for NonSupportedCommandParams
impl Clone for NonSupportedCommandParams
source§fn clone(&self) -> NonSupportedCommandParams
fn clone(&self) -> NonSupportedCommandParams
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 NonSupportedCommandParams
impl Debug for NonSupportedCommandParams
source§impl Decodable for NonSupportedCommandParams
impl Decodable for NonSupportedCommandParams
type Error = FrameParseError
source§impl Encodable for NonSupportedCommandParams
impl Encodable for NonSupportedCommandParams
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 NonSupportedCommandParams
impl PartialEq for NonSupportedCommandParams
source§fn eq(&self, other: &NonSupportedCommandParams) -> bool
fn eq(&self, other: &NonSupportedCommandParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NonSupportedCommandParams
Auto Trait Implementations§
impl RefUnwindSafe for NonSupportedCommandParams
impl Send for NonSupportedCommandParams
impl Sync for NonSupportedCommandParams
impl Unpin for NonSupportedCommandParams
impl UnwindSafe for NonSupportedCommandParams
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