Skip to main content

GroupError

Enum GroupError 

Source
pub enum GroupError {
Show 74 variants OutgoingPreparation(OutgoingPreparationError), NotFound(NotFound), UserLimitExceeded, MissingSequenceId, AddressNotFound(Vec<String>), WrappedApi(ApiError), InvalidGroupMembership, LeaveCantProcessed(GroupLeaveValidationError), Storage(StorageError), Intent(IntentError), CreateMessage(CreateMessageError), TlsError(Error), UpdateGroupMembership(UpdateGroupMembershipError<SqlKeyStoreError>), GroupCreate(NewGroupError<SqlKeyStoreError>), SelfUpdate(SelfUpdateError<SqlKeyStoreError>), WelcomeError(WelcomeError<SqlKeyStoreError>), InvalidExtension(InvalidExtensionError), Signature(SignatureError), Client(ClientError), ReceiveError(GroupMessageProcessingError), AddressValidation(IdentifierValidationError), LocalEvent(LocalEventError), InvalidPublicKeys(Vec<Vec<u8>>), CommitValidation(CommitValidationError), Identity(IdentityError), ConversionError(ConversionError), CryptoError(CryptoError), CreateGroupContextExtProposalError(CreateGroupContextExtProposalError<SqlKeyStoreError>), ProposeAddMember(ProposeAddMemberError<SqlKeyStoreError>), ProposeRemoveMember(ProposeRemoveMemberError<SqlKeyStoreError>), Proposal(ProposalError<SqlKeyStoreError>), CommitToPendingProposals(CommitToPendingProposalsError<SqlKeyStoreError>), MergePendingCommit(MergePendingCommitError<SqlKeyStoreError>), ProposalsNotSupported(String), MinVersionExceedsOwnVersion { requested: String, own: String, }, MinVersionDowngrade { requested: String, current: String, }, InvalidMinVersion { value: String, reason: String, }, ComponentSource(ComponentSourceError), AppDataCommit(GroupAppDataError<SqlKeyStoreError>), BootstrapSynthesis(BootstrapSynthesisError), BootstrapCommit(BootstrapCommitError<SqlKeyStoreError>), CredentialError(BasicCredentialError), LeafNodeError(LibraryError), InstallationDiff(InstallationDiffError), NoPSKSupport, SqlKeyStore(SqlKeyStoreError), SyncFailedToWait(Box<SyncSummary>), StreamBarrier(BarrierError), PublishedButUnconfirmed { intent_id: i32, cause: Option<Box<BarrierError>>, }, MissingPendingCommit, ProcessIntent(ProcessIntentError), LockUnavailable, TooManyCharacters { length: usize, }, AppDataSuperseded { expected: String, actual: String, }, GroupPausedUntilUpdate(String), GroupInactive, Sync(Box<SyncSummary>), Db(ConnectionError), MlsStore(MlsStoreError), MetadataPermissionsError(MetadataPermissionsError), FailedToVerifyInstallations(FailedInstallationIds), NoWelcomesToSend, CodecError(CodecError), WrapWelcome(WrapPayloadError), UnwrapWelcome(UnwrapPayloadError), WelcomeDataNotFound(String), WelcomeGroupPrefixPending { group_id: GroupId, anchor: u64, }, InvalidWelcomeMetadata, UnsupportedWelcomeVersion(String), UninitializedResult, Diesel(Error), UninitializedField(UninitializedFieldError), DeleteMessage(DeleteMessageError), DeviceSync(Box<DeviceSyncError>),
}

Variants§

§

OutgoingPreparation(OutgoingPreparationError)

§

NotFound(NotFound)

§

UserLimitExceeded

Max user limit exceeded.

Attempted to add too many members. Not retryable.

§

MissingSequenceId

Sequence ID not found.

No sequence ID for an inbox after an identity-update refresh — its registration hasn’t propagated yet. Retryable.

§

AddressNotFound(Vec<String>)

Addresses not found.

Specified addresses have no XMTP identity. Not retryable.

§

WrappedApi(ApiError)

API error.

Network request failed. Retryable.

§

InvalidGroupMembership

Invalid group membership.

Group membership state is invalid. Not retryable.

§

LeaveCantProcessed(GroupLeaveValidationError)

Leave cannot be processed.

Group leave validation failed. Not retryable.

§

Storage(StorageError)

Storage error.

Database operation failed. May be retryable.

§

Intent(IntentError)

Intent error.

Failed to process group intent. Not retryable.

§

CreateMessage(CreateMessageError)

Create message error.

MLS message creation failed. Not retryable.

§

TlsError(Error)

TLS codec error.

MLS TLS encoding/decoding failed. Not retryable.

§

UpdateGroupMembership(UpdateGroupMembershipError<SqlKeyStoreError>)

Update group membership error.

Failed to update group membership. May be retryable.

§

GroupCreate(NewGroupError<SqlKeyStoreError>)

Group create error.

MLS group creation failed. May be retryable.

§

SelfUpdate(SelfUpdateError<SqlKeyStoreError>)

Self update error.

MLS self-update operation failed. May be retryable.

§

WelcomeError(WelcomeError<SqlKeyStoreError>)

Welcome error.

Processing MLS welcome message failed. May be retryable.

§

InvalidExtension(InvalidExtensionError)

Invalid extension.

MLS extension validation failed. Not retryable.

§

Signature(SignatureError)

Invalid signature.

MLS signature verification failed. Not retryable.

§

Client(ClientError)

Client error.

Client operation failed within group. May be retryable.

§

ReceiveError(GroupMessageProcessingError)

Receive error.

Processing received group message failed. May be retryable.

§

AddressValidation(IdentifierValidationError)

Address validation error.

An address/identifier is invalid. Not retryable.

§

LocalEvent(LocalEventError)

Local event error.

Failed to process local event. Not retryable.

§

InvalidPublicKeys(Vec<Vec<u8>>)

Invalid public keys.

Keys are not valid Ed25519 public keys. Not retryable.

§

CommitValidation(CommitValidationError)

Commit validation error.

MLS commit validation failed. May be retryable.

§

Identity(IdentityError)

Identity error.

Identity operation failed. Not retryable.

§

ConversionError(ConversionError)

Conversion error.

Proto conversion failed. Not retryable.

§

CryptoError(CryptoError)

Crypto error.

Cryptographic operation failed. Not retryable.

§

CreateGroupContextExtProposalError(CreateGroupContextExtProposalError<SqlKeyStoreError>)

Group context proposal error.

Failed to create group context extension proposal. May be retryable.

§

ProposeAddMember(ProposeAddMemberError<SqlKeyStoreError>)

Propose add member error.

Failed to create an add-member proposal. May be retryable.

§

ProposeRemoveMember(ProposeRemoveMemberError<SqlKeyStoreError>)

Propose remove member error.

Failed to create a remove-member proposal. May be retryable.

§

Proposal(ProposalError<SqlKeyStoreError>)

Proposal error.

Generic MLS proposal creation/handling failure. May be retryable.

§

CommitToPendingProposals(CommitToPendingProposalsError<SqlKeyStoreError>)

Commit to pending proposals error.

Failed to commit pending proposals into an MLS commit. May be retryable.

§

MergePendingCommit(MergePendingCommitError<SqlKeyStoreError>)

Merge pending commit error.

Failed to merge a pending commit into local state. May be retryable.

§

ProposalsNotSupported(String)

Proposals not supported.

Encountered a proposal when our client does not support proposals. Not retryable.

§

MinVersionExceedsOwnVersion

Caller asked to set MIN_SUPPORTED_PROTOCOL_VERSION to a value the caller’s own client does not satisfy. Refusing prevents the caller from immediately pausing themselves (and every peer at or below their version) the moment the bump lands. Not retryable.

Fields

§requested: String
§

MinVersionDowngrade

Caller asked to lower MIN_SUPPORTED_PROTOCOL_VERSION below the floor already on the group. Monotonic-only: a downgrade would silently unpause peers between the old and new floors, defeating the gate. Not retryable.

Fields

§requested: String
§current: String
§

InvalidMinVersion

Caller passed a min_version string that doesn’t parse as semver. Surfaces from the send-side paths (enable_proposals, update_group_min_version) so SDK consumers can match-handle malformed input without parsing string-flattened wrappers. Not retryable.

Fields

§value: String
§reason: String
§

ComponentSource(ComponentSourceError)

Component source error.

Failed to encode, decode, or look up a well-known component during the AppDataUpdate path. Not retryable.

§

AppDataCommit(GroupAppDataError<SqlKeyStoreError>)

AppData commit error.

Failed to build or stage a commit that bundles an inline AppDataUpdate proposal. Wraps the structured GroupAppDataError from stage_app_data_propose_and_commit so the underlying OpenMLS create/stage failure is preserved instead of being string-flattened.

§

BootstrapSynthesis(BootstrapSynthesisError)

Bootstrap synthesis failure — sender-side couldn’t build the complete set of initial component values for the migration commit. Includes identity-update lookup failures.

Conditionally retryable: delegates to the wrapped super::app_data::migration::BootstrapSynthesisError, which retries only when an inner identity-update API error is itself retryable. Decode/registry-shape failures are deterministic and not retryable.

§

BootstrapCommit(BootstrapCommitError<SqlKeyStoreError>)

Bootstrap commit-build failure.

Not retryable: every variant of super::app_data::migration::BootstrapCommitError is a deterministic OpenMLS commit failure, a TLS codec error, or a caller-side precondition violation.

§

CredentialError(BasicCredentialError)

Credential error.

MLS credential validation failed. Not retryable.

§

LeafNodeError(LibraryError)

Leaf node error.

MLS leaf node operation failed. Not retryable.

§

InstallationDiff(InstallationDiffError)

Installation diff error.

Installation diff computation failed. May be retryable.

§

NoPSKSupport

No PSK support.

Pre-shared keys are not supported. Not retryable.

§

SqlKeyStore(SqlKeyStoreError)

SQL key store error.

OpenMLS key store operation failed. May be retryable.

§

SyncFailedToWait(Box<SyncSummary>)

Sync failed to wait.

Waiting for intent sync failed. Retryable.

§

StreamBarrier(BarrierError)

Durable processing did not meet the fixed network targets. May be retryable.

§

PublishedButUnconfirmed

The exact published attempt remains pending. A later call can confirm it. Retryable.

Fields

§intent_id: i32
§

MissingPendingCommit

Missing pending commit.

Expected pending commit not found. Not retryable.

§

ProcessIntent(ProcessIntentError)

Process intent error.

Failed to process group intent. May be retryable.

§

LockUnavailable

Failed to load lock.

Concurrency lock acquisition failed. Retryable.

§

TooManyCharacters

Exceeded max characters.

Field value exceeds character limit. Not retryable.

Fields

§length: usize
§

AppDataSuperseded

A guarded metadata update was abandoned because another member changed the field first.

Not retryable as-is: the value was derived from state that no longer exists. Re-derive it from actual and queue a new update. Distinct from a sync failure — nothing went wrong, the write is just stale.

Fields

§expected: String
§actual: String
§

GroupPausedUntilUpdate(String)

Group paused until update.

Group is paused until a newer version is available. Not retryable.

§

GroupInactive

Group is inactive.

Operation on an inactive group. Not retryable.

§

Sync(Box<SyncSummary>)

Sync summary.

Sync operation completed with errors. May be retryable.

§

Db(ConnectionError)

Database connection error.

Database connection failed. Retryable.

§

MlsStore(MlsStoreError)

MLS store error.

OpenMLS key store failed. Not retryable.

§

MetadataPermissionsError(MetadataPermissionsError)

Metadata permissions error.

Metadata permission check failed. Not retryable.

§

FailedToVerifyInstallations(FailedInstallationIds)

Failed to verify installations.

Installation verification failed. Not retryable.

§

NoWelcomesToSend

No welcomes to send.

No welcome messages to send to new members. Not retryable.

§

CodecError(CodecError)

Codec error.

Content type codec failed. Retryable.

§

WrapWelcome(WrapPayloadError)

Wrap welcome error.

Failed to wrap welcome message. Not retryable.

§

UnwrapWelcome(UnwrapPayloadError)

Unwrap welcome error.

Failed to unwrap welcome message. Not retryable.

§

WelcomeDataNotFound(String)

Welcome data not found.

Welcome data missing from topic. Not retryable.

§

WelcomeGroupPrefixPending

The old group must process its ordered prefix before this Welcome can install. Retryable.

Fields

§group_id: GroupId
§anchor: u64
§

InvalidWelcomeMetadata

The Welcome has missing, malformed, or out-of-range join metadata. Not retryable.

§

UnsupportedWelcomeVersion(String)

The Welcome needs a newer client. Keep it blocked until upgrade. Retryable.

§

UninitializedResult

Result not initialized.

Expected result was not initialized. Not retryable.

§

Diesel(Error)

Diesel ORM error.

Raw database query failed. May be retryable.

§

UninitializedField(UninitializedFieldError)

Uninitialized field.

Builder field not initialized. Not retryable.

§

DeleteMessage(DeleteMessageError)

Delete message error.

Failed to delete message. Not retryable.

§

DeviceSync(Box<DeviceSyncError>)

Device sync error.

Device sync operation failed. May be retryable.

Trait Implementations§

Source§

impl Debug for GroupError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for GroupError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for GroupError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl ErrorCode for GroupError

Source§

fn error_code(&self) -> &'static str

Returns the unique error code for this error. Read more
Source§

impl From<ApiError> for GroupError

Source§

fn from(source: ApiError) -> Self

Converts to this type from the input type.
Source§

impl From<BarrierError> for GroupError

Source§

fn from(source: BarrierError) -> Self

Converts to this type from the input type.
Source§

impl From<BasicCredentialError> for GroupError

Source§

fn from(source: BasicCredentialError) -> Self

Converts to this type from the input type.
Source§

impl From<BootstrapCommitError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: BootstrapCommitError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<BootstrapSynthesisError> for GroupError

Source§

fn from(source: BootstrapSynthesisError) -> Self

Converts to this type from the input type.
Source§

impl From<Box<DeviceSyncError>> for GroupError

Source§

fn from(source: Box<DeviceSyncError>) -> Self

Converts to this type from the input type.
Source§

impl From<Box<SyncSummary>> for GroupError

Source§

fn from(source: Box<SyncSummary>) -> Self

Converts to this type from the input type.
Source§

impl From<ClientError> for GroupError

Source§

fn from(source: ClientError) -> Self

Converts to this type from the input type.
Source§

impl From<CodecError> for GroupError

Source§

fn from(source: CodecError) -> Self

Converts to this type from the input type.
Source§

impl From<CommitToPendingProposalsError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: CommitToPendingProposalsError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<CommitValidationError> for GroupError

Source§

fn from(source: CommitValidationError) -> Self

Converts to this type from the input type.
Source§

impl From<ComponentSourceError> for GroupError

Source§

fn from(source: ComponentSourceError) -> Self

Converts to this type from the input type.
Source§

impl From<ConnectionError> for GroupError

Source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<ConversionError> for GroupError

Source§

fn from(source: ConversionError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateGroupContextExtProposalError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: CreateGroupContextExtProposalError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<CreateMessageError> for GroupError

Source§

fn from(source: CreateMessageError) -> Self

Converts to this type from the input type.
Source§

impl From<CryptoError> for GroupError

Source§

fn from(source: CryptoError) -> Self

Converts to this type from the input type.
Source§

impl From<DecodeError> for GroupError

Source§

fn from(value: DecodeError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteMessageError> for GroupError

Source§

fn from(source: DeleteMessageError) -> Self

Converts to this type from the input type.
Source§

impl From<EncodeError> for GroupError

Source§

fn from(value: EncodeError) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for GroupError

Source§

fn from(source: TlsCodecError) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for GroupError

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<GroupAppDataError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: GroupAppDataError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<GroupError> for CatchUpError

Source§

fn from(source: GroupError) -> Self

Converts to this type from the input type.
Source§

impl From<GroupError> for ClientBuilderError

Source§

fn from(value: GroupError) -> Self

Converts to this type from the input type.
Source§

impl From<GroupError> for ClientError

Source§

fn from(err: GroupError) -> ClientError

Converts to this type from the input type.
Source§

impl From<GroupError> for CommitLogError

Source§

fn from(source: GroupError) -> Self

Converts to this type from the input type.
Source§

impl From<GroupError> for DeviceSyncError

Source§

fn from(source: GroupError) -> Self

Converts to this type from the input type.
Source§

impl From<GroupError> for IncomingError

Source§

fn from(source: GroupError) -> Self

Converts to this type from the input type.
Source§

impl From<GroupError> for NotificationError

Source§

fn from(source: GroupError) -> Self

Converts to this type from the input type.
Source§

impl From<GroupError> for SubscribeError

Source§

fn from(value: GroupError) -> Self

Converts to this type from the input type.
Source§

impl From<GroupError> for TaskWorkerError

Source§

fn from(source: GroupError) -> Self

Converts to this type from the input type.
Source§

impl From<GroupLeaveValidationError> for GroupError

Source§

fn from(source: GroupLeaveValidationError) -> Self

Converts to this type from the input type.
Source§

impl From<IdentifierValidationError> for GroupError

Source§

fn from(source: IdentifierValidationError) -> Self

Converts to this type from the input type.
Source§

impl From<IdentityError> for GroupError

Source§

fn from(source: IdentityError) -> Self

Converts to this type from the input type.
Source§

impl From<InstallationDiffError> for GroupError

Source§

fn from(source: InstallationDiffError) -> Self

Converts to this type from the input type.
Source§

impl From<IntentError> for GroupError

Source§

fn from(source: IntentError) -> Self

Converts to this type from the input type.
Source§

impl From<InvalidExtensionError> for GroupError

Source§

fn from(source: InvalidExtensionError) -> Self

Converts to this type from the input type.
Source§

impl From<LibraryError> for GroupError

Source§

fn from(source: LibraryError) -> Self

Converts to this type from the input type.
Source§

impl From<LocalEventError> for GroupError

Source§

fn from(source: LocalEventError) -> Self

Converts to this type from the input type.
Source§

impl From<MergePendingCommitError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: MergePendingCommitError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<MetadataPermissionsError> for GroupError

Source§

fn from(source: MetadataPermissionsError) -> Self

Converts to this type from the input type.
Source§

impl From<MlsStoreError> for GroupError

Source§

fn from(source: MlsStoreError) -> Self

Converts to this type from the input type.
Source§

impl From<NewGroupError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: NewGroupError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<NotFound> for GroupError

Source§

fn from(source: NotFound) -> Self

Converts to this type from the input type.
Source§

impl From<ProposalError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: ProposalError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<ProposeAddMemberError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: ProposeAddMemberError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<ProposeRemoveMemberError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: ProposeRemoveMemberError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<SelfUpdateError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: SelfUpdateError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<SignatureError> for GroupError

Source§

fn from(source: SignatureError) -> Self

Converts to this type from the input type.
Source§

impl From<SqlKeyStoreError> for GroupError

Source§

fn from(source: SqlKeyStoreError) -> Self

Converts to this type from the input type.
Source§

impl From<StorageError> for GroupError

Source§

fn from(source: StorageError) -> Self

Converts to this type from the input type.
Source§

impl From<SyncSummary> for GroupError

Source§

fn from(value: SyncSummary) -> Self

Converts to this type from the input type.
Source§

impl From<UninitializedFieldError> for GroupError

Source§

fn from(source: UninitializedFieldError) -> Self

Converts to this type from the input type.
Source§

impl From<UnwrapPayloadError> for GroupError

Source§

fn from(source: UnwrapPayloadError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateGroupMembershipError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: UpdateGroupMembershipError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<WelcomeError<SqlKeyStoreError>> for GroupError

Source§

fn from(source: WelcomeError<SqlKeyStoreError>) -> Self

Converts to this type from the input type.
Source§

impl From<WrapPayloadError> for GroupError

Source§

fn from(source: WrapPayloadError) -> Self

Converts to this type from the input type.
Source§

impl NeedsDbReconnect for GroupError

Source§

fn needs_db_reconnect(&self) -> bool

Forwards a dropped-pool signal from storage-bearing variants so a worker catching GroupErrors per item can stop on disconnect; else false.

Source§

impl RetryableError for GroupError

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> AggregateExpressionMethods for T

§

fn aggregate_distinct(self) -> Self::Output
where Self: DistinctDsl,

DISTINCT modifier for aggregate functions Read more
§

fn aggregate_all(self) -> Self::Output
where Self: AllDsl,

ALL modifier for aggregate functions Read more
§

fn aggregate_filter<P>(self, f: P) -> Self::Output
where P: AsExpression<Bool>, Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,

Add an aggregate function filter Read more
§

fn aggregate_order<O>(self, o: O) -> Self::Output
where Self: OrderAggregateDsl<O>,

Add an aggregate function order Read more
Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Converts 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>

Converts 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)

Converts &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)

Converts &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
where T: Any + Send,

§

fn into_any_send(self: Box<T>) -> Box<dyn Any + Send>

Converts Box<Trait> (where Trait: DowncastSend) to Box<dyn Any + Send>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

fn into_any_sync(self: Box<T>) -> Box<dyn Any + Send + Sync>

Converts Box<Trait> (where Trait: DowncastSync) to Box<dyn Any + Send + Sync>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Converts Arc<Trait> (where Trait: DowncastSync) to Arc<Any>, which can then be downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FutureExt for T

§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
§

impl<T, W> HasTypeWitness<W> for T
where W: MakeTypeWitness<Arg = T>, T: ?Sized,

§

const WITNESS: W = W::MAKE

A constant of the type witness
§

impl<T> Identity for T
where T: ?Sized,

§

const TYPE_EQ: TypeEq<T, <T as Identity>::Type> = TypeEq::NEW

Proof that Self is the same type as Self::Type, provides methods for casting between Self and Self::Type.
§

type Type = T

The same type as Self, used to emulate type equality bounds (T == U) with associated type equality constraints (T: Identity<Type = U>).
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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

§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
§

impl<T> IntoSql for T

§

fn into_sql<T>(self) -> Self::Expression
where Self: Sized + AsExpression<T>, T: SqlType + TypedExpressionType,

Convert self to an expression for Diesel’s query builder. Read more
§

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
where &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,

Convert &self to an expression for Diesel’s query builder. Read more
§

impl<L> LayerExt<L> for L

§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in [Layered].
Source§

impl<TraitVariantBlanketType> LocalNeedsDbReconnect for TraitVariantBlanketType
where TraitVariantBlanketType: NeedsDbReconnect,

§

impl<D> OwoColorize for D

§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where C: Color,

Set the foreground color generically Read more
§

fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>
where C: Color,

Set the background color generically. Read more
§

fn black(&self) -> FgColorDisplay<'_, Black, Self>

Change the foreground color to black
§

fn on_black(&self) -> BgColorDisplay<'_, Black, Self>

Change the background color to black
§

fn red(&self) -> FgColorDisplay<'_, Red, Self>

Change the foreground color to red
§

fn on_red(&self) -> BgColorDisplay<'_, Red, Self>

Change the background color to red
§

fn green(&self) -> FgColorDisplay<'_, Green, Self>

Change the foreground color to green
§

fn on_green(&self) -> BgColorDisplay<'_, Green, Self>

Change the background color to green
§

fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>

Change the foreground color to yellow
§

fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>

Change the background color to yellow
§

fn blue(&self) -> FgColorDisplay<'_, Blue, Self>

Change the foreground color to blue
§

fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>

Change the background color to blue
§

fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to magenta
§

fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to magenta
§

fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to purple
§

fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to purple
§

fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>

Change the foreground color to cyan
§

fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>

Change the background color to cyan
§

fn white(&self) -> FgColorDisplay<'_, White, Self>

Change the foreground color to white
§

fn on_white(&self) -> BgColorDisplay<'_, White, Self>

Change the background color to white
§

fn default_color(&self) -> FgColorDisplay<'_, Default, Self>

Change the foreground color to the terminal default
§

fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>

Change the background color to the terminal default
§

fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>

Change the foreground color to bright black
§

fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>

Change the background color to bright black
§

fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>

Change the foreground color to bright red
§

fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>

Change the background color to bright red
§

fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>

Change the foreground color to bright green
§

fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>

Change the background color to bright green
§

fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>

Change the foreground color to bright yellow
§

fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>

Change the background color to bright yellow
§

fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>

Change the foreground color to bright blue
§

fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>

Change the background color to bright blue
§

fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright magenta
§

fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright magenta
§

fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright purple
§

fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright purple
§

fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>

Change the foreground color to bright cyan
§

fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>

Change the background color to bright cyan
§

fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>

Change the foreground color to bright white
§

fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>

Change the background color to bright white
§

fn bold(&self) -> BoldDisplay<'_, Self>

Make the text bold
§

fn dimmed(&self) -> DimDisplay<'_, Self>

Make the text dim
§

fn italic(&self) -> ItalicDisplay<'_, Self>

Make the text italicized
§

fn underline(&self) -> UnderlineDisplay<'_, Self>

Make the text underlined
Make the text blink
Make the text blink (but fast!)
§

fn reversed(&self) -> ReversedDisplay<'_, Self>

Swap the foreground and background colors
§

fn hidden(&self) -> HiddenDisplay<'_, Self>

Hide the text
§

fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>

Cross out the text
§

fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the foreground color at runtime. Only use if you do not know which color will be used at compile-time. If the color is constant, use either [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,

Set the background color at runtime. Only use if you do not know what color to use at compile-time. If the color is constant, use either [OwoColorize::bg] or a color-specific method, such as [OwoColorize::on_yellow], Read more
§

fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the foreground color to a specific RGB value.
§

fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the background color to a specific RGB value.
§

fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>

Sets the foreground color to an RGB value.
§

fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>

Sets the background color to an RGB value.
§

fn style(&self, style: Style) -> Styled<&Self>

Apply a runtime-determined style
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WindowExpressionMethods for T

§

fn over(self) -> Self::Output
where Self: OverDsl,

Turn a function call into a window function call Read more
§

fn window_filter<P>(self, f: P) -> Self::Output
where P: AsExpression<Bool>, Self: FilterDsl<<P as AsExpression<Bool>>::Expression>,

Add a filter to the current window function Read more
§

fn partition_by<E>(self, expr: E) -> Self::Output
where Self: PartitionByDsl<E>,

Add a partition clause to the current window function Read more
§

fn window_order<E>(self, expr: E) -> Self::Output
where Self: OrderWindowDsl<E>,

Add a order clause to the current window function Read more
§

fn frame_by<E>(self, expr: E) -> Self::Output
where Self: FrameDsl<E>,

Add a frame clause to the current window function Read more
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> MaybeSend for T
where T: Send + ?Sized,

Source§

impl<T> MaybeSync for T
where T: Sync + ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,