pub enum CircleRosterError {
Show 31 variants
Empty,
InvalidEntry(usize),
ContextMismatch {
index: usize,
},
InvalidFounderIdentity,
SignerIsNotOwner(String),
NotAMember(String),
PrunedAuthorStream,
SequenceExhausted {
current: u64,
},
Conflict,
MissingConflictHeads,
InvalidConflictResolution,
MissingCheckpointGrant {
grant: MembershipGrantId,
},
MissingCheckpointRetirementEvidence {
grant: MembershipGrantId,
},
CausalEmpty,
CausalConflictingSequence {
stream: CircleAuthorStreamKey,
seq: u64,
},
CausalMissingSequence {
stream: CircleAuthorStreamKey,
seq: u64,
},
CausalBrokenStreamLink {
index: usize,
expected: Option<ObjectHash>,
actual: Option<ObjectHash>,
},
CausalMissingOwnDependency {
index: usize,
},
CausalDependencyStreamMismatch {
index: usize,
},
CausalMissingDependency {
index: usize,
dependency: CircleRosterCoord,
},
CausalDependencyCycle,
CausalInvalidFounder,
CausalAuthorGrantInactive {
index: usize,
grant: MembershipGrantId,
},
CausalDuplicateGrant {
index: usize,
grant: MembershipGrantId,
},
CausalGrantOwnerMismatch {
index: usize,
grant: MembershipGrantId,
},
CausalGrantSetMismatch {
index: usize,
member_pubkey: String,
},
CausalEmptyRemoval {
index: usize,
},
CausalMissingOwnerRevocationBarrier {
index: usize,
grant: MembershipGrantId,
},
CausalInvalidOwnerRevocationBarrier {
index: usize,
grant: MembershipGrantId,
},
CausalNoActiveOwner,
RevocationCycleTooWide {
sources: usize,
maximum: usize,
},
}Variants§
Empty
InvalidEntry(usize)
ContextMismatch
InvalidFounderIdentity
SignerIsNotOwner(String)
NotAMember(String)
PrunedAuthorStream
SequenceExhausted
Conflict
MissingConflictHeads
InvalidConflictResolution
MissingCheckpointGrant
Fields
§
grant: MembershipGrantIdMissingCheckpointRetirementEvidence
Fields
§
grant: MembershipGrantIdCausalEmpty
CausalConflictingSequence
CausalMissingSequence
CausalBrokenStreamLink
CausalMissingOwnDependency
CausalDependencyStreamMismatch
CausalMissingDependency
CausalDependencyCycle
CausalInvalidFounder
CausalAuthorGrantInactive
CausalDuplicateGrant
CausalGrantOwnerMismatch
CausalGrantSetMismatch
CausalEmptyRemoval
CausalMissingOwnerRevocationBarrier
CausalInvalidOwnerRevocationBarrier
CausalNoActiveOwner
RevocationCycleTooWide
Trait Implementations§
Source§impl Clone for CircleRosterError
impl Clone for CircleRosterError
Source§fn clone(&self) -> CircleRosterError
fn clone(&self) -> CircleRosterError
Returns a duplicate 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 CircleRosterError
impl Debug for CircleRosterError
Source§impl Display for CircleRosterError
impl Display for CircleRosterError
Source§impl Error for CircleRosterError
impl Error for CircleRosterError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CircleRosterError> for CircleTransitionError
impl From<CircleRosterError> for CircleTransitionError
Source§fn from(source: CircleRosterError) -> Self
fn from(source: CircleRosterError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CircleRosterError
impl PartialEq for CircleRosterError
impl Eq for CircleRosterError
impl StructuralPartialEq for CircleRosterError
Auto Trait Implementations§
impl Freeze for CircleRosterError
impl RefUnwindSafe for CircleRosterError
impl Send for CircleRosterError
impl Sync for CircleRosterError
impl Unpin for CircleRosterError
impl UnsafeUnpin for CircleRosterError
impl UnwindSafe for CircleRosterError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.