pub enum AppDataUpdateValidationError {
IncorrectOrder,
CannotUpdateDictionaryDirectly,
MoreThanOneRemovePerComponentId,
CombinedRemoveAndUpdateOperations,
CannotRemoveNonexistentComponent,
}Available on (32-bit or 64-bit) and crate feature
extensions-draft-08 only.Expand description
Error validating an AppDataUpdate proposal.
Variants§
IncorrectOrder
AppDataUpdateProposals
occur before
GroupContextExtensionsProposals.
CannotUpdateDictionaryDirectly
Attempted to update the AppDataDictionary
in the
GroupContextExtensionsProposal directly.
MoreThanOneRemovePerComponentId
More than one [AppDataUpdate] proposal per ComponentId had a Remove operation.
CombinedRemoveAndUpdateOperations
Proposals for a ComponentId had both Remove and Update operations.
CannotRemoveNonexistentComponent
Proposals for a ComponentId had a Remove for a nonexistent component.
Trait Implementations§
Source§impl Clone for AppDataUpdateValidationError
impl Clone for AppDataUpdateValidationError
Source§fn clone(&self) -> AppDataUpdateValidationError
fn clone(&self) -> AppDataUpdateValidationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AppDataUpdateValidationError
impl Debug for AppDataUpdateValidationError
Source§impl Error for AppDataUpdateValidationError
impl Error for AppDataUpdateValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AppDataUpdateValidationError> for CreateCommitError
impl From<AppDataUpdateValidationError> for CreateCommitError
Source§fn from(source: AppDataUpdateValidationError) -> Self
fn from(source: AppDataUpdateValidationError) -> Self
Converts to this type from the input type.
Source§impl From<AppDataUpdateValidationError> for StageCommitError
impl From<AppDataUpdateValidationError> for StageCommitError
Source§fn from(source: AppDataUpdateValidationError) -> Self
fn from(source: AppDataUpdateValidationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AppDataUpdateValidationError
impl PartialEq for AppDataUpdateValidationError
Source§fn eq(&self, other: &AppDataUpdateValidationError) -> bool
fn eq(&self, other: &AppDataUpdateValidationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AppDataUpdateValidationError
Auto Trait Implementations§
impl Freeze for AppDataUpdateValidationError
impl RefUnwindSafe for AppDataUpdateValidationError
impl Send for AppDataUpdateValidationError
impl Sync for AppDataUpdateValidationError
impl Unpin for AppDataUpdateValidationError
impl UnwindSafe for AppDataUpdateValidationError
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
Mutably borrows from an owned value. Read more
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
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>
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 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>
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