pub struct MultiFactorError { /* private fields */ }Implementations§
Source§impl MultiFactorError
impl MultiFactorError
Sourcepub fn hints(&self) -> &[MultiFactorInfo]
pub fn hints(&self) -> &[MultiFactorInfo]
Returns the factors that can satisfy the pending challenge.
Sourcepub fn session(&self) -> &MultiFactorSession
pub fn session(&self) -> &MultiFactorSession
Returns the captured multi-factor session information.
Sourcepub fn operation(&self) -> MultiFactorOperation
pub fn operation(&self) -> MultiFactorOperation
Returns the operation that triggered the multi-factor requirement.
Trait Implementations§
Source§impl Clone for MultiFactorError
impl Clone for MultiFactorError
Source§fn clone(&self) -> MultiFactorError
fn clone(&self) -> MultiFactorError
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 moreSource§impl Debug for MultiFactorError
impl Debug for MultiFactorError
Auto Trait Implementations§
impl Freeze for MultiFactorError
impl RefUnwindSafe for MultiFactorError
impl Send for MultiFactorError
impl Sync for MultiFactorError
impl Unpin for MultiFactorError
impl UnwindSafe for MultiFactorError
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