pub struct ConnectionComplete {
pub status: Status,
pub handle: ConnHandle,
pub bd_addr: BdAddr,
pub link_type: ConnectionLinkType,
pub encryption_enabled: bool,
}Expand description
Connection Complete event ๐
Fieldsยง
ยงstatus: Statusstatus
handle: ConnHandlehandle
bd_addr: BdAddrbd_addr
link_type: ConnectionLinkTypelink_type
encryption_enabled: boolencryption_enabled
Trait Implementationsยง
Sourceยงimpl Clone for ConnectionComplete
impl Clone for ConnectionComplete
Sourceยงfn clone(&self) -> ConnectionComplete
fn clone(&self) -> ConnectionComplete
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท 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 ConnectionComplete
impl Debug for ConnectionComplete
Sourceยงimpl<'a> EventParams<'a> for ConnectionComplete
impl<'a> EventParams<'a> for ConnectionComplete
Sourceยงconst EVENT_CODE: u8 = 0x03
const EVENT_CODE: u8 = 0x03
The event code these parameters are for
Sourceยงimpl<'a> FromHciBytes<'a> for ConnectionComplete
impl<'a> FromHciBytes<'a> for ConnectionComplete
Sourceยงfn from_hci_bytes(data: &'a [u8]) -> Result<(Self, &'a [u8]), FromHciBytesError>
fn from_hci_bytes(data: &'a [u8]) -> Result<(Self, &'a [u8]), FromHciBytesError>
Deserialize bytes into a HCI type, return additional bytes.
Sourceยงfn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
fn from_hci_bytes_complete(data: &'de [u8]) -> Result<Self, FromHciBytesError>
Deserialize bytes into a HCI type, must consume all bytes.
Sourceยงimpl Hash for ConnectionComplete
impl Hash for ConnectionComplete
impl Copy for ConnectionComplete
Auto Trait Implementationsยง
impl Freeze for ConnectionComplete
impl RefUnwindSafe for ConnectionComplete
impl Send for ConnectionComplete
impl Sync for ConnectionComplete
impl Unpin for ConnectionComplete
impl UnsafeUnpin for ConnectionComplete
impl UnwindSafe for ConnectionComplete
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