pub enum GetRevisionError {
InvalidParameter(String),
ResourceNotFound(String),
ResourcePreconditionNotMet(String),
}Expand description
Errors returned by GetRevision
Variants§
InvalidParameter(String)
One or more parameters in the request aren't valid.
ResourceNotFound(String)
The specified resource doesn't exist.
ResourcePreconditionNotMet(String)
The operation failed because a condition wasn't satisfied in advance.
Implementations§
Source§impl GetRevisionError
impl GetRevisionError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetRevisionError>
Trait Implementations§
Source§impl Debug for GetRevisionError
impl Debug for GetRevisionError
Source§impl Display for GetRevisionError
impl Display for GetRevisionError
Source§impl Error for GetRevisionError
impl Error for GetRevisionError
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 GetRevisionError
impl PartialEq for GetRevisionError
impl StructuralPartialEq for GetRevisionError
Auto Trait Implementations§
impl Freeze for GetRevisionError
impl RefUnwindSafe for GetRevisionError
impl Send for GetRevisionError
impl Sync for GetRevisionError
impl Unpin for GetRevisionError
impl UnwindSafe for GetRevisionError
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