pub struct DecayFlags {
pub pinned: bool,
pub authoritative: bool,
}Expand description
Runtime flags that suspend decay per spec §§ 7–8.
Fields§
§pinned: boolAgent-invokable pin — effective = stored.
Operator-declared authoritative — effective = stored and
distinct surfacing semantics at read time (see
read-protocol.md amendment).
Implementations§
Source§impl DecayFlags
impl DecayFlags
Sourcepub const fn suspends_decay(self) -> bool
pub const fn suspends_decay(self) -> bool
true if either flag suspends decay.
Trait Implementations§
Source§impl Clone for DecayFlags
impl Clone for DecayFlags
Source§fn clone(&self) -> DecayFlags
fn clone(&self) -> DecayFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecayFlags
impl Debug for DecayFlags
Source§impl Default for DecayFlags
impl Default for DecayFlags
Source§fn default() -> DecayFlags
fn default() -> DecayFlags
Returns the “default value” for a type. Read more
Source§impl PartialEq for DecayFlags
impl PartialEq for DecayFlags
impl Copy for DecayFlags
impl Eq for DecayFlags
impl StructuralPartialEq for DecayFlags
Auto Trait Implementations§
impl Freeze for DecayFlags
impl RefUnwindSafe for DecayFlags
impl Send for DecayFlags
impl Sync for DecayFlags
impl Unpin for DecayFlags
impl UnsafeUnpin for DecayFlags
impl UnwindSafe for DecayFlags
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
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
Compare self to
key and return true if they are equal.