pub struct AdvertisementData {
pub interval_us: u64,
pub refresh_at_ms: Option<u64>,
pub advertising: [u8; 31],
pub advertising_len: usize,
pub scan_response: [u8; 31],
pub scan_response_len: usize,
}Fields§
§interval_us: u64Both controller interval bounds use the same pairing-policy snapshot as the payload, including when a pairing window opens or closes.
refresh_at_ms: Option<u64>Absolute boot uptime when this advertisement needs reconfiguration. Stack recreation must not extend the startup fast-advertising period.
advertising: [u8; 31]§advertising_len: usize§scan_response: [u8; 31]§scan_response_len: usizeAuto Trait Implementations§
impl Freeze for AdvertisementData
impl RefUnwindSafe for AdvertisementData
impl Send for AdvertisementData
impl Sync for AdvertisementData
impl Unpin for AdvertisementData
impl UnwindSafe for AdvertisementData
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