pub struct SetBackoffDuration<S: State = Empty>(PhantomData<fn() -> S>);Expand description
Represents a State that has IsSet implemented for State::BackoffDuration.
The state for all other members is left the same as in the input state.
Tuple Fields§
§0: PhantomData<fn() -> S>Auto Trait Implementations§
impl<S> Freeze for SetBackoffDuration<S>
impl<S> RefUnwindSafe for SetBackoffDuration<S>
impl<S> Send for SetBackoffDuration<S>
impl<S> Sync for SetBackoffDuration<S>
impl<S> Unpin for SetBackoffDuration<S>
impl<S> UnsafeUnpin for SetBackoffDuration<S>
impl<S> UnwindSafe for SetBackoffDuration<S>
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