pub enum CircleState {
Active,
Inactive,
Closing,
RotationRequired {
removed_members: Vec<String>,
},
ControlConflict {
branches: Vec<CircleControlCoord>,
},
Deleted,
}Expand description
The public derived state of one Circle. Mapped once from the internal current
state; Circles::list reports it per Circle.
Variants§
Active
A single resolved active-epoch control whose roster names only current Store members.
Inactive
The local identity holds no active access — never granted, or revoked by a removal it has not re-joined past.
Closing
An epoch close is in flight; new-content authoring under the old epoch is frozen until the successor activates.
RotationRequired
The resolved roster names Store identities that are no longer active Store members. New Circle content is refused until an Owner closes the epoch and activates a successor roster without them.
ControlConflict
The control history forked into concurrent valid successors awaiting Owner resolution. Carries the complete retained branch set.
Fields
branches: Vec<CircleControlCoord>Deleted
The control history terminated in an Owner-signed deletion.
Trait Implementations§
Source§impl Clone for CircleState
impl Clone for CircleState
Source§fn clone(&self) -> CircleState
fn clone(&self) -> CircleState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CircleState
impl Debug for CircleState
Source§impl PartialEq for CircleState
impl PartialEq for CircleState
impl Eq for CircleState
impl StructuralPartialEq for CircleState
Auto Trait Implementations§
impl Freeze for CircleState
impl RefUnwindSafe for CircleState
impl Send for CircleState
impl Sync for CircleState
impl Unpin for CircleState
impl UnsafeUnpin for CircleState
impl UnwindSafe for CircleState
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
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
§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
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more