pub struct BearerError(pub String);Expand description
A server refused authentication and the client could not recover.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for BearerError
impl Clone for BearerError
Source§impl Debug for BearerError
impl Debug for BearerError
Source§impl Display for BearerError
impl Display for BearerError
impl Eq for BearerError
Source§impl Error for BearerError
impl Error for BearerError
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()
Source§impl PartialEq for BearerError
impl PartialEq for BearerError
impl StructuralPartialEq for BearerError
Auto Trait Implementations§
impl Freeze for BearerError
impl RefUnwindSafe for BearerError
impl Send for BearerError
impl Sync for BearerError
impl Unpin for BearerError
impl UnsafeUnpin for BearerError
impl UnwindSafe for BearerError
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