pub struct SynchronousConnectionComplete {
pub status: Status,
pub handle: ConnHandle,
pub bd_addr: BdAddr,
pub link_type: ConnectionLinkType,
pub transmission_interval: u8,
pub retransmission_window: u8,
pub rx_packet_length: u16,
pub tx_packet_length: u16,
pub air_mode: u8,
}Expand description
Synchronous Connection Complete event ๐
Fieldsยง
ยงstatus: Statusstatus
handle: ConnHandlehandle
bd_addr: BdAddrbd_addr
link_type: ConnectionLinkTypelink_type
transmission_interval: u8transmission_interval
retransmission_window: u8retransmission_window
rx_packet_length: u16rx_packet_length
tx_packet_length: u16tx_packet_length
air_mode: u8air_mode
Trait Implementationsยง
Sourceยงimpl Clone for SynchronousConnectionComplete
impl Clone for SynchronousConnectionComplete
Sourceยงfn clone(&self) -> SynchronousConnectionComplete
fn clone(&self) -> SynchronousConnectionComplete
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<'a> EventParams<'a> for SynchronousConnectionComplete
impl<'a> EventParams<'a> for SynchronousConnectionComplete
Sourceยงconst EVENT_CODE: u8 = 0x2c
const EVENT_CODE: u8 = 0x2c
The event code these parameters are for
Sourceยงimpl<'a> FromHciBytes<'a> for SynchronousConnectionComplete
impl<'a> FromHciBytes<'a> for SynchronousConnectionComplete
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.
impl Copy for SynchronousConnectionComplete
Auto Trait Implementationsยง
impl Freeze for SynchronousConnectionComplete
impl RefUnwindSafe for SynchronousConnectionComplete
impl Send for SynchronousConnectionComplete
impl Sync for SynchronousConnectionComplete
impl Unpin for SynchronousConnectionComplete
impl UnsafeUnpin for SynchronousConnectionComplete
impl UnwindSafe for SynchronousConnectionComplete
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