pub enum V1Event {
Ready,
Exited(Option<i32>),
FailedToPrepare(String),
FailedToStartEntrypoint(String),
FailedTimeout,
}Expand description
Enumeration of events that can occur in a container.
The events are serialized in JSON format and sent to the client.
Variants§
Ready
The container is ready to use.
Exited(Option<i32>)
The container’s entrypoint has exited.
FailedToPrepare(String)
Failed to prepare the container.
FailedToStartEntrypoint(String)
Failed to start the container’s entrypoint.
FailedTimeout
Timeout occured while waiting for the container to become ready.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for V1Event
impl<'de> Deserialize<'de> for V1Event
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<V1Event, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<V1Event, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for V1Event
impl Serialize for V1Event
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for V1Event
impl RefUnwindSafe for V1Event
impl Send for V1Event
impl Sync for V1Event
impl Unpin for V1Event
impl UnwindSafe for V1Event
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