pub struct ErrorDescription { /* private fields */ }
Expand description
Simple wrapper around RefreshError.
Enables additional json functionality to generate a properly formatted response in the user of this module.
Implementations§
Source§impl ErrorDescription
impl ErrorDescription
Sourcepub fn description(&mut self) -> &mut AccessTokenError
pub fn description(&mut self) -> &mut AccessTokenError
Get a handle to the description the client will receive.
Trait Implementations§
Source§impl Clone for ErrorDescription
impl Clone for ErrorDescription
Source§fn clone(&self) -> ErrorDescription
fn clone(&self) -> ErrorDescription
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ErrorDescription
impl RefUnwindSafe for ErrorDescription
impl Send for ErrorDescription
impl Sync for ErrorDescription
impl Unpin for ErrorDescription
impl UnwindSafe for ErrorDescription
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