Enum ethsync::AllowIP [] [src]

pub enum AllowIP {
    All,
    Private,
    Public,
}

IP fiter

Variants

Connect to any address

Connect to private network only

Connect to public network only

Methods

impl AllowIP
[src]

Attempt to parse the peer mode from a string.

Trait Implementations

impl Clone for AllowIP
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AllowIP
[src]

Formats the value using the given formatter.

impl PartialEq for AllowIP
[src]

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

This method tests for !=.

impl Eq for AllowIP
[src]