pub enum Weight {
Routine,
Ordinary,
Interrupt,
}Expand description
How much of the person’s attention something is worth.
The axis is whether the person asked for it, not how loud it is. That is
what crate::policy::Notify thresholds on, and it is the distinction a
setting called how much the tool says without being asked has to be able
to make. A confirmation of something somebody just clicked is not chatter
however routine it looks, and silencing it would mean pressing a button and
getting nothing back.
Variants§
Routine
Happens on its own, with nobody waiting on it. A write-back is this. The only weight a threshold may drop.
Ordinary
The answer to something the person just did — a button pressed, a verb run — or a standing fact about the machine they should know once, like concept 10’s settings here are administered.
Interrupt
Worth being interrupted for. Concept 5.1’s content check earns this and says why: it fires close to never, and when it fires it means the content file is an executable wearing a document’s name.
Trait Implementations§
impl Copy for Weight
impl Eq for Weight
impl StructuralPartialEq for Weight
Auto Trait Implementations§
impl Freeze for Weight
impl RefUnwindSafe for Weight
impl Send for Weight
impl Sync for Weight
impl Unpin for Weight
impl UnsafeUnpin for Weight
impl UnwindSafe for Weight
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.