#[non_exhaustive]pub enum Reporting {
OnChange,
Quieter,
ChangesOmitted,
}Expand description
How often an attribute’s value may be reported (§7.7.8, §7.12).
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.
OnChange
Reported on every change — the ordinary case.
Quieter
Q — Quieter Reporting: “Changes to the value under conditions other than those
specified in the attribute description SHOULD NOT be reported.” The conditions are
prose per attribute, so the policy lives with the cluster, not here.
ChangesOmitted
C — changes are omitted entirely; a client must poll.
Trait Implementations§
impl Copy for Reporting
impl Eq for Reporting
impl StructuralPartialEq for Reporting
Auto Trait Implementations§
impl Forget for Reporting
impl Freeze for Reporting
impl Move for Reporting
impl RefUnwindSafe for Reporting
impl Send for Reporting
impl Sync for Reporting
impl Unpin for Reporting
impl UnsafeUnpin for Reporting
impl UnwindSafe for Reporting
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