pub enum MembershipRefusal {
Show 27 variants
HolderUnverified,
HolderKindUnknown,
HolderMalformed,
AuthorityMissing,
NotReady,
Unavailable {
cause: String,
},
Gap {
after: u64,
missing: u64,
},
Reset,
ResumePending,
ChangeApplying,
LogMismatch,
ContractUnsupported {
contract: u32,
},
AnswerSubstituted,
RevisionStale {
required: u64,
decided: Option<u64>,
},
ScopeOutsideMapping,
Refused {
refusal: String,
},
Held {
mode: Mode,
},
CapacityExceeded {
limit: usize,
},
IndexPoisoned,
WorkspaceNotMapped,
ChannelNotMapped,
CursorForeign,
CursorStale,
PageOverBound {
rows: u64,
bytes: u64,
},
PageForeignRow,
PageDuplicateRow,
PageInconsistent,
}Expand description
Why a protected act, delivery or page was refused.
Every variant has a
stable Self::name; none carries a payload, a credential, a resource
id or a channel name, so a refusal can cross any boundary whole.
Variants§
HolderUnverified
The connection proved no Lys holder, so it has no membership.
HolderKindUnknown
The admitted pass did not name its holder’s directory kind.
HolderMalformed
The verified holder’s id or kind is empty or carries control characters.
AuthorityMissing
No ACCESS-005 grant authority is installed, so no membership is current.
NotReady
The grant authority has not established its verified baseline.
The grant authority or the provider could not be asked, by cause.
Gap
The grant authority’s change feed has an uncovered interval.
Fields
Reset
The grant log was reset; its revisions no longer compare.
ResumePending
The authority moved to a generation this index has not yet resumed.
ChangeApplying
A change or a resume is re-deciding this binding.
LogMismatch
The answer or the authority names another grant log or epoch.
ContractUnsupported
The provider answered under a contract this liminal does not speak.
AnswerSubstituted
The answer echoes a request other than the one asked: a substituted subject, resource, workspace or action.
RevisionStale
The answer reflects an older revision than the one required.
Fields
ScopeOutsideMapping
The allowing scope is neither the mapped channel nor its workspace.
Refused
Lys refused the membership by its stable name.
Held
A grant reaches the act, but only by approval.
CapacityExceeded
The index is at its configured bound; nothing was allocated.
IndexPoisoned
The index lock was poisoned by a panic elsewhere.
WorkspaceNotMapped
The workspace asked about is not in the product mapping.
ChannelNotMapped
The channel asked about is not in the product mapping.
CursorForeign
The continuation was issued for another question.
CursorStale
The continuation was issued at another generation or log epoch.
PageOverBound
A page exceeded its row or byte bound.
PageForeignRow
A page row answers another subject, kind, resource or workspace.
PageDuplicateRow
A page listed one row twice.
PageInconsistent
A page’s counts, completion and continuation disagree.
Implementations§
Trait Implementations§
Source§impl Clone for MembershipRefusal
impl Clone for MembershipRefusal
Source§impl Debug for MembershipRefusal
impl Debug for MembershipRefusal
Source§impl Display for MembershipRefusal
impl Display for MembershipRefusal
impl Eq for MembershipRefusal
Source§impl Error for MembershipRefusal
impl Error for MembershipRefusal
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for MembershipRefusal
impl PartialEq for MembershipRefusal
impl StructuralPartialEq for MembershipRefusal
Auto Trait Implementations§
impl Freeze for MembershipRefusal
impl RefUnwindSafe for MembershipRefusal
impl Send for MembershipRefusal
impl Sync for MembershipRefusal
impl Unpin for MembershipRefusal
impl UnsafeUnpin for MembershipRefusal
impl UnwindSafe for MembershipRefusal
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.