pub enum CreateSecurityProfileError {
InternalFailure(String),
InvalidRequest(String),
ResourceAlreadyExists(String),
Throttling(String),
}Expand description
Errors returned by CreateSecurityProfile
Variants§
InternalFailure(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
ResourceAlreadyExists(String)
The resource already exists.
Throttling(String)
The rate exceeds the limit.
Implementations§
Source§impl CreateSecurityProfileError
impl CreateSecurityProfileError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateSecurityProfileError>
Trait Implementations§
Source§impl Debug for CreateSecurityProfileError
impl Debug for CreateSecurityProfileError
Source§impl Display for CreateSecurityProfileError
impl Display for CreateSecurityProfileError
Source§impl Error for CreateSecurityProfileError
impl Error for CreateSecurityProfileError
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 CreateSecurityProfileError
Auto Trait Implementations§
impl Freeze for CreateSecurityProfileError
impl RefUnwindSafe for CreateSecurityProfileError
impl Send for CreateSecurityProfileError
impl Sync for CreateSecurityProfileError
impl Unpin for CreateSecurityProfileError
impl UnwindSafe for CreateSecurityProfileError
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