Enum race_api::random::RandomStatus
source · pub enum RandomStatus {
Ready,
Locking(String),
Masking(String),
WaitingSecrets,
Shared,
}Variants§
Trait Implementations§
source§impl BorshDeserialize for RandomStatuswhere
String: BorshDeserialize,
impl BorshDeserialize for RandomStatuswhere String: BorshDeserialize,
source§impl BorshSerialize for RandomStatuswhere
String: BorshSerialize,
impl BorshSerialize for RandomStatuswhere String: BorshSerialize,
source§impl Clone for RandomStatus
impl Clone for RandomStatus
source§fn clone(&self) -> RandomStatus
fn clone(&self) -> RandomStatus
Returns a copy 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 RandomStatus
impl Debug for RandomStatus
source§impl Default for RandomStatus
impl Default for RandomStatus
source§fn default() -> RandomStatus
fn default() -> RandomStatus
Returns the “default value” for a type. Read more
source§impl PartialEq<RandomStatus> for RandomStatus
impl PartialEq<RandomStatus> for RandomStatus
source§fn eq(&self, other: &RandomStatus) -> bool
fn eq(&self, other: &RandomStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RandomStatus
impl StructuralEq for RandomStatus
impl StructuralPartialEq for RandomStatus
Auto Trait Implementations§
impl RefUnwindSafe for RandomStatus
impl Send for RandomStatus
impl Sync for RandomStatus
impl Unpin for RandomStatus
impl UnwindSafe for RandomStatus
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