Enum service_manager::ServiceLevel
source · pub enum ServiceLevel {
System,
User,
}
Expand description
Represents whether a service is system-wide or user-level
Variants§
Trait Implementations§
source§impl Clone for ServiceLevel
impl Clone for ServiceLevel
source§fn clone(&self) -> ServiceLevel
fn clone(&self) -> ServiceLevel
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 ServiceLevel
impl Debug for ServiceLevel
source§impl Hash for ServiceLevel
impl Hash for ServiceLevel
source§impl PartialEq<ServiceLevel> for ServiceLevel
impl PartialEq<ServiceLevel> for ServiceLevel
source§fn eq(&self, other: &ServiceLevel) -> bool
fn eq(&self, other: &ServiceLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ServiceLevel
impl Eq for ServiceLevel
impl StructuralEq for ServiceLevel
impl StructuralPartialEq for ServiceLevel
Auto Trait Implementations§
impl RefUnwindSafe for ServiceLevel
impl Send for ServiceLevel
impl Sync for ServiceLevel
impl Unpin for ServiceLevel
impl UnwindSafe for ServiceLevel
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