pub enum GroupAppDataError<StorageError: Error> {
Propose(ProposalError<StorageError>),
CreateCommit(CreateCommitError),
StageCommit(CommitBuilderStageError<StorageError>),
ApplyPayload(ComponentSourceError),
Upkeep(Box<GroupError>),
}Expand description
Errors surfaced by [stage_app_data_propose_and_commit].
Wrapped into GroupError via the #[from] impl on
GroupError::AppDataCommit so the structured source is preserved at
the call site (no string-flattening). The pub(crate) visibility
matches the helper itself; the variant is only re-exported through
the public GroupError enum.
Variants§
Propose(ProposalError<StorageError>)
propose_app_data_update(…) failed when staging the standalone
proposal that precedes the commit.
CreateCommit(CreateCommitError)
commit_builder().load_psks(…).build(…) failed.
StageCommit(CommitBuilderStageError<StorageError>)
stage_commit(provider) failed (storage / signature / staging error).
ApplyPayload(ComponentSourceError)
apply_app_data_update_payload failed while pre-computing the new
dict value the commit builder hands to OpenMLS. The most common
cause is a mismatch between the sender’s idea of the current dict
state and the receiver’s, which would surface as a confirmation
tag mismatch on the wire if it ever escaped.
Upkeep(Box<GroupError>)
Computing the removed-member cleanup for a swept removal failed, or the commit would grow the dictionary past its total.
Trait Implementations§
Source§impl<StorageError: Error> Display for GroupAppDataError<StorageError>
impl<StorageError: Error> Display for GroupAppDataError<StorageError>
Source§impl<StorageError: Error> Error for GroupAppDataError<StorageError>
impl<StorageError: Error> Error for GroupAppDataError<StorageError>
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<StorageError: Error> From<CommitBuilderStageError<StorageError>> for GroupAppDataError<StorageError>
impl<StorageError: Error> From<CommitBuilderStageError<StorageError>> for GroupAppDataError<StorageError>
Source§impl<StorageError: Error> From<ComponentSourceError> for GroupAppDataError<StorageError>
impl<StorageError: Error> From<ComponentSourceError> for GroupAppDataError<StorageError>
Source§fn from(source: ComponentSourceError) -> Self
fn from(source: ComponentSourceError) -> Self
Source§impl<StorageError: Error> From<CreateCommitError> for GroupAppDataError<StorageError>
impl<StorageError: Error> From<CreateCommitError> for GroupAppDataError<StorageError>
Source§impl From<GroupAppDataError<SqlKeyStoreError>> for GroupError
impl From<GroupAppDataError<SqlKeyStoreError>> for GroupError
Source§fn from(source: GroupAppDataError<SqlKeyStoreError>) -> Self
fn from(source: GroupAppDataError<SqlKeyStoreError>) -> Self
Source§impl<StorageError: Error> From<ProposalError<StorageError>> for GroupAppDataError<StorageError>
impl<StorageError: Error> From<ProposalError<StorageError>> for GroupAppDataError<StorageError>
Source§impl RetryableError for GroupAppDataError<SqlKeyStoreError>
impl RetryableError for GroupAppDataError<SqlKeyStoreError>
fn is_retryable(&self) -> bool
§fn rate_limit_delay(&self) -> Option<Duration>
fn rate_limit_delay(&self) -> Option<Duration>
retry_async!] never retries sooner.Auto Trait Implementations§
impl<StorageError> Freeze for GroupAppDataError<StorageError>where
StorageError: Freeze,
impl<StorageError> !RefUnwindSafe for GroupAppDataError<StorageError>
impl<StorageError> Send for GroupAppDataError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for GroupAppDataError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for GroupAppDataError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnsafeUnpin for GroupAppDataError<StorageError>where
StorageError: UnsafeUnpin,
impl<StorageError> !UnwindSafe for GroupAppDataError<StorageError>
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>
§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§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].