pub enum Transition<I> {
Init(Init),
Selecting(Selecting<I>),
Requesting(Requesting<I>),
BoundWithNewLease(Bound<I>, NewlyAcquiredLease<I>),
BoundWithRenewedLease(Bound<I>, LeaseRenewal<I>),
Renewing(Renewing<I>),
Rebinding(Rebinding<I>),
WaitingToRestart(WaitingToRestart<I>),
}
Expand description
A state-transition to execute (see State
enum variant documentation for a
description of each state).
Variants§
Init(Init)
Transition to Init.
Selecting(Selecting<I>)
Transition to Selecting.
Requesting(Requesting<I>)
Transition to Requesting.
BoundWithNewLease(Bound<I>, NewlyAcquiredLease<I>)
Transition to Bound, having newly acquired a lease.
BoundWithRenewedLease(Bound<I>, LeaseRenewal<I>)
Transition to Bound, having renewed a previously-acquired lease.
Renewing(Renewing<I>)
Transition to Renewing.
Rebinding(Rebinding<I>)
Transition to Rebinding.
WaitingToRestart(WaitingToRestart<I>)
Transition to wait to restart the configuration process.
Auto Trait Implementations§
impl<I> Freeze for Transition<I>where
I: Freeze,
impl<I> RefUnwindSafe for Transition<I>where
I: RefUnwindSafe,
impl<I> Send for Transition<I>where
I: Send,
impl<I> Sync for Transition<I>where
I: Sync,
impl<I> Unpin for Transition<I>where
I: Unpin,
impl<I> UnwindSafe for Transition<I>where
I: UnwindSafe,
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