pub enum MembershipInvariantError {
TerminalIdentity,
TerminalGeneration,
CursorRegression,
}Expand description
Invalid durable membership/history combination.
Variants§
TerminalIdentity
Retained terminal names another participant or conversation.
TerminalGeneration
Retained terminal belongs to a generation newer than the current credential.
CursorRegression
A rotation asked for a cursor BELOW the one this member already holds.
The cursor is a durable cumulative boundary: the records this participant has acknowledged are acknowledged, and a new generation of the same identity does not unacknowledge them. A rotation that lowered it would make the participant’s next cumulative acknowledgement read as a gap over records it had already accounted for, and a participant that then withholds acknowledgements is a seat that never comes back.
Trait Implementations§
Source§impl Clone for MembershipInvariantError
impl Clone for MembershipInvariantError
Source§fn clone(&self) -> MembershipInvariantError
fn clone(&self) -> MembershipInvariantError
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 MembershipInvariantError
Source§impl Debug for MembershipInvariantError
impl Debug for MembershipInvariantError
impl Eq for MembershipInvariantError
Source§impl PartialEq for MembershipInvariantError
impl PartialEq for MembershipInvariantError
impl StructuralPartialEq for MembershipInvariantError
Auto Trait Implementations§
impl Freeze for MembershipInvariantError
impl RefUnwindSafe for MembershipInvariantError
impl Send for MembershipInvariantError
impl Sync for MembershipInvariantError
impl Unpin for MembershipInvariantError
impl UnsafeUnpin for MembershipInvariantError
impl UnwindSafe for MembershipInvariantError
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