Enum ethcore::client::Mode[][src]

pub enum Mode {
    Active,
    Passive(DurationDuration),
    Dark(Duration),
    Off,
}

Operating mode for the client.

Variants

Always on.

Goes offline after client is inactive for some (given) time, but comes back online after a while of inactivity.

Goes offline after client is inactive for some (given) time and stays inactive.

Always off.

Trait Implementations

impl Debug for Mode
[src]

Formats the value using the given formatter. Read more

impl Eq for Mode
[src]

impl PartialEq for Mode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Mode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Mode
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Mode

impl Sync for Mode