pub enum UpdateRepositoryNameError {
InvalidRepositoryName(String),
RepositoryDoesNotExist(String),
RepositoryNameExists(String),
RepositoryNameRequired(String),
}Expand description
Errors returned by UpdateRepositoryName
Variants§
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.
RepositoryNameExists(String)
The specified repository name already exists.
RepositoryNameRequired(String)
A repository name is required, but was not specified.
Implementations§
Source§impl UpdateRepositoryNameError
impl UpdateRepositoryNameError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdateRepositoryNameError>
Trait Implementations§
Source§impl Debug for UpdateRepositoryNameError
impl Debug for UpdateRepositoryNameError
Source§impl Display for UpdateRepositoryNameError
impl Display for UpdateRepositoryNameError
Source§impl Error for UpdateRepositoryNameError
impl Error for UpdateRepositoryNameError
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()
impl StructuralPartialEq for UpdateRepositoryNameError
Auto Trait Implementations§
impl Freeze for UpdateRepositoryNameError
impl RefUnwindSafe for UpdateRepositoryNameError
impl Send for UpdateRepositoryNameError
impl Sync for UpdateRepositoryNameError
impl Unpin for UpdateRepositoryNameError
impl UnwindSafe for UpdateRepositoryNameError
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