Enum ethcore::client::Mode
[−]
[src]
Operating mode for the client.
Variants
Active
Always 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.
Off
Always off.
Trait Implementations
impl Debug for Mode
[src]
impl Debug for Mode
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Mode
[src]
impl Eq for Mode
impl PartialEq for Mode
[src]
impl PartialEq for Mode
fn eq(&self, __arg_0: &Mode) -> bool
[src]
fn eq(&self, __arg_0: &Mode) -> bool
This 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) -> bool
This method tests for !=
.
impl Clone for Mode
[src]
impl Clone for Mode
fn clone(&self) -> Mode
[src]
fn clone(&self) -> Mode
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 Default for Mode
[src]
impl Default for Mode
impl Display for Mode
[src]
impl Display for Mode