pub enum GatewayRuntimeState {
Stopped,
Starting,
Running,
Stopping,
Failed,
Orphaned,
}Expand description
Concrete execution state of a Gateway runtime instance.
Variants§
Stopped
No listener or task is active.
Starting
Listener preparation is in progress.
Running
The listener and owned tasks are running.
Stopping
Cooperative shutdown is in progress.
Failed
The runtime terminated with a controlled failure.
Orphaned
The runtime thread failed to honor even the forced shutdown deadline.
Trait Implementations§
Source§impl Clone for GatewayRuntimeState
impl Clone for GatewayRuntimeState
Source§fn clone(&self) -> GatewayRuntimeState
fn clone(&self) -> GatewayRuntimeState
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 moreimpl Copy for GatewayRuntimeState
Source§impl Debug for GatewayRuntimeState
impl Debug for GatewayRuntimeState
impl Eq for GatewayRuntimeState
Source§impl PartialEq for GatewayRuntimeState
impl PartialEq for GatewayRuntimeState
impl StructuralPartialEq for GatewayRuntimeState
Auto Trait Implementations§
impl Freeze for GatewayRuntimeState
impl RefUnwindSafe for GatewayRuntimeState
impl Send for GatewayRuntimeState
impl Sync for GatewayRuntimeState
impl Unpin for GatewayRuntimeState
impl UnsafeUnpin for GatewayRuntimeState
impl UnwindSafe for GatewayRuntimeState
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