pub enum ApprovalChallenge {
Desktop {
attempt: u64,
prompt: String,
},
OsPrompt {
attempt: u64,
prompt: String,
},
Phone {
attempt: u64,
connection: u64,
deadline: Instant,
request: Box<ConsentRequest>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ApprovalChallenge
impl Clone for ApprovalChallenge
Auto Trait Implementations§
impl Forget for ApprovalChallenge
impl Freeze for ApprovalChallengewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ConsentRequest is !null: Freeze,
PhantomData<ConsentRequest>: Freeze,
impl Move for ApprovalChallenge
impl RefUnwindSafe for ApprovalChallenge
impl Send for ApprovalChallenge
impl Sync for ApprovalChallenge
impl Unpin for ApprovalChallenge
impl UnsafeUnpin for ApprovalChallengewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ConsentRequest is !null: UnsafeUnpin,
PhantomData<ConsentRequest>: UnsafeUnpin,
impl UnwindSafe for ApprovalChallenge
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