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>>,
/* private fields */
}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>>Optional.
bssid: Option<[u8; 6]>Optional.
min_rssi_threshold: Option<i8>Optional. Minimum RSSI threshold to be applied to all BSSs.
relative_rssi_threshold: Option<i8>Optional. RSSI value delta, relative to the current connected BSS’s RSSI to satisfy the match set. May be negative (i.e. -5 dB would require an observed BSS’s RSSI to be no less than the current RSSI - 5 dB). If not currently connected, this field is ignored.
band_rssi_adjustments: Option<Vec<BandRssiAdjustment>>Optional. RSSI band adjustments to make to observed RSSI values before comparing to the minimum and relative RSSI thresholds.
Trait Implementations§
Source§impl Clone for ScheduledScanMatchSet
impl Clone for ScheduledScanMatchSet
Source§impl Debug for ScheduledScanMatchSet
impl Debug for ScheduledScanMatchSet
Source§impl<D: ResourceDialect> Decode<ScheduledScanMatchSet, D> for ScheduledScanMatchSet
impl<D: ResourceDialect> Decode<ScheduledScanMatchSet, D> for ScheduledScanMatchSet
Source§impl Default for ScheduledScanMatchSet
impl Default for ScheduledScanMatchSet
Source§impl<D: ResourceDialect> Encode<ScheduledScanMatchSet, D> for &ScheduledScanMatchSet
impl<D: ResourceDialect> Encode<ScheduledScanMatchSet, D> for &ScheduledScanMatchSet
Source§impl PartialEq for ScheduledScanMatchSet
impl PartialEq for ScheduledScanMatchSet
impl Persistable for ScheduledScanMatchSet
impl StructuralPartialEq for ScheduledScanMatchSet
Source§impl TypeMarker for ScheduledScanMatchSet
impl TypeMarker for ScheduledScanMatchSet
Source§type Owned = ScheduledScanMatchSet
type Owned = ScheduledScanMatchSet
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for ScheduledScanMatchSet
impl ValueTypeMarker for ScheduledScanMatchSet
Source§type Borrowed<'a> = &'a ScheduledScanMatchSet
type Borrowed<'a> = &'a ScheduledScanMatchSet
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read more