pub enum ServiceRestart {
No,
OnSuccess,
OnFailure,
OnAbnormal,
OnWatchdog,
OnAbort,
Always,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ServiceRestart
impl Clone for ServiceRestart
impl Copy for ServiceRestart
Source§impl Debug for ServiceRestart
impl Debug for ServiceRestart
impl Eq for ServiceRestart
Source§impl From<ServiceRestart> for Value<'_>
impl From<ServiceRestart> for Value<'_>
Source§fn from(v: ServiceRestart) -> Self
fn from(v: ServiceRestart) -> Self
Converts to this type from the input type.
Source§impl FromStr for ServiceRestart
impl FromStr for ServiceRestart
Source§impl Hash for ServiceRestart
impl Hash for ServiceRestart
Source§impl PartialEq for ServiceRestart
impl PartialEq for ServiceRestart
impl StructuralPartialEq for ServiceRestart
Source§impl TryFrom<Value<'_>> for ServiceRestart
impl TryFrom<Value<'_>> for ServiceRestart
Auto Trait Implementations§
impl Freeze for ServiceRestart
impl RefUnwindSafe for ServiceRestart
impl Send for ServiceRestart
impl Sync for ServiceRestart
impl Unpin for ServiceRestart
impl UnsafeUnpin for ServiceRestart
impl UnwindSafe for ServiceRestart
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