Enum ethcore::mode::Mode [] [src]

pub enum Mode {
    Off,
    Dark(u64),
    Passive(u64u64),
    Active,
}

IPC-capable shadow-type for client::config::Mode

Variants

Same as ClientMode::Off.

Same as ClientMode::Dark; values in seconds.

Same as ClientMode::Passive; values in seconds.

Same as ClientMode::Active.

Trait Implementations

impl Clone for Mode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Mode
[src]

Formats the value using the given formatter.

impl From<ClientMode> for Mode
[src]

Performs the conversion.