pub enum HoldBy {
OnFailure,
Daemon,
}Expand description
Who applied a hold: systemd’s OnFailure= (seen by the daemon) or the
daemon itself, for a stop outside Planarian that is not attributed.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HoldBy
impl<'de> Deserialize<'de> for HoldBy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for HoldBy
impl Eq for HoldBy
impl StructuralPartialEq for HoldBy
Auto Trait Implementations§
impl Freeze for HoldBy
impl RefUnwindSafe for HoldBy
impl Send for HoldBy
impl Sync for HoldBy
impl Unpin for HoldBy
impl UnsafeUnpin for HoldBy
impl UnwindSafe for HoldBy
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