Enum rusoto_glacier::UploadArchiveError
[−]
[src]
pub enum UploadArchiveError { InvalidParameterValue(String), MissingParameterValue(String), RequestTimeout(String), ResourceNotFound(String), ServiceUnavailable(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by UploadArchive
Variants
InvalidParameterValue(String)
Returned if a parameter of the request is incorrectly specified.
MissingParameterValue(String)
Returned if a required header or parameter is missing from the request.
RequestTimeout(String)
Returned if, when uploading an archive, Amazon Glacier times out while receiving the upload.
ResourceNotFound(String)
Returned if the specified resource (such as a vault, upload ID, or job ID) doesn't exist.
Returned if the service cannot complete the request.
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 UploadArchiveError
[src]
fn from_body(body: &str) -> UploadArchiveError
[src]
Trait Implementations
impl Debug for UploadArchiveError
[src]
impl PartialEq for UploadArchiveError
[src]
fn eq(&self, __arg_0: &UploadArchiveError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UploadArchiveError) -> bool
[src]
This method tests for !=
.
impl From<Error> for UploadArchiveError
[src]
fn from(err: Error) -> UploadArchiveError
[src]
Performs the conversion.
impl From<CredentialsError> for UploadArchiveError
[src]
fn from(err: CredentialsError) -> UploadArchiveError
[src]
Performs the conversion.
impl From<HttpDispatchError> for UploadArchiveError
[src]
fn from(err: HttpDispatchError) -> UploadArchiveError
[src]
Performs the conversion.
impl From<Error> for UploadArchiveError
[src]
fn from(err: Error) -> UploadArchiveError
[src]
Performs the conversion.
impl Display for UploadArchiveError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more