pub enum GetBranchError {
BranchDoesNotExist(String),
BranchNameRequired(String),
EncryptionIntegrityChecksFailed(String),
EncryptionKeyAccessDenied(String),
EncryptionKeyDisabled(String),
EncryptionKeyNotFound(String),
EncryptionKeyUnavailable(String),
InvalidBranchName(String),
InvalidRepositoryName(String),
RepositoryDoesNotExist(String),
RepositoryNameRequired(String),
}Expand description
Errors returned by GetBranch
Variants§
BranchDoesNotExist(String)
The specified branch does not exist.
BranchNameRequired(String)
A branch name is required, but 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.
InvalidBranchName(String)
The specified reference name 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 GetBranchError
impl GetBranchError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetBranchError>
Trait Implementations§
Source§impl Debug for GetBranchError
impl Debug for GetBranchError
Source§impl Display for GetBranchError
impl Display for GetBranchError
Source§impl Error for GetBranchError
impl Error for GetBranchError
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 GetBranchError
impl PartialEq for GetBranchError
impl StructuralPartialEq for GetBranchError
Auto Trait Implementations§
impl Freeze for GetBranchError
impl RefUnwindSafe for GetBranchError
impl Send for GetBranchError
impl Sync for GetBranchError
impl Unpin for GetBranchError
impl UnwindSafe for GetBranchError
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