pub struct ScheduledScanMatchSet {
pub ssid: Option<Vec<u8>>,
pub bssid: Option<[u8; 6]>,
pub min_rssi_threshold: Option<i8>,
pub relative_rssi_threshold: Option<i8>,
pub band_rssi_adjustments: Option<Vec<BandRssiAdjustment>>,
}Expand description
A nested set of attributes to match during scheduled scans. A BSS must meet ALL of the present criteria in the match set to be considered a match.
Since not all hardware supports matching all types of attributes, there is no guarantee that the reported BSSs are fully compliant with the match sets. A driver may return EINVAL if it cannot support a match set, or may ignore the match criteria.
Fields§
§ssid: Option<Vec<u8>>§bssid: Option<[u8; 6]>§min_rssi_threshold: Option<i8>§relative_rssi_threshold: Option<i8>§band_rssi_adjustments: Option<Vec<BandRssiAdjustment>>Trait Implementations§
Source§impl Clone for ScheduledScanMatchSet
impl Clone for ScheduledScanMatchSet
Source§fn clone(&self) -> ScheduledScanMatchSet
fn clone(&self) -> ScheduledScanMatchSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScheduledScanMatchSet
impl Debug for ScheduledScanMatchSet
Source§impl Default for ScheduledScanMatchSet
impl Default for ScheduledScanMatchSet
Source§fn default() -> ScheduledScanMatchSet
fn default() -> ScheduledScanMatchSet
Returns the “default value” for a type. Read more
Source§impl<'a, ___E> Encode<ScheduledScanMatchSet<'static>, ___E> for &'a ScheduledScanMatchSetwhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<ScheduledScanMatchSet<'static>, ___E> for &'a ScheduledScanMatchSetwhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ScheduledScanMatchSet<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ScheduledScanMatchSet<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<ScheduledScanMatchSet<'static>, ___E> for ScheduledScanMatchSetwhere
___E: Encoder + ?Sized,
impl<___E> Encode<ScheduledScanMatchSet<'static>, ___E> for ScheduledScanMatchSetwhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<ScheduledScanMatchSet<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<ScheduledScanMatchSet<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<ScheduledScanMatchSet<'de>> for ScheduledScanMatchSet
impl<'de> FromWire<ScheduledScanMatchSet<'de>> for ScheduledScanMatchSet
Source§fn from_wire(wire_: ScheduledScanMatchSet<'de>) -> ScheduledScanMatchSet
fn from_wire(wire_: ScheduledScanMatchSet<'de>) -> ScheduledScanMatchSet
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<ScheduledScanMatchSet<'de>> for ScheduledScanMatchSet
impl<'de> FromWireRef<ScheduledScanMatchSet<'de>> for ScheduledScanMatchSet
Source§fn from_wire_ref(wire: &ScheduledScanMatchSet<'de>) -> ScheduledScanMatchSet
fn from_wire_ref(wire: &ScheduledScanMatchSet<'de>) -> ScheduledScanMatchSet
Converts the given reference to this type.
Source§impl Hash for ScheduledScanMatchSet
impl Hash for ScheduledScanMatchSet
Source§impl Ord for ScheduledScanMatchSet
impl Ord for ScheduledScanMatchSet
Source§fn cmp(&self, other: &ScheduledScanMatchSet) -> Ordering
fn cmp(&self, other: &ScheduledScanMatchSet) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScheduledScanMatchSet
impl PartialEq for ScheduledScanMatchSet
Source§fn eq(&self, other: &ScheduledScanMatchSet) -> bool
fn eq(&self, other: &ScheduledScanMatchSet) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ScheduledScanMatchSet
impl PartialOrd for ScheduledScanMatchSet
impl Eq for ScheduledScanMatchSet
impl StructuralPartialEq for ScheduledScanMatchSet
Auto Trait Implementations§
impl Freeze for ScheduledScanMatchSet
impl RefUnwindSafe for ScheduledScanMatchSet
impl Send for ScheduledScanMatchSet
impl Sync for ScheduledScanMatchSet
impl Unpin for ScheduledScanMatchSet
impl UnsafeUnpin for ScheduledScanMatchSet
impl UnwindSafe for ScheduledScanMatchSet
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§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]