#[non_exhaustive]pub enum Stimulus {
Controlled {
setup_id: u8,
instance_id: u16,
ta: [u8; 6],
},
Ambient {
ta: [u8; 6],
},
Observed {
ta: [u8; 6],
dialog_token: u8,
},
}Expand description
What excited the channel that was measured.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Controlled
A sounding this network controls: an ESP-NOW exchange today, a negotiated 802.11bf
session later. setup_id names the measurement setup and instance_id the sounding
sequence within it.
Fields
Ambient
Ordinary traffic overheard on the channel, from transmitter ta.
Observed
Someone else’s sounding, observed without taking part: the NDP that followed an NDPA from
ta carrying dialog_token.
Trait Implementations§
impl Copy for Stimulus
Source§impl<'de> Deserialize<'de> for Stimulus
impl<'de> Deserialize<'de> for Stimulus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Stimulus
Source§impl MaxSize for Stimulus
impl MaxSize for Stimulus
Source§const POSTCARD_MAX_SIZE: usize
const POSTCARD_MAX_SIZE: usize
The maximum possible size that the serialization of this
type can have, in bytes.
impl StructuralPartialEq for Stimulus
Auto Trait Implementations§
impl Freeze for Stimulus
impl RefUnwindSafe for Stimulus
impl Send for Stimulus
impl Sync for Stimulus
impl Unpin for Stimulus
impl UnsafeUnpin for Stimulus
impl UnwindSafe for Stimulus
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