Enum ethsync::NonReservedPeerMode [] [src]

pub enum NonReservedPeerMode {
    Accept,
    Deny,
}

Non-reserved peer modes.

Variants

Accept them. This is the default.

Deny them.

Methods

impl NonReservedPeerMode

Attempt to parse the peer mode from a string.

Trait Implementations

impl Eq for NonReservedPeerMode

impl PartialEq<NonReservedPeerMode> for NonReservedPeerMode

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

This method tests for !=.

impl Debug for NonReservedPeerMode

Formats the value using the given formatter.

impl Clone for NonReservedPeerMode

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more