pub enum SendResult {
Success(Response),
NeedTan(Dialog<TanPending>, TanChallenge, Response),
Touchdown(Response, String),
}Expand description
Result of Dialog<Open>::send(). Per the spec, three outcomes are possible.
Variants§
Success(Response)
0020: Order executed. Response contains the result data (HISAL, HIKAZ, etc.).
NeedTan(Dialog<TanPending>, TanChallenge, Response)
0030/3955: TAN required for this operation. Dialog transitions to TanPending.
Touchdown(Response, String)
3040: More data available (pagination). Response contains partial data plus a touchdown point string for the next request.
Auto Trait Implementations§
impl Freeze for SendResult
impl !RefUnwindSafe for SendResult
impl Send for SendResult
impl Sync for SendResult
impl Unpin for SendResult
impl UnsafeUnpin for SendResult
impl !UnwindSafe for SendResult
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