pub enum DeleteFunctionError {
FunctionInUse(String),
InvalidIfMatchVersion(String),
NoSuchFunctionExists(String),
PreconditionFailed(String),
}
Expand description
Errors returned by DeleteFunction
Variants§
FunctionInUse(String)
Cannot delete the function because it’s attached to one or more cache behaviors.
InvalidIfMatchVersion(String)
The If-Match
version is missing or not valid.
NoSuchFunctionExists(String)
The function does not exist.
PreconditionFailed(String)
The precondition in one or more of the request fields evaluated to false
.
Implementations§
Source§impl DeleteFunctionError
impl DeleteFunctionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteFunctionError>
Trait Implementations§
Source§impl Debug for DeleteFunctionError
impl Debug for DeleteFunctionError
Source§impl Display for DeleteFunctionError
impl Display for DeleteFunctionError
Source§impl Error for DeleteFunctionError
impl Error for DeleteFunctionError
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 DeleteFunctionError
impl PartialEq for DeleteFunctionError
impl StructuralPartialEq for DeleteFunctionError
Auto Trait Implementations§
impl Freeze for DeleteFunctionError
impl RefUnwindSafe for DeleteFunctionError
impl Send for DeleteFunctionError
impl Sync for DeleteFunctionError
impl Unpin for DeleteFunctionError
impl UnwindSafe for DeleteFunctionError
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