Enum cloud_storage::Error [−][src]
pub enum Error {
Google(GoogleErrorResponse),
Reqwest(Error),
Ssl(ErrorStack),
Jwt(Error),
Serialization(Error),
Other(String),
}Expand description
Represents any of the ways storing something in Google Cloud Storage can fail.
Variants
Google(GoogleErrorResponse)If the error is caused by a non 2xx response by Google, this variant is returned.
Reqwest(Error)If another network error causes something to fail, this variant is used.
Ssl(ErrorStack)If we encouter a SSL error, for example an invalid certificate, this variant is used.
Jwt(Error)If we have problems creating or parsing a json web token, this variant is used.
Serialization(Error)If we cannot deserialize one of the repsonses sent by Google, this variant is used.
Other(String)If another failure causes the error, this variant is populated.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Errorimpl !UnwindSafe for Error