Enum race_client::OpIdent
source · pub enum OpIdent {
RandomSecret {
random_id: RandomId,
to_addr: Option<String>,
index: usize,
},
AnswerSecret {
decision_id: DecisionId,
},
Lock {
random_id: RandomId,
},
Mask {
random_id: RandomId,
},
}
Expand description
Operation Ident
Each event can be recorded as one or more idents, we save these idents to avoid duplicated submission.
Variants§
Trait Implementations§
source§impl Ord for OpIdent
impl Ord for OpIdent
source§impl PartialEq for OpIdent
impl PartialEq for OpIdent
source§impl PartialOrd for OpIdent
impl PartialOrd for OpIdent
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for OpIdent
impl StructuralEq for OpIdent
impl StructuralPartialEq for OpIdent
Auto Trait Implementations§
impl RefUnwindSafe for OpIdent
impl Send for OpIdent
impl Sync for OpIdent
impl Unpin for OpIdent
impl UnwindSafe for OpIdent
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