pub enum LifecycleSignal {
Shutdown,
Reload,
}Expand description
Lifecycle-Signale, die der Daemon empfangen kann.
Variants§
Shutdown
SIGTERM/SIGINT — beginne mit Shutdown.
Reload
SIGHUP — Config-Reload (TLS-Cert + ACL hot-reload).
Trait Implementations§
Source§impl Clone for LifecycleSignal
impl Clone for LifecycleSignal
Source§fn clone(&self) -> LifecycleSignal
fn clone(&self) -> LifecycleSignal
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 moreSource§impl Debug for LifecycleSignal
impl Debug for LifecycleSignal
Source§impl PartialEq for LifecycleSignal
impl PartialEq for LifecycleSignal
Source§fn eq(&self, other: &LifecycleSignal) -> bool
fn eq(&self, other: &LifecycleSignal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LifecycleSignal
impl Eq for LifecycleSignal
impl StructuralPartialEq for LifecycleSignal
Auto Trait Implementations§
impl Freeze for LifecycleSignal
impl RefUnwindSafe for LifecycleSignal
impl Send for LifecycleSignal
impl Sync for LifecycleSignal
impl Unpin for LifecycleSignal
impl UnsafeUnpin for LifecycleSignal
impl UnwindSafe for LifecycleSignal
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