pub struct SiteState {
pub locked: bool,
pub checking: bool,
pub pass_nonvacuous: bool,
pub pass_vacuous: bool,
pub fail: bool,
pub kills: u64,
}Expand description
A site’s control state.
Fields§
§locked: bool$assertlocked: every control task but unlock is ignored.
checking: boolNew attempts start / new reports are made ($asserton), as opposed to
$assertoff/$assertkill.
pass_nonvacuous: boolThe pass action of a nonvacuous success runs.
pass_vacuous: boolThe pass action of a vacuous success runs.
fail: boolThe fail action (the default $error included) runs.
kills: u64How many $assertkills have reached the site.
Implementations§
Trait Implementations§
impl Copy for SiteState
impl Eq for SiteState
impl StructuralPartialEq for SiteState
Auto Trait Implementations§
impl Freeze for SiteState
impl RefUnwindSafe for SiteState
impl Send for SiteState
impl Sync for SiteState
impl Unpin for SiteState
impl UnsafeUnpin for SiteState
impl UnwindSafe for SiteState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.