pub enum ApiResError {
Json(JsonErrorBody),
Xml(XmlErrorBody),
}
Expand description
All possible errors returned by the upstream Jottacloud API.
Variants§
Json(JsonErrorBody)
JSON error, returned by api.jottacloud.com/files/v1
for example.
Xml(XmlErrorBody)
XML error returned by jfs.jottacloud.com
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiResError
impl RefUnwindSafe for ApiResError
impl Send for ApiResError
impl Sync for ApiResError
impl Unpin for ApiResError
impl UnwindSafe for ApiResError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more