pub enum ExternalCommitValidationError {
LibraryError(LibraryError),
NoExternalInitProposals,
MultipleExternalInitProposals,
InvalidInlineProposals,
MultipleRemoveProposals,
InvalidRemoveProposal,
NoPath,
UnknownMemberRemoval,
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.
UnknownMemberRemoval
The remove proposal referenced a non-existing member.
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)>
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<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<ExternalCommitValidationError> for ExternalCommitValidationError
impl PartialEq<ExternalCommitValidationError> for ExternalCommitValidationError
source§fn eq(&self, other: &ExternalCommitValidationError) -> bool
fn eq(&self, other: &ExternalCommitValidationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExternalCommitValidationError
Auto Trait Implementations§
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