pub enum ServiceControl {
Stop,
Pause,
Continue,
Interrogate,
}Expand description
Service control codes that can be sent to a service.
Variants§
Stop
Request service stop.
Pause
Request service pause.
Continue
Request service continue.
Interrogate
Request service status refresh.
Trait Implementations§
Source§impl Clone for ServiceControl
impl Clone for ServiceControl
Source§fn clone(&self) -> ServiceControl
fn clone(&self) -> ServiceControl
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 ServiceControl
impl Debug for ServiceControl
Source§impl PartialEq for ServiceControl
impl PartialEq for ServiceControl
impl Copy for ServiceControl
impl Eq for ServiceControl
impl StructuralPartialEq for ServiceControl
Auto Trait Implementations§
impl Freeze for ServiceControl
impl RefUnwindSafe for ServiceControl
impl Send for ServiceControl
impl Sync for ServiceControl
impl Unpin for ServiceControl
impl UnsafeUnpin for ServiceControl
impl UnwindSafe for ServiceControl
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