pub struct B2Error { /* private fields */ }Expand description
An error response from the Backblaze B2 API.
See https://www.backblaze.com/b2/docs/calling.html#error_handling for information on B2 error handling.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for B2Error
impl<'de> Deserialize<'de> for B2Error
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Error for B2Error
impl Error for B2Error
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for B2Error
impl RefUnwindSafe for B2Error
impl Send for B2Error
impl Sync for B2Error
impl Unpin for B2Error
impl UnsafeUnpin for B2Error
impl UnwindSafe for B2Error
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