pub enum EventAction {
Create,
Start,
Stop,
Kill,
Die {
exit_code: Option<i32>,
},
Destroy,
Health(Health),
Other(String),
}Expand description
What happened to a container.
Variants§
Create
The container was created.
Start
It started.
Stop
It was asked to stop.
Kill
It was sent a signal.
Die
Its process exited.
Destroy
It was removed.
Health(Health)
Its healthcheck changed state.
Other(String)
Something else (pause, restart, oom, …), by Docker’s name.
Trait Implementations§
Source§impl Clone for EventAction
impl Clone for EventAction
Source§impl Debug for EventAction
impl Debug for EventAction
impl Eq for EventAction
Source§impl PartialEq for EventAction
impl PartialEq for EventAction
Source§impl Serialize for EventAction
impl Serialize for EventAction
impl StructuralPartialEq for EventAction
Auto Trait Implementations§
impl Forget for EventAction
impl Freeze for EventAction
impl RefUnwindSafe for EventAction
impl Send for EventAction
impl Sync for EventAction
impl Unpin for EventAction
impl UnsafeUnpin for EventAction
impl UnwindSafe for EventAction
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§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.