pub enum SystemdJobType {
Start,
VerifyActive,
Stop,
Reload,
Restart,
TryRestart,
ReloadOrStart,
Other(String),
}
Variants§
Trait Implementations§
Source§impl Clone for SystemdJobType
impl Clone for SystemdJobType
Source§fn clone(&self) -> SystemdJobType
fn clone(&self) -> SystemdJobType
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 SystemdJobType
impl Debug for SystemdJobType
Source§impl<'a> From<&'a str> for SystemdJobType
impl<'a> From<&'a str> for SystemdJobType
Source§fn from(string: &str) -> SystemdJobType
fn from(string: &str) -> SystemdJobType
Converts to this type from the input type.
Source§impl PartialEq for SystemdJobType
impl PartialEq for SystemdJobType
impl Eq for SystemdJobType
impl StructuralPartialEq for SystemdJobType
Auto Trait Implementations§
impl Freeze for SystemdJobType
impl RefUnwindSafe for SystemdJobType
impl Send for SystemdJobType
impl Sync for SystemdJobType
impl Unpin for SystemdJobType
impl UnwindSafe for SystemdJobType
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