Enum bip_dht::Router [] [src]

pub enum Router {
    uTorrent,
    BitTorrent,
    BitComet,
    Transmission,
    Custom(SocketAddr),
}

Enumerates different routers that can be used to bootstrap a dht.

Variants

Bootstrap server maintained by uTorrent.

Bootstrap server maintained by BitTorrent.

Bootstrap server maintained by BitComet.

Bootstrap server maintained by Transmission.

Custom bootstrap server.

Methods

impl Router
[src]

Trait Implementations

impl Copy for Router
[src]

impl Clone for Router
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Router
[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 Router
[src]

impl Hash for Router
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Router
[src]

Formats the value using the given formatter.

impl Display for Router
[src]

Formats the value using the given formatter. Read more