pub enum LinuxService {
SysV,
InitD,
SystemD,
Other(String),
Unknown,
}Variants§
Trait Implementations§
Source§impl Clone for LinuxService
impl Clone for LinuxService
Source§fn clone(&self) -> LinuxService
fn clone(&self) -> LinuxService
Returns a duplicate 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 LinuxService
impl Debug for LinuxService
Source§impl Default for LinuxService
impl Default for LinuxService
Source§fn default() -> LinuxService
fn default() -> LinuxService
Returns the “default value” for a type. Read more
Source§impl Display for LinuxService
impl Display for LinuxService
Source§impl Ord for LinuxService
impl Ord for LinuxService
Source§fn cmp(&self, other: &LinuxService) -> Ordering
fn cmp(&self, other: &LinuxService) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LinuxService
impl PartialEq for LinuxService
Source§impl PartialOrd for LinuxService
impl PartialOrd for LinuxService
Source§impl Serialize for LinuxService
impl Serialize for LinuxService
impl Eq for LinuxService
impl StructuralPartialEq for LinuxService
Auto Trait Implementations§
impl Freeze for LinuxService
impl RefUnwindSafe for LinuxService
impl Send for LinuxService
impl Sync for LinuxService
impl Unpin for LinuxService
impl UnwindSafe for LinuxService
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