pub enum GuardianPhase {
None,
Pending,
Reviewed,
}Expand description
Lifecycle phase of the current guardian review pass.
Variants§
None
No review is outstanding for the current terminal point.
Pending
A guardian child has been spawned and a verdict is awaited.
Reviewed
A verdict has been recorded for the current terminal point.
Implementations§
Source§impl GuardianPhase
impl GuardianPhase
pub fn as_str(self) -> &'static str
Sourcepub fn is_pending(self) -> bool
pub fn is_pending(self) -> bool
Whether a guardian child is currently in flight.
Sourcepub fn is_reviewed(self) -> bool
pub fn is_reviewed(self) -> bool
Whether a verdict has already been recorded for this pass.
Trait Implementations§
Source§impl Clone for GuardianPhase
impl Clone for GuardianPhase
Source§fn clone(&self) -> GuardianPhase
fn clone(&self) -> GuardianPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GuardianPhase
Source§impl Debug for GuardianPhase
impl Debug for GuardianPhase
Source§impl<'de> Deserialize<'de> for GuardianPhase
impl<'de> Deserialize<'de> for GuardianPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GuardianPhase
Source§impl PartialEq for GuardianPhase
impl PartialEq for GuardianPhase
Source§fn eq(&self, other: &GuardianPhase) -> bool
fn eq(&self, other: &GuardianPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GuardianPhase
impl Serialize for GuardianPhase
impl StructuralPartialEq for GuardianPhase
Auto Trait Implementations§
impl Freeze for GuardianPhase
impl RefUnwindSafe for GuardianPhase
impl Send for GuardianPhase
impl Sync for GuardianPhase
impl Unpin for GuardianPhase
impl UnsafeUnpin for GuardianPhase
impl UnwindSafe for GuardianPhase
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.