pub enum GroupMutableMetadataError {
Serialization(EncodeError),
Deserialization(DecodeError),
MissingExtension,
NonMutableExtensionUpdate,
TooManyUpdates,
NoUpdates,
MissingMetadataField,
MalformedComponent {
component_id: Option<ComponentId>,
reason: String,
},
}Expand description
Errors that can occur when working with GroupMutableMetadata.
Variants§
Serialization(EncodeError)
Deserialization(DecodeError)
MissingExtension
NonMutableExtensionUpdate
TooManyUpdates
NoUpdates
MissingMetadataField
MalformedComponent
A well-known component in the AppData dictionary failed to decode — surfaced by the migrated-group read paths when a component’s wire bytes can’t be parsed.
Structured rather than a flat String so downstream consumers
(bindings, error mapping) can match on the offending
component_id to discriminate failure modes without parsing a
display string. component_id is Option because the upstream
ComponentSourceError has a few variants that don’t carry one
(e.g. wrapped legacy-metadata errors); those map to None. The
inner reason is diagnostic-only — typically a formatted
ComponentSourceError — and should not be matched against.
Fields
component_id: Option<ComponentId>Component whose wire bytes failed to decode. None for
errors that don’t originate at a specific component.
Trait Implementations§
Source§impl Debug for GroupMutableMetadataError
impl Debug for GroupMutableMetadataError
Source§impl Display for GroupMutableMetadataError
impl Display for GroupMutableMetadataError
Source§impl Error for GroupMutableMetadataError
impl Error for GroupMutableMetadataError
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<DecodeError> for GroupMutableMetadataError
impl From<DecodeError> for GroupMutableMetadataError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Source§impl From<EncodeError> for GroupMutableMetadataError
impl From<EncodeError> for GroupMutableMetadataError
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Source§impl From<GroupMutableMetadataError> for MigrationError
impl From<GroupMutableMetadataError> for MigrationError
Source§fn from(source: GroupMutableMetadataError) -> Self
fn from(source: GroupMutableMetadataError) -> Self
Auto Trait Implementations§
impl Freeze for GroupMutableMetadataError
impl RefUnwindSafe for GroupMutableMetadataError
impl Send for GroupMutableMetadataError
impl Sync for GroupMutableMetadataError
impl Unpin for GroupMutableMetadataError
impl UnsafeUnpin for GroupMutableMetadataError
impl UnwindSafe for GroupMutableMetadataError
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> 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].