pub enum SystemdServiceRestartType {
No,
Always,
OnSuccess,
OnFailure,
OnAbnormal,
OnAbort,
OnWatch,
}
Variants§
Trait Implementations§
source§impl Clone for SystemdServiceRestartType
impl Clone for SystemdServiceRestartType
source§fn clone(&self) -> SystemdServiceRestartType
fn clone(&self) -> SystemdServiceRestartType
Returns a copy of the value. Read more
1.0.0 · 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 SystemdServiceRestartType
impl Debug for SystemdServiceRestartType
source§impl Default for SystemdServiceRestartType
impl Default for SystemdServiceRestartType
source§impl Display for SystemdServiceRestartType
impl Display for SystemdServiceRestartType
source§impl Hash for SystemdServiceRestartType
impl Hash for SystemdServiceRestartType
source§impl PartialEq<SystemdServiceRestartType> for SystemdServiceRestartType
impl PartialEq<SystemdServiceRestartType> for SystemdServiceRestartType
source§fn eq(&self, other: &SystemdServiceRestartType) -> bool
fn eq(&self, other: &SystemdServiceRestartType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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