pub enum CeremonyStateKind {
Initial,
Intermediate,
Terminal,
}Variants§
Implementations§
Source§impl CeremonyStateKind
impl CeremonyStateKind
pub fn is_initial(self) -> bool
pub fn is_terminal(self) -> bool
Trait Implementations§
Source§impl Clone for CeremonyStateKind
impl Clone for CeremonyStateKind
Source§fn clone(&self) -> CeremonyStateKind
fn clone(&self) -> CeremonyStateKind
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 CeremonyStateKind
Source§impl Debug for CeremonyStateKind
impl Debug for CeremonyStateKind
Source§impl<'de> Deserialize<'de> for CeremonyStateKind
impl<'de> Deserialize<'de> for CeremonyStateKind
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 CeremonyStateKind
Source§impl Hash for CeremonyStateKind
impl Hash for CeremonyStateKind
Source§impl Ord for CeremonyStateKind
impl Ord for CeremonyStateKind
Source§fn cmp(&self, other: &CeremonyStateKind) -> Ordering
fn cmp(&self, other: &CeremonyStateKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CeremonyStateKind
impl PartialEq for CeremonyStateKind
Source§impl PartialOrd for CeremonyStateKind
impl PartialOrd for CeremonyStateKind
Source§impl Serialize for CeremonyStateKind
impl Serialize for CeremonyStateKind
impl StructuralPartialEq for CeremonyStateKind
Auto Trait Implementations§
impl Freeze for CeremonyStateKind
impl RefUnwindSafe for CeremonyStateKind
impl Send for CeremonyStateKind
impl Sync for CeremonyStateKind
impl Unpin for CeremonyStateKind
impl UnsafeUnpin for CeremonyStateKind
impl UnwindSafe for CeremonyStateKind
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