pub enum BackendState {
Loading,
ErrorLoading,
Starting,
ErrorStarting,
Ready,
TimedOutBeforeReady,
Failed,
Exited,
Swept,
}
Variants§
Loading
The backend has been created, and the image is being fetched.
ErrorLoading
A failure occured while loading the image.
Starting
The image has been fetched and is running, but is not yet listening on a port.
ErrorStarting
A failure occured while starting the container.
Ready
The container is listening on the expected port.
TimedOutBeforeReady
A timeout occurred becfore the container was ready.
Failed
The container exited on its own initiative with a non-zero status.
Exited
The container exited on its own initiative with a zero status.
Swept
The container was terminated because all connections were closed.
Implementations§
Trait Implementations§
Source§impl Clone for BackendState
impl Clone for BackendState
Source§fn clone(&self) -> BackendState
fn clone(&self) -> BackendState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BackendState
impl Debug for BackendState
Source§impl<'de> Deserialize<'de> for BackendState
impl<'de> Deserialize<'de> for BackendState
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for BackendState
impl FromStr for BackendState
Source§impl PartialEq for BackendState
impl PartialEq for BackendState
Source§impl Serialize for BackendState
impl Serialize for BackendState
Source§impl ToString for BackendState
impl ToString for BackendState
impl Copy for BackendState
impl Eq for BackendState
impl StructuralPartialEq for BackendState
Auto Trait Implementations§
impl Freeze for BackendState
impl RefUnwindSafe for BackendState
impl Send for BackendState
impl Sync for BackendState
impl Unpin for BackendState
impl UnwindSafe for BackendState
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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.