Enum oss_rust_sdk::errors::Error
source · pub enum Error {
Object(ObjectError),
Io(IoError),
String(FromUtf8Error),
Reqwest(ReqwestError),
Qxml(QxmlError),
Http(HttpError),
DeserializeError(DeError),
}
Variants§
Object(ObjectError)
Io(IoError)
String(FromUtf8Error)
Reqwest(ReqwestError)
Qxml(QxmlError)
Http(HttpError)
DeserializeError(DeError)
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<Error> for Error
impl From<Error> for Error
source§fn from(e: ReqwestError) -> Error
fn from(e: ReqwestError) -> Error
Converts to this type from the input type.
source§impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
source§fn from(e: FromUtf8Error) -> Error
fn from(e: FromUtf8Error) -> Error
Converts to this type from the input type.
source§impl From<InvalidHeaderName> for Error
impl From<InvalidHeaderName> for Error
source§fn from(e: HttpInvalidHeaderNameError) -> Error
fn from(e: HttpInvalidHeaderNameError) -> Error
Converts to this type from the input type.
source§impl From<InvalidHeaderValue> for Error
impl From<InvalidHeaderValue> for Error
source§fn from(e: HttpInvalidHeaderValueError) -> Error
fn from(e: HttpInvalidHeaderValueError) -> Error
Converts to this type from the input type.