pub struct HistoricalListsByBssid<T: Timestamped>(/* private fields */);Expand description
Struct for map from BSSID to HistoricalList
Implementations§
Source§impl<T> HistoricalListsByBssid<T>where
T: Timestamped + Clone,
impl<T> HistoricalListsByBssid<T>where
T: Timestamped + Clone,
pub fn new() -> Self
pub fn add(&mut self, bssid: Bssid, data: T)
Sourcepub fn get_recent_for_network(&self, earliest_time: MonotonicInstant) -> Vec<T>
pub fn get_recent_for_network(&self, earliest_time: MonotonicInstant) -> Vec<T>
Retrieve list of Data entries to any BSS with a time more recent than earliest_time, sorted from oldest to newest. May be empty.
Sourcepub fn get_list_for_bss(&self, bssid: &Bssid) -> HistoricalList<T>
pub fn get_list_for_bss(&self, bssid: &Bssid) -> HistoricalList<T>
Retrieve List for a particular BSS, in order to retrieve BSS specific Data entries.
Trait Implementations§
Source§impl<T: Clone + Timestamped> Clone for HistoricalListsByBssid<T>
impl<T: Clone + Timestamped> Clone for HistoricalListsByBssid<T>
Source§fn clone(&self) -> HistoricalListsByBssid<T>
fn clone(&self) -> HistoricalListsByBssid<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug + Timestamped> Debug for HistoricalListsByBssid<T>
impl<T: Debug + Timestamped> Debug for HistoricalListsByBssid<T>
Source§impl<T> Default for HistoricalListsByBssid<T>where
T: Timestamped + Clone,
impl<T> Default for HistoricalListsByBssid<T>where
T: Timestamped + Clone,
Source§impl<T: PartialEq + Timestamped> PartialEq for HistoricalListsByBssid<T>
impl<T: PartialEq + Timestamped> PartialEq for HistoricalListsByBssid<T>
impl<T: Timestamped> StructuralPartialEq for HistoricalListsByBssid<T>
Auto Trait Implementations§
impl<T> Freeze for HistoricalListsByBssid<T>
impl<T> RefUnwindSafe for HistoricalListsByBssid<T>where
T: RefUnwindSafe,
impl<T> Send for HistoricalListsByBssid<T>where
T: Send,
impl<T> Sync for HistoricalListsByBssid<T>where
T: Sync,
impl<T> Unpin for HistoricalListsByBssid<T>where
T: Unpin,
impl<T> UnwindSafe for HistoricalListsByBssid<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more