pub enum AccountStep {
Resend,
Switch {
to: ServerLabel,
},
Stop {
why: RoundEnd,
},
}Expand description
What the driver does after one failed send.
Variants§
Resend
Send the same request again on the same account, after the driver’s back-off.
Switch
Send the same request on this account at once.
Fields
§
to: ServerLabelStop
Send nothing more; hand the failure on.
Trait Implementations§
Source§impl Clone for AccountStep
impl Clone for AccountStep
Source§impl Debug for AccountStep
impl Debug for AccountStep
impl Eq for AccountStep
Source§impl PartialEq for AccountStep
impl PartialEq for AccountStep
impl StructuralPartialEq for AccountStep
Auto Trait Implementations§
impl Freeze for AccountStep
impl RefUnwindSafe for AccountStep
impl Send for AccountStep
impl Sync for AccountStep
impl Unpin for AccountStep
impl UnsafeUnpin for AccountStep
impl UnwindSafe for AccountStep
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