pub struct ShutdownTimeout {
pub node: &'static TaskNode,
}Expand description
A node failed to ack a requested shutdown within SHUTDOWN_ACK_TIMEOUT_MS.
Returned by Supervisor::stop_node, Supervisor::teardown,
Supervisor::teardown_continue and (feature control)
Supervisor::apply_control. The node is still marked running; the sane
escalations are app-level — a hardware watchdog reset, panic!, or a retry.
Fields§
§node: &'static TaskNodeThe node that missed its ack window.
Trait Implementations§
Source§impl Clone for ShutdownTimeout
impl Clone for ShutdownTimeout
Source§fn clone(&self) -> ShutdownTimeout
fn clone(&self) -> ShutdownTimeout
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 ShutdownTimeout
Source§impl Debug for ShutdownTimeout
impl Debug for ShutdownTimeout
Auto Trait Implementations§
impl !RefUnwindSafe for ShutdownTimeout
impl !UnwindSafe for ShutdownTimeout
impl Freeze for ShutdownTimeout
impl Send for ShutdownTimeout
impl Sync for ShutdownTimeout
impl Unpin for ShutdownTimeout
impl UnsafeUnpin for ShutdownTimeout
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