pub enum DynamicStatus<Service>{
CreatingProxy,
WaitingForActivation,
AwaitingProxy,
Ready {
proxy: EstablishedRecipient<Service>,
},
Empty,
Replacing,
Stopping,
Cancelling,
Retiring,
Draining,
}Expand description
Application-visible phase of one retained keyed service.
Variants§
CreatingProxy
WaitingForActivation
AwaitingProxy
Ready
Fields
§
proxy: EstablishedRecipient<Service>Stable service capability; never a direct worker capability.
Empty
Replacing
Stopping
Cancelling
Retiring
Draining
The supervisor has closed management and is draining this entry.
Auto Trait Implementations§
impl<Service> Freeze for DynamicStatus<Service>where
<Service as Protocol>::Addr: Sized,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: Freeze,
impl<Service> RefUnwindSafe for DynamicStatus<Service>where
<Service as Protocol>::Addr: Sized,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: RefUnwindSafe,
impl<Service> Send for DynamicStatus<Service>where
<Service as Protocol>::Addr: Sized,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: Send,
impl<Service> Sync for DynamicStatus<Service>where
<Service as Protocol>::Addr: Sized,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: Sync,
impl<Service> Unpin for DynamicStatus<Service>where
<Service as Protocol>::Addr: Sized,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: Unpin,
impl<Service> UnsafeUnpin for DynamicStatus<Service>where
<Service as Protocol>::Addr: Sized,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: UnsafeUnpin,
impl<Service> UnwindSafe for DynamicStatus<Service>where
<Service as Protocol>::Addr: Sized,
<<Service as Protocol>::Addr as EndpointAddress>::Established<Service>: 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