#[repr(C)]pub struct bt_le_per_adv_sync_state_info {
pub recv_enabled: bool,
}
Expand description
@brief Information about the state of periodic advertising sync.
@details This struct provides information about the current state of a periodic advertising sync. It indicates whether periodic advertising reception is enabled or not. It is typically used to report the state change via callbacks in the @ref bt_le_per_adv_sync_cb structure.
Fields§
§recv_enabled: bool
True if receiving periodic advertisements, false otherwise.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_le_per_adv_sync_state_info
impl RefUnwindSafe for bt_le_per_adv_sync_state_info
impl Send for bt_le_per_adv_sync_state_info
impl Sync for bt_le_per_adv_sync_state_info
impl Unpin for bt_le_per_adv_sync_state_info
impl UnwindSafe for bt_le_per_adv_sync_state_info
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