pub enum BackendStatus {
Scheduled,
Loading,
Starting,
Waiting,
Ready,
Terminating,
HardTerminating,
Terminated,
}
Variants§
Scheduled
The backend has been scheduled to a drone, but has not yet been acknowledged. This status is only assigned by the controller; the drone will never assign it by definition.
Loading
The backend has been assigned to a drone, which is now responsible for loading its image.
Starting
Telling Docker to start the container.
Waiting
Wait for the backend to be ready to accept connections.
Ready
The backend is listening for connections.
Terminating
The backend has been sent a SIGTERM, either because we sent it or the user did, and we are waiting for it to exit. Proxies should stop sending traffic to it, but we should not yet release the key.
HardTerminating
The backend has been sent a SIGKILL, either because the user sent a hard termination request or the lock was past the hard-termination deadline.
Terminated
The backend has exited or been swept.
Implementations§
Source§impl BackendStatus
impl BackendStatus
Trait Implementations§
Source§impl Clone for BackendStatus
impl Clone for BackendStatus
Source§fn clone(&self) -> BackendStatus
fn clone(&self) -> BackendStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BackendStatus
impl Debug for BackendStatus
Source§impl<'de> Deserialize<'de> for BackendStatus
impl<'de> Deserialize<'de> for BackendStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for BackendStatus
impl Display for BackendStatus
Source§impl PartialEq for BackendStatus
impl PartialEq for BackendStatus
Source§impl PartialOrd for BackendStatus
impl PartialOrd for BackendStatus
Source§impl Serialize for BackendStatus
impl Serialize for BackendStatus
Source§impl TryFrom<String> for BackendStatus
impl TryFrom<String> for BackendStatus
Source§impl Valuable for BackendStatus
impl Valuable for BackendStatus
impl Copy for BackendStatus
impl StructuralPartialEq for BackendStatus
Auto Trait Implementations§
impl Freeze for BackendStatus
impl RefUnwindSafe for BackendStatus
impl Send for BackendStatus
impl Sync for BackendStatus
impl Unpin for BackendStatus
impl UnwindSafe for BackendStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.