pub struct LeDataLengthChangeEvent {
pub conn_handle: ConnectionHandle,
pub max_tx_octets: u16,
pub max_tx_time: u16,
pub max_rx_octets: u16,
pub max_rx_time: u16,
}
Expand description
Indicates that either the maximum Payload length of a LL DATA PDU has changed or the maximum transmission time of packets which contain LL Data PDUs.
This event is only generated if any of the values have changed.
Defined in Vol 2, Part E, Section 7.7.65.7 of the spec.
Fields§
§conn_handle: ConnectionHandle
Connection handle to be used to identify a connection between two Bluetooth devices.
max_tx_octets: u16
Maximum number of octets in a PDU that the lcoal controller will send.
max_tx_time: u16
Maximum time that the local controller will take to send a link layer packet.
max_rx_octets: u16
Maximum number of octets in a PDU that the local controller expects to receive.
max_rx_time: u16
Maximum time that the local controller expects to take to receive a link layer packet.
Trait Implementations§
Source§impl Clone for LeDataLengthChangeEvent
impl Clone for LeDataLengthChangeEvent
Source§fn clone(&self) -> LeDataLengthChangeEvent
fn clone(&self) -> LeDataLengthChangeEvent
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 LeDataLengthChangeEvent
impl Debug for LeDataLengthChangeEvent
impl Copy for LeDataLengthChangeEvent
Auto Trait Implementations§
impl Freeze for LeDataLengthChangeEvent
impl RefUnwindSafe for LeDataLengthChangeEvent
impl Send for LeDataLengthChangeEvent
impl Sync for LeDataLengthChangeEvent
impl Unpin for LeDataLengthChangeEvent
impl UnwindSafe for LeDataLengthChangeEvent
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