pub enum L2CapRejectionReason {
CommandNotUnderstood,
SignalingMtuExceeded,
InvalidCid,
}
Expand description
Reasons why an L2CAP command was rejected. see the Bluetooth specification, v4.1, Vol 3, Part A, Section 4.1.
Variants§
CommandNotUnderstood
The controller sent an unknown command.
SignalingMtuExceeded
When multiple commands are included in an L2CAP packet and the packet exceeds the signaling MTU (MTUsig) of the receiver, a single Command Reject packet shall be sent in response.
InvalidCid
Invalid CID in request
Trait Implementations§
Source§impl Clone for L2CapRejectionReason
impl Clone for L2CapRejectionReason
Source§fn clone(&self) -> L2CapRejectionReason
fn clone(&self) -> L2CapRejectionReason
Returns a duplicate 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 L2CapRejectionReason
impl Debug for L2CapRejectionReason
Source§impl PartialEq for L2CapRejectionReason
impl PartialEq for L2CapRejectionReason
Source§impl TryFrom<u16> for L2CapRejectionReason
impl TryFrom<u16> for L2CapRejectionReason
impl Copy for L2CapRejectionReason
impl StructuralPartialEq for L2CapRejectionReason
Auto Trait Implementations§
impl Freeze for L2CapRejectionReason
impl RefUnwindSafe for L2CapRejectionReason
impl Send for L2CapRejectionReason
impl Sync for L2CapRejectionReason
impl Unpin for L2CapRejectionReason
impl UnwindSafe for L2CapRejectionReason
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