pub enum NoopReason {
Show 13 variants
UnknownAppMessage,
FastPathRejected,
BanTargetNotMember,
DecryptIgnored,
UnexpectedMlsType,
NoApprovedProposals,
AlreadyCommitted,
EmptyCandidatePayload,
EmptyStewardIdentity,
WireKindMismatch,
SelectionLocked,
StaleEpoch,
DuplicateBufferedHash,
}Expand description
Why a ProcessResult::Noop was returned. One variant per producer
site so the dispatch layer can match on the specific case.
Variants§
UnknownAppMessage
Decrypted application message had no recognized payload variant.
FastPathRejected
Fast-path proposal rejected: MLS sender doesn’t match the self-removal target.
BanTargetNotMember
Ban request dropped: target is not a conversation member.
DecryptIgnored
Decrypt returned Ignored (wrong epoch or wrong conversation).
UnexpectedMlsType
Decrypt returned a non-Application MLS payload on the app subtopic.
NoApprovedProposals
buffer_commit_candidate found no approved proposals to commit.
AlreadyCommitted
Commit hash matches a recent committed batch — duplicate broadcast.
EmptyCandidatePayload
Candidate carried an empty proposals or commit payload.
EmptyStewardIdentity
Candidate carried an empty steward_identity field.
WireKindMismatch
Candidate’s wire kind doesn’t match Proposal/Commit.
SelectionLocked
Freeze round selection is locked — the buffer no longer accepts candidates.
StaleEpoch
Caller’s epoch doesn’t match the buffered round’s epoch.
DuplicateBufferedHash
Identical commit hash is already buffered for this round.
Trait Implementations§
Source§impl Clone for NoopReason
impl Clone for NoopReason
Source§fn clone(&self) -> NoopReason
fn clone(&self) -> NoopReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NoopReason
impl Debug for NoopReason
Source§impl PartialEq for NoopReason
impl PartialEq for NoopReason
Source§fn eq(&self, other: &NoopReason) -> bool
fn eq(&self, other: &NoopReason) -> bool
self and other values to be equal, and is used by ==.impl Copy for NoopReason
impl Eq for NoopReason
impl StructuralPartialEq for NoopReason
Auto Trait Implementations§
impl Freeze for NoopReason
impl RefUnwindSafe for NoopReason
impl Send for NoopReason
impl Sync for NoopReason
impl Unpin for NoopReason
impl UnsafeUnpin for NoopReason
impl UnwindSafe for NoopReason
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,
Source§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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