pub enum FlowPhase {
AwaitingBackend,
Established,
Closing,
}Expand description
The lifecycle of a flow w.r.t. its backend. A flow is admitted in
AwaitingBackend, transitions to
Established once the shell resolves and opens an
upstream, and is reaped on teardown.
Variants§
AwaitingBackend
SelectBackend emitted; awaiting BackendResolved. Client datagrams
received in this window are buffered (one slot) so the first datagram is
not lost between admission and upstream open.
Established
Backend resolved and upstream opened; datagrams flow both ways.
Closing
Marked for teardown; the manager will emit CloseFlow and free the slot.
Trait Implementations§
impl Copy for FlowPhase
impl Eq for FlowPhase
impl StructuralPartialEq for FlowPhase
Auto Trait Implementations§
impl Freeze for FlowPhase
impl RefUnwindSafe for FlowPhase
impl Send for FlowPhase
impl Sync for FlowPhase
impl Unpin for FlowPhase
impl UnsafeUnpin for FlowPhase
impl UnwindSafe for FlowPhase
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.