Enum kubos_app::RunLevel [−][src]
pub enum RunLevel { OnBoot, OnCommand, }
The different ways an application can be started
Variants
OnBoot
Logic intended to be run if the application is started at system boot time
OnCommand
Logic intended to be run if the application is started manually
Trait Implementations
impl Clone for RunLevel
[src]
impl Clone for RunLevel
fn clone(&self) -> RunLevel
[src]
fn clone(&self) -> RunLevel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for RunLevel
[src]
impl Debug for RunLevel
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for RunLevel
[src]
impl PartialEq for RunLevel
fn eq(&self, other: &RunLevel) -> bool
[src]
fn eq(&self, other: &RunLevel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Display for RunLevel
[src]
impl Display for RunLevel