pub struct ReauthError { /* private fields */ }
Expand description
Error executing an MQTT reauth
Implementations§
Source§impl ReauthError
impl ReauthError
Sourcepub fn new(kind: ReauthErrorKind) -> Self
pub fn new(kind: ReauthErrorKind) -> Self
Create a new ReauthError
Sourcepub fn kind(&self) -> &ReauthErrorKind
pub fn kind(&self) -> &ReauthErrorKind
Return the corresponding ReauthErrorKind
for this error
Trait Implementations§
Source§impl Debug for ReauthError
impl Debug for ReauthError
Source§impl Display for ReauthError
impl Display for ReauthError
Source§impl Error for ReauthError
impl Error for ReauthError
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 ReauthError
impl RefUnwindSafe for ReauthError
impl Send for ReauthError
impl Sync for ReauthError
impl Unpin for ReauthError
impl UnwindSafe for ReauthError
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