pub enum CommitValidationError {
Show 33 variants
InstalledState(Box<CommitValidationError>),
IdentityDependency(IdentityDependencyError),
IdentitySequenceNotBeforeEnvelope {
identity_sequence: u64,
envelope_sequence: u64,
},
ActorCouldNotBeFound,
InboxValidationFailed(String),
InsufficientPermissions,
InvalidVersionFormat(String),
ProtocolVersionTooLow(String),
ActorNotMember,
SubjectDoesNotExist,
MultipleActors,
MissingGroupMembership,
MissingMutableMetadata,
UnexpectedInstallationAdded(Vec<Vec<u8>>),
SequenceIdDecreased,
UnexpectedInstallationsRemoved(Vec<Vec<u8>>),
GroupMetadata(GroupMetadataError),
MlsCredential(BasicCredentialError),
GroupMutableMetadata(GroupMutableMetadataError),
ProtoDecode(DecodeError),
InstallationDiff(InstallationDiffError),
GroupMutablePermissions(GroupMutablePermissionsError),
NoPSKSupport,
UnsupportedProposalType(ProposalType),
StorageError(StorageError),
TooManyCharacters {
length: usize,
},
ProposerNotFound,
ProposalsNotEnabled,
MinVersionDowngrade {
requested: String,
current: String,
},
MinVersionRemoveOnExistingFloor {
current: String,
},
ComponentSource(ComponentSourceError),
Bootstrap(BootstrapValidationError),
Conversion(ConversionError),
}Variants§
InstalledState(Box<CommitValidationError>)
Committed local state could not be read. Repair or restore before retry.
IdentityDependency(IdentityDependencyError)
Resolve this proof outside the state transaction, then reload MLS state.
IdentitySequenceNotBeforeEnvelope
Identity updates must precede the group envelope. Not retryable.
Fields
ActorCouldNotBeFound
InboxValidationFailed(String)
InsufficientPermissions
InvalidVersionFormat(String)
ProtocolVersionTooLow(String)
ActorNotMember
SubjectDoesNotExist
MultipleActors
MissingGroupMembership
MissingMutableMetadata
UnexpectedInstallationAdded(Vec<Vec<u8>>)
SequenceIdDecreased
UnexpectedInstallationsRemoved(Vec<Vec<u8>>)
GroupMetadata(GroupMetadataError)
MlsCredential(BasicCredentialError)
GroupMutableMetadata(GroupMutableMetadataError)
ProtoDecode(DecodeError)
InstallationDiff(InstallationDiffError)
GroupMutablePermissions(GroupMutablePermissionsError)
NoPSKSupport
UnsupportedProposalType(ProposalType)
StorageError(StorageError)
TooManyCharacters
ProposerNotFound
ProposalsNotEnabled
MinVersionDowngrade
Sender published an AppDataUpdate(Update) against
MIN_SUPPORTED_PROTOCOL_VERSION whose new value is below the
existing floor. Monotonic-only: a downgrade silently unpauses
peers between the new and old floors, defeating XIP §3’s gate.
MinVersionRemoveOnExistingFloor
Sender published an AppDataUpdate(Remove) against
MIN_SUPPORTED_PROTOCOL_VERSION on a group that already has a
floor set. Explicit unsetting is just a downgrade in disguise,
rejected for the same XIP §3 reason.
ComponentSource(ComponentSourceError)
A well-known component value in the AppData dictionary failed
to decode while validating an AppDataUpdate proposal — most
commonly a malformed COMPONENT_REGISTRY. Treated as a
terminal wire-format violation so the offending commit is
rejected rather than silently downgraded to “empty registry”
(which would let a permissive validator state slip in).
Bootstrap(BootstrapValidationError)
All bootstrap-commit-validator failures. The bootstrap path runs only during the one-time AppData migration; isolating its many failure modes in a sub-enum keeps the steady-state validator’s surface from being dominated by migration-specific noise.
Conversion(ConversionError)
Trait Implementations§
Source§impl Debug for CommitValidationError
impl Debug for CommitValidationError
Source§impl Display for CommitValidationError
impl Display for CommitValidationError
Source§impl Error for CommitValidationError
impl Error for CommitValidationError
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 From<BasicCredentialError> for CommitValidationError
impl From<BasicCredentialError> for CommitValidationError
Source§impl From<CommitValidationError> for GroupError
impl From<CommitValidationError> for GroupError
Source§fn from(source: CommitValidationError) -> Self
fn from(source: CommitValidationError) -> Self
Source§impl From<ComponentSourceError> for CommitValidationError
impl From<ComponentSourceError> for CommitValidationError
Source§fn from(source: ComponentSourceError) -> Self
fn from(source: ComponentSourceError) -> Self
Source§impl From<ConversionError> for CommitValidationError
impl From<ConversionError> for CommitValidationError
Source§fn from(source: ConversionError) -> Self
fn from(source: ConversionError) -> Self
Source§impl From<DecodeError> for CommitValidationError
impl From<DecodeError> for CommitValidationError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Source§impl From<GroupMetadataError> for CommitValidationError
impl From<GroupMetadataError> for CommitValidationError
Source§fn from(source: GroupMetadataError) -> Self
fn from(source: GroupMetadataError) -> Self
Source§impl From<GroupMutableMetadataError> for CommitValidationError
impl From<GroupMutableMetadataError> for CommitValidationError
Source§fn from(source: GroupMutableMetadataError) -> Self
fn from(source: GroupMutableMetadataError) -> Self
Source§impl From<GroupMutablePermissionsError> for CommitValidationError
impl From<GroupMutablePermissionsError> for CommitValidationError
Source§fn from(source: GroupMutablePermissionsError) -> Self
fn from(source: GroupMutablePermissionsError) -> Self
Source§impl From<IdentityDependencyError> for CommitValidationError
impl From<IdentityDependencyError> for CommitValidationError
Source§fn from(source: IdentityDependencyError) -> Self
fn from(source: IdentityDependencyError) -> Self
Source§impl From<InstallationDiffError> for CommitValidationError
impl From<InstallationDiffError> for CommitValidationError
Source§fn from(source: InstallationDiffError) -> Self
fn from(source: InstallationDiffError) -> Self
Source§impl From<StorageError> for CommitValidationError
impl From<StorageError> for CommitValidationError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Source§impl NeedsDbReconnect for CommitValidationError
impl NeedsDbReconnect for CommitValidationError
fn needs_db_reconnect(&self) -> bool
Source§impl RetryableError for CommitValidationError
impl RetryableError for CommitValidationError
fn is_retryable(&self) -> bool
Auto Trait Implementations§
impl Freeze for CommitValidationError
impl !RefUnwindSafe for CommitValidationError
impl Send for CommitValidationError
impl Sync for CommitValidationError
impl Unpin for CommitValidationError
impl UnsafeUnpin for CommitValidationError
impl !UnwindSafe for CommitValidationError
Blanket Implementations§
§impl<T> AggregateExpressionMethods for T
impl<T> AggregateExpressionMethods for T
§fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
DISTINCT modifier for aggregate functions Read more§fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
ALL modifier for aggregate functions Read more§fn aggregate_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
fn aggregate_filter<P>(self, f: P) -> Self::Outputwhere
P: AsExpression<Bool>,
Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,
§fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<T> IntoSql for T
impl<T> IntoSql for T
§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].Source§impl<TraitVariantBlanketType> LocalNeedsDbReconnect for TraitVariantBlanketTypewhere
TraitVariantBlanketType: NeedsDbReconnect,
impl<TraitVariantBlanketType> LocalNeedsDbReconnect for TraitVariantBlanketTypewhere
TraitVariantBlanketType: NeedsDbReconnect,
fn needs_db_reconnect(&self) -> bool
§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read more