Enum rusoto_workdocs::GetDocumentError [−][src]
pub enum GetDocumentError { EntityNotExists(String), FailedDependency(String), InvalidArgument(String), InvalidPassword(String), ServiceUnavailable(String), UnauthorizedOperation(String), UnauthorizedResourceAccess(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetDocument
Variants
EntityNotExists(String)
The resource does not exist.
FailedDependency(String)
The AWS Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.
InvalidArgument(String)
The pagination marker or limit fields are not valid.
InvalidPassword(String)
The password is invalid.
One or more of the dependencies is unavailable.
The operation is not permitted.
The caller does not have access to perform the action on the resource.
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 GetDocumentError
[src]
impl GetDocumentError
pub fn from_body(body: &str) -> GetDocumentError
[src]
pub fn from_body(body: &str) -> GetDocumentError
Trait Implementations
impl Debug for GetDocumentError
[src]
impl Debug for GetDocumentError
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 GetDocumentError
[src]
impl PartialEq for GetDocumentError
fn eq(&self, other: &GetDocumentError) -> bool
[src]
fn eq(&self, other: &GetDocumentError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetDocumentError) -> bool
[src]
fn ne(&self, other: &GetDocumentError) -> bool
This method tests for !=
.
impl From<Error> for GetDocumentError
[src]
impl From<Error> for GetDocumentError
fn from(err: Error) -> GetDocumentError
[src]
fn from(err: Error) -> GetDocumentError
Performs the conversion.
impl From<CredentialsError> for GetDocumentError
[src]
impl From<CredentialsError> for GetDocumentError
fn from(err: CredentialsError) -> GetDocumentError
[src]
fn from(err: CredentialsError) -> GetDocumentError
Performs the conversion.
impl From<HttpDispatchError> for GetDocumentError
[src]
impl From<HttpDispatchError> for GetDocumentError
fn from(err: HttpDispatchError) -> GetDocumentError
[src]
fn from(err: HttpDispatchError) -> GetDocumentError
Performs the conversion.
impl From<Error> for GetDocumentError
[src]
impl From<Error> for GetDocumentError
fn from(err: Error) -> GetDocumentError
[src]
fn from(err: Error) -> GetDocumentError
Performs the conversion.
impl Display for GetDocumentError
[src]
impl Display for GetDocumentError
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 GetDocumentError
[src]
impl Error for GetDocumentError
Auto Trait Implementations
impl Send for GetDocumentError
impl Send for GetDocumentError
impl Sync for GetDocumentError
impl Sync for GetDocumentError