pub struct BleFrameLinkConfig {
pub segment_payload: usize,
pub discovery_timeout: Duration,
pub operation_timeout: Duration,
pub pairing_timeout: Duration,
}Expand description
BLE-specific link configuration.
Fields§
§segment_payload: usizeFrame bytes per GATT segment, excluding the SAR header.
discovery_timeout: DurationHow long discovery may run before reporting no matching peripheral.
operation_timeout: DurationMaximum duration for each CoreBluetooth/BlueZ link operation.
pairing_timeout: DurationMaximum duration for the protected Frame-Out subscription. Unlike an ordinary GATT operation, this may include OS-mediated pairing and human PIN entry.
Trait Implementations§
Source§impl Clone for BleFrameLinkConfig
impl Clone for BleFrameLinkConfig
Source§fn clone(&self) -> BleFrameLinkConfig
fn clone(&self) -> BleFrameLinkConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BleFrameLinkConfig
impl Debug for BleFrameLinkConfig
Source§impl Default for BleFrameLinkConfig
Available on crate feature ble-radio only.
impl Default for BleFrameLinkConfig
Available on crate feature
ble-radio only.impl Copy for BleFrameLinkConfig
Auto Trait Implementations§
impl Freeze for BleFrameLinkConfig
impl RefUnwindSafe for BleFrameLinkConfig
impl Send for BleFrameLinkConfig
impl Sync for BleFrameLinkConfig
impl Unpin for BleFrameLinkConfig
impl UnwindSafe for BleFrameLinkConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)