pub enum SystemdServiceRestartType {
No,
Always,
OnSuccess,
OnFailure,
OnAbnormal,
OnAbort,
OnWatch,
}
Variants
Trait Implementations
sourceimpl Clone for SystemdServiceRestartType
impl Clone for SystemdServiceRestartType
sourcefn clone(&self) -> SystemdServiceRestartType
fn clone(&self) -> SystemdServiceRestartType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SystemdServiceRestartType
impl Debug for SystemdServiceRestartType
sourceimpl Default for SystemdServiceRestartType
impl Default for SystemdServiceRestartType
sourceimpl Display for SystemdServiceRestartType
impl Display for SystemdServiceRestartType
sourceimpl Hash for SystemdServiceRestartType
impl Hash for SystemdServiceRestartType
sourceimpl PartialEq<SystemdServiceRestartType> for SystemdServiceRestartType
impl PartialEq<SystemdServiceRestartType> for SystemdServiceRestartType
sourcefn eq(&self, other: &SystemdServiceRestartType) -> bool
fn eq(&self, other: &SystemdServiceRestartType) -> bool
impl Copy for SystemdServiceRestartType
impl Eq for SystemdServiceRestartType
impl StructuralEq for SystemdServiceRestartType
impl StructuralPartialEq for SystemdServiceRestartType
Auto Trait Implementations
impl RefUnwindSafe for SystemdServiceRestartType
impl Send for SystemdServiceRestartType
impl Sync for SystemdServiceRestartType
impl Unpin for SystemdServiceRestartType
impl UnwindSafe for SystemdServiceRestartType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more