pub struct BotillonError {
pub code: String,
pub message: String,
pub status: Option<u16>,
pub retry_after: Option<u64>,
pub is_auth_error: bool,
pub is_temporary: bool,
}Fields§
§code: String§message: String§status: Option<u16>§retry_after: Option<u64>§is_auth_error: bool§is_temporary: boolTrait Implementations§
Source§impl Clone for BotillonError
impl Clone for BotillonError
Source§impl Debug for BotillonError
impl Debug for BotillonError
Source§impl Display for BotillonError
impl Display for BotillonError
Source§impl Error for BotillonError
impl Error for BotillonError
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 BotillonError
impl RefUnwindSafe for BotillonError
impl Send for BotillonError
impl Sync for BotillonError
impl Unpin for BotillonError
impl UnsafeUnpin for BotillonError
impl UnwindSafe for BotillonError
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