pub enum Step<T> {
Done(Completed<T>),
NeedTan(TanChallenge, Resume<T>),
NeedVopConfirmation(VopConfirmation, Resume<T>),
VopPending(VopWait, Resume<T>),
}Expand description
The outcome of one call: the job is done, the bank wants a TAN, or a transfer’s payee check needs the user or more time.
Variants§
Done(Completed<T>)
NeedTan(TanChallenge, Resume<T>)
Answer with Dialog::submit_tan (typed) or Dialog::poll
(decoupled), or drop the job with Dialog::cancel.
NeedVopConfirmation(VopConfirmation, Resume<T>)
The payee check is not a clean match: show the result (and the
bank’s explanation), then Dialog::confirm_vop or
Dialog::cancel.
VopPending(VopWait, Resume<T>)
The payee check is still running: Dialog::poll at or after
not_before, or Dialog::cancel.
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for Step<T>
impl<T> Freeze for Step<T>
impl<T> Move for Step<T>
impl<T> RefUnwindSafe for Step<T>
impl<T> Send for Step<T>
impl<T> Sync for Step<T>
impl<T> Unpin for Step<T>
impl<T> UnsafeUnpin for Step<T>
impl<T> UnwindSafe for Step<T>
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