pub enum Transition<I> {
Init(Init),
Selecting(Selecting<I>),
Requesting(Requesting<I>),
BoundWithNewLease(Bound<I>, NewlyAcquiredLease<I>),
BoundAssigned(Bound<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.
BoundAssigned(Bound<I>)
Transition to Bound::Assigned from Bound::AwaitingAssignment.
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.
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for Transition<I>where
Selecting<I>: Freeze,
Requesting<I>: Freeze,
Bound<I>: Freeze,
NewlyAcquiredLease<I>: Freeze,
LeaseRenewal<I>: Freeze,
Renewing<I>: Freeze,
Rebinding<I>: Freeze,
WaitingToRestart<I>: Freeze,
impl<I> RefUnwindSafe for Transition<I>where
Selecting<I>: RefUnwindSafe,
Requesting<I>: RefUnwindSafe,
Bound<I>: RefUnwindSafe,
NewlyAcquiredLease<I>: RefUnwindSafe,
LeaseRenewal<I>: RefUnwindSafe,
Renewing<I>: RefUnwindSafe,
Rebinding<I>: RefUnwindSafe,
WaitingToRestart<I>: RefUnwindSafe,
impl<I> Send for Transition<I>where
Selecting<I>: Send,
Requesting<I>: Send,
Bound<I>: Send,
NewlyAcquiredLease<I>: Send,
LeaseRenewal<I>: Send,
Renewing<I>: Send,
Rebinding<I>: Send,
WaitingToRestart<I>: Send,
impl<I> Sync for Transition<I>where
Selecting<I>: Sync,
Requesting<I>: Sync,
Bound<I>: Sync,
NewlyAcquiredLease<I>: Sync,
LeaseRenewal<I>: Sync,
Renewing<I>: Sync,
Rebinding<I>: Sync,
WaitingToRestart<I>: Sync,
impl<I> Unpin for Transition<I>where
Selecting<I>: Unpin,
Requesting<I>: Unpin,
Bound<I>: Unpin,
NewlyAcquiredLease<I>: Unpin,
LeaseRenewal<I>: Unpin,
Renewing<I>: Unpin,
Rebinding<I>: Unpin,
WaitingToRestart<I>: Unpin,
impl<I> UnsafeUnpin for Transition<I>where
Selecting<I>: UnsafeUnpin,
Requesting<I>: UnsafeUnpin,
Bound<I>: UnsafeUnpin,
NewlyAcquiredLease<I>: UnsafeUnpin,
LeaseRenewal<I>: UnsafeUnpin,
Renewing<I>: UnsafeUnpin,
Rebinding<I>: UnsafeUnpin,
WaitingToRestart<I>: UnsafeUnpin,
impl<I> UnwindSafe for Transition<I>where
Selecting<I>: UnwindSafe,
Requesting<I>: UnwindSafe,
Bound<I>: UnwindSafe,
NewlyAcquiredLease<I>: UnwindSafe,
LeaseRenewal<I>: UnwindSafe,
Renewing<I>: UnwindSafe,
Rebinding<I>: UnwindSafe,
WaitingToRestart<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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more