pub struct ControllerState(/* private fields */);Implementations§
Source§impl ControllerState
impl ControllerState
pub const fn new() -> Self
Sourcepub fn invalidate_advertising(&self)
pub fn invalidate_advertising(&self)
A pairing-boundary transition invalidates an in-flight configuration. Only rebuilding the host, with a fresh advertising address, clears it.
pub fn failed(&self) -> bool
pub fn fail(&self)
Sourcepub fn runner_exited(&self)
pub fn runner_exited(&self)
Transport/runner exits request reconstruction, not a privacy lockout. A privacy failure remains latched even if the runner subsequently exits.
pub fn needs_recovery(&self) -> bool
Sourcepub async fn wait_for_privacy(&self) -> bool
pub async fn wait_for_privacy(&self) -> bool
Trouble publishes its generic initialized flag before syncing privacy. Do not request an advertising operation until that sync has completed: an already active operation can make the host skip resolving-list sync.
Sourcepub fn notification(&self, handle: u16, final_reply: bool)
pub fn notification(&self, handle: u16, final_reply: bool)
Count every firmware notification, before enqueueing it. The ordinal distinguishes even byte-identical earlier responses still in the queue.
pub fn fence_done(&self) -> bool
pub fn link_failed(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ControllerState
impl !RefUnwindSafe for ControllerState
impl Send for ControllerState
impl Sync for ControllerState
impl Unpin for ControllerState
impl UnwindSafe for ControllerState
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