Enum rusoto_ds::RestoreFromSnapshotError [−][src]
pub enum RestoreFromSnapshotError { Client(String), EntityDoesNotExist(String), InvalidParameter(String), Service(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by RestoreFromSnapshot
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.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl RestoreFromSnapshotError
[src]
impl RestoreFromSnapshotError
pub fn from_body(body: &str) -> RestoreFromSnapshotError
[src]
pub fn from_body(body: &str) -> RestoreFromSnapshotError
Trait Implementations
impl Debug for RestoreFromSnapshotError
[src]
impl Debug for RestoreFromSnapshotError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for RestoreFromSnapshotError
[src]
impl PartialEq for RestoreFromSnapshotError
fn eq(&self, other: &RestoreFromSnapshotError) -> bool
[src]
fn eq(&self, other: &RestoreFromSnapshotError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RestoreFromSnapshotError) -> bool
[src]
fn ne(&self, other: &RestoreFromSnapshotError) -> bool
This method tests for !=
.
impl From<Error> for RestoreFromSnapshotError
[src]
impl From<Error> for RestoreFromSnapshotError
fn from(err: Error) -> RestoreFromSnapshotError
[src]
fn from(err: Error) -> RestoreFromSnapshotError
Performs the conversion.
impl From<CredentialsError> for RestoreFromSnapshotError
[src]
impl From<CredentialsError> for RestoreFromSnapshotError
fn from(err: CredentialsError) -> RestoreFromSnapshotError
[src]
fn from(err: CredentialsError) -> RestoreFromSnapshotError
Performs the conversion.
impl From<HttpDispatchError> for RestoreFromSnapshotError
[src]
impl From<HttpDispatchError> for RestoreFromSnapshotError
fn from(err: HttpDispatchError) -> RestoreFromSnapshotError
[src]
fn from(err: HttpDispatchError) -> RestoreFromSnapshotError
Performs the conversion.
impl From<Error> for RestoreFromSnapshotError
[src]
impl From<Error> for RestoreFromSnapshotError
fn from(err: Error) -> RestoreFromSnapshotError
[src]
fn from(err: Error) -> RestoreFromSnapshotError
Performs the conversion.
impl Display for RestoreFromSnapshotError
[src]
impl Display for RestoreFromSnapshotError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for RestoreFromSnapshotError
[src]
impl Error for RestoreFromSnapshotError
Auto Trait Implementations
impl Send for RestoreFromSnapshotError
impl Send for RestoreFromSnapshotError
impl Sync for RestoreFromSnapshotError
impl Sync for RestoreFromSnapshotError