pub enum CreateSnapshotError {
Client(String),
EntityDoesNotExist(String),
InvalidParameter(String),
Service(String),
SnapshotLimitExceeded(String),
}Expand description
Errors returned by CreateSnapshot
Variants§
Client(String)
A client exception has occurred.
EntityDoesNotExist(String)
The specified entity could not be found.
InvalidParameter(String)
One or more parameters are not valid.
Service(String)
An exception has occurred in AWS Directory Service.
SnapshotLimitExceeded(String)
The maximum number of manual snapshots for the directory has been reached. You can use the GetSnapshotLimits operation to determine the snapshot limits for a directory.
Implementations§
Source§impl CreateSnapshotError
impl CreateSnapshotError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateSnapshotError>
Trait Implementations§
Source§impl Debug for CreateSnapshotError
impl Debug for CreateSnapshotError
Source§impl Display for CreateSnapshotError
impl Display for CreateSnapshotError
Source§impl Error for CreateSnapshotError
impl Error for CreateSnapshotError
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 CreateSnapshotError
impl PartialEq for CreateSnapshotError
impl StructuralPartialEq for CreateSnapshotError
Auto Trait Implementations§
impl Freeze for CreateSnapshotError
impl RefUnwindSafe for CreateSnapshotError
impl Send for CreateSnapshotError
impl Sync for CreateSnapshotError
impl Unpin for CreateSnapshotError
impl UnwindSafe for CreateSnapshotError
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