pub struct Signal {Show 16 fields
pub id: String,
pub name: String,
pub unix_number: i32,
pub windows_event: Option<String>,
pub description: String,
pub default_behavior: SignalBehavior,
pub exit_code: i32,
pub timeout_seconds: Option<u32>,
pub cleanup_actions: Vec<String>,
pub usage_notes: Option<String>,
pub double_tap_window_seconds: Option<u32>,
pub double_tap_message: Option<String>,
pub reload_strategy: Option<String>,
pub validation_required: Option<bool>,
pub windows_fallback: Option<WindowsFallback>,
pub platform_overrides: Option<PlatformOverrides>,
}Expand description
Signal definition from the Crucible catalog.
Fields§
§id: StringShort identifier (e.g., “term”, “int”, “hup”)
name: StringSignal name (e.g., “SIGTERM”, “SIGINT”)
unix_number: i32Unix signal number (Linux default)
windows_event: Option<String>Windows console event name, if mapped
description: StringHuman-readable description
default_behavior: SignalBehaviorDefault behavior for this signal
exit_code: i32Exit code when process terminates due to this signal (128+N)
timeout_seconds: Option<u32>Timeout in seconds for graceful operations
cleanup_actions: Vec<String>Cleanup actions to perform
usage_notes: Option<String>Usage notes and guidance
double_tap_window_seconds: Option<u32>Double-tap window in seconds (SIGINT only)
double_tap_message: Option<String>Double-tap hint message (SIGINT only)
reload_strategy: Option<String>Reload strategy (SIGHUP only)
validation_required: Option<bool>Whether validation is required (SIGHUP only)
windows_fallback: Option<WindowsFallback>Windows fallback configuration
platform_overrides: Option<PlatformOverrides>Platform-specific signal number overrides
Trait Implementations§
impl Eq for Signal
impl StructuralPartialEq for Signal
Auto Trait Implementations§
impl Freeze for Signal
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnsafeUnpin for Signal
impl UnwindSafe for Signal
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.