pub struct IcdAdvertisement {
pub active_threshold_ms: u16,
pub slow_poll_ms: u32,
pub operating_mode: Option<IcdOperatingMode>,
pub idle_mode_duration_s: u32,
}Expand description
What an ICD advertises about itself, over DNS-SD and in the session parameters of its CASE / PASE handshakes - and what its subscriptions are paced by.
The ICD Management handler keeps Matter supplied with it
(see Matter::icd_advertisement); a node
that is not an ICD advertises none.
Fields§
§active_threshold_ms: u16The ActiveModeThreshold, in milliseconds: the advertised
SESSION_ACTIVE_THRESHOLD (SAT TXT key).
slow_poll_ms: u32The slow polling interval in effect, in milliseconds: what the device is
reachable within while idle, so the least SESSION_IDLE_INTERVAL
(SII TXT key) it may advertise.
operating_mode: Option<IcdOperatingMode>The current operating mode of a Long-Idle-Time-capable ICD: the ICD
TXT key (0 for SIT, 1 for LIT). None for a SIT-only ICD, which
has no ICD key.
idle_mode_duration_s: u32The idle mode duration, in seconds. Subscriptions to the device pick their max interval from it, so that their reports wake the device no more often than idle mode ends anyway.
Trait Implementations§
Source§impl Clone for IcdAdvertisement
impl Clone for IcdAdvertisement
impl Copy for IcdAdvertisement
Source§impl Debug for IcdAdvertisement
impl Debug for IcdAdvertisement
impl Eq for IcdAdvertisement
Source§impl Hash for IcdAdvertisement
impl Hash for IcdAdvertisement
Source§impl PartialEq for IcdAdvertisement
impl PartialEq for IcdAdvertisement
impl StructuralPartialEq for IcdAdvertisement
Auto Trait Implementations§
impl Forget for IcdAdvertisement
impl Freeze for IcdAdvertisement
impl Move for IcdAdvertisement
impl RefUnwindSafe for IcdAdvertisement
impl Send for IcdAdvertisement
impl Sync for IcdAdvertisement
impl Unpin for IcdAdvertisement
impl UnsafeUnpin for IcdAdvertisement
impl UnwindSafe for IcdAdvertisement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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