pub struct FtmReport<'a>(/* private fields */);Expand description
See WifiEvent.
Implementations§
Source§impl FtmReport<'_>
impl FtmReport<'_>
Sourcepub fn report_num_entries(&self) -> u8
pub fn report_num_entries(&self) -> u8
Get the number of entries in the FTM report data.
Sourcepub fn entries(&self) -> impl Iterator<Item = FtmReportEntry<'_>> + '_
pub fn entries(&self) -> impl Iterator<Item = FtmReportEntry<'_>> + '_
Returns an iterator over the detailed FTM report entries.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FtmReport<'a>
impl<'a> RefUnwindSafe for FtmReport<'a>
impl<'a> !Send for FtmReport<'a>
impl<'a> !Sync for FtmReport<'a>
impl<'a> Unpin for FtmReport<'a>
impl<'a> UnwindSafe for FtmReport<'a>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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)Source§impl<T> EventExt for Twhere
T: Event + 'static,
impl<T> EventExt for Twhere
T: Event + 'static,
Source§fn take_handler() -> Box<Handler<Self>>
fn take_handler() -> Box<Handler<Self>>
Available on crate feature
unstable only.Get the handler for this event, replacing it with the default handler.
Source§fn replace_handler<F: FnMut(&Self) + Sync + Send + 'static>(
f: F,
) -> Box<Handler<Self>>
fn replace_handler<F: FnMut(&Self) + Sync + Send + 'static>( f: F, ) -> Box<Handler<Self>>
Available on crate feature
unstable only.Set the handler for this event, returning the old handler.
Source§fn update_handler<F: FnMut(&Self) + Sync + Send + 'static>(f: F)
fn update_handler<F: FnMut(&Self) + Sync + Send + 'static>(f: F)
Available on crate feature
unstable only.Atomic combination of
Self::take_handler and
Self::replace_handler. Use this to add a new handler which runs
after the previously registered handlers.