pub enum GetCommitError {
CommitIdDoesNotExist(String),
CommitIdRequired(String),
EncryptionIntegrityChecksFailed(String),
EncryptionKeyAccessDenied(String),
EncryptionKeyDisabled(String),
EncryptionKeyNotFound(String),
EncryptionKeyUnavailable(String),
InvalidCommitId(String),
InvalidRepositoryName(String),
RepositoryDoesNotExist(String),
RepositoryNameRequired(String),
}Expand description
Errors returned by GetCommit
Variants§
CommitIdDoesNotExist(String)
The specified commit ID does not exist.
CommitIdRequired(String)
A commit ID was not specified.
EncryptionIntegrityChecksFailed(String)
An encryption integrity check failed.
EncryptionKeyAccessDenied(String)
An encryption key could not be accessed.
EncryptionKeyDisabled(String)
The encryption key is disabled.
EncryptionKeyNotFound(String)
No encryption key was found.
The encryption key is not available.
InvalidCommitId(String)
The specified commit ID is not valid.
InvalidRepositoryName(String)
A specified repository name is not valid.
This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.
RepositoryDoesNotExist(String)
The specified repository does not exist.
RepositoryNameRequired(String)
A repository name is required, but was not specified.
Implementations§
Source§impl GetCommitError
impl GetCommitError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetCommitError>
Trait Implementations§
Source§impl Debug for GetCommitError
impl Debug for GetCommitError
Source§impl Display for GetCommitError
impl Display for GetCommitError
Source§impl Error for GetCommitError
impl Error for GetCommitError
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 PartialEq for GetCommitError
impl PartialEq for GetCommitError
impl StructuralPartialEq for GetCommitError
Auto Trait Implementations§
impl Freeze for GetCommitError
impl RefUnwindSafe for GetCommitError
impl Send for GetCommitError
impl Sync for GetCommitError
impl Unpin for GetCommitError
impl UnwindSafe for GetCommitError
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