pub struct L2CapCommandReject {
pub conn_handle: ConnectionHandle,
pub identifier: u8,
pub reason: u16,
pub data: [u8; 247],
}
Expand description
This event is generated upon receipt of a valid Command Reject packet (e.g. when the Central responds to the Connection Update Request packet with a Command Reject packet).
Fields§
§conn_handle: ConnectionHandle
Handle of the connection where this event occurred
identifier: u8
This is the identifier which associate the request to the response.
reason: u16
Reason
data: [u8; 247]
Data field associated with Reason
Trait Implementations§
Source§impl Clone for L2CapCommandReject
impl Clone for L2CapCommandReject
Source§fn clone(&self) -> L2CapCommandReject
fn clone(&self) -> L2CapCommandReject
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 L2CapCommandReject
impl Debug for L2CapCommandReject
impl Copy for L2CapCommandReject
Auto Trait Implementations§
impl Freeze for L2CapCommandReject
impl RefUnwindSafe for L2CapCommandReject
impl Send for L2CapCommandReject
impl Sync for L2CapCommandReject
impl Unpin for L2CapCommandReject
impl UnwindSafe for L2CapCommandReject
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