pub enum RuntimeEvent {
Started(Instance),
Stopped {
id: String,
name: String,
},
Updated(Instance),
BackendDisconnected {
backend: String,
reason: String,
},
BackendReconnected {
backend: String,
},
}Expand description
Lifecycle event emitted by a runtime backend.
Variants§
Started(Instance)
A new instance was detected or an existing one started.
Stopped
An instance stopped or was destroyed.
Updated(Instance)
An instance’s metadata or ports changed (e.g., Docker network reconnect).
BackendDisconnected
The backend lost connection to the runtime API.
BackendReconnected
The backend reconnected and completed reconciliation.
Trait Implementations§
Source§impl Clone for RuntimeEvent
impl Clone for RuntimeEvent
Source§fn clone(&self) -> RuntimeEvent
fn clone(&self) -> RuntimeEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RuntimeEvent
impl RefUnwindSafe for RuntimeEvent
impl Send for RuntimeEvent
impl Sync for RuntimeEvent
impl Unpin for RuntimeEvent
impl UnsafeUnpin for RuntimeEvent
impl UnwindSafe for RuntimeEvent
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