pub enum ExternalCommitValidationError {
LibraryError(LibraryError),
NoExternalInitProposals,
MultipleExternalInitProposals,
InvalidInlineProposals,
MultipleRemoveProposals,
InvalidRemoveProposal,
NoPath,
ReferencedProposal,
}
Expand description
External Commit validaton error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
NoExternalInitProposals
No ExternalInit proposal found.
MultipleExternalInitProposals
Multiple ExternalInit proposal found.
InvalidInlineProposals
Found inline Add or Update proposals.
MultipleRemoveProposals
Found multiple inline Remove proposals.
InvalidRemoveProposal
Remove proposal targets the wrong group member.
NoPath
External Commit has to contain a path.
ReferencedProposal
External commit contains referenced proposal
Trait Implementations§
Source§impl Clone for ExternalCommitValidationError
impl Clone for ExternalCommitValidationError
Source§fn clone(&self) -> ExternalCommitValidationError
fn clone(&self) -> ExternalCommitValidationError
Returns a copy 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 Error for ExternalCommitValidationError
impl Error for ExternalCommitValidationError
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<ExternalCommitValidationError> for StageCommitError
impl From<ExternalCommitValidationError> for StageCommitError
Source§fn from(source: ExternalCommitValidationError) -> Self
fn from(source: ExternalCommitValidationError) -> Self
Converts to this type from the input type.
Source§impl From<ExternalCommitValidationError> for ValidationError
impl From<ExternalCommitValidationError> for ValidationError
Source§fn from(source: ExternalCommitValidationError) -> Self
fn from(source: ExternalCommitValidationError) -> Self
Converts to this type from the input type.
Source§impl From<LibraryError> for ExternalCommitValidationError
impl From<LibraryError> for ExternalCommitValidationError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExternalCommitValidationError
impl PartialEq for ExternalCommitValidationError
Source§fn eq(&self, other: &ExternalCommitValidationError) -> bool
fn eq(&self, other: &ExternalCommitValidationError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExternalCommitValidationError
Auto Trait Implementations§
impl Freeze for ExternalCommitValidationError
impl RefUnwindSafe for ExternalCommitValidationError
impl Send for ExternalCommitValidationError
impl Sync for ExternalCommitValidationError
impl Unpin for ExternalCommitValidationError
impl UnwindSafe for ExternalCommitValidationError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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