Enum ethcore::client::Mode  
                   
                       [−]
                   
               [src]
Operating mode for the client.
Variants
ActiveAlways on.
Passive(Duration, Duration)Goes offline after client is inactive for some (given) time, but comes back online after a while of inactivity.
Dark(Duration)Goes offline after client is inactive for some (given) time and stays inactive.
OffAlways off.
Trait Implementations
impl Debug for Mode[src] 
impl Debug for Modefn fmt(&self, __arg_0: &mut Formatter) -> Result[src] 
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Mode[src] 
impl Eq for Modeimpl PartialEq for Mode[src] 
impl PartialEq for Modefn eq(&self, __arg_0: &Mode) -> bool[src] 
fn eq(&self, __arg_0: &Mode) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Mode) -> bool[src] 
fn ne(&self, __arg_0: &Mode) -> boolThis method tests for !=.
impl Clone for Mode[src] 
impl Clone for Modefn clone(&self) -> Mode[src] 
fn clone(&self) -> ModeReturns 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 Default for Mode[src] 
impl Default for Modeimpl Display for Mode[src] 
impl Display for Mode