Struct web3::api::Net[][src]

pub struct Net<T> { /* fields omitted */ }

Net namespace

Methods

impl<T: Transport> Net<T>
[src]

Returns protocol version

Returns number of peers connected to node.

Whether the node is listening for network connections

Trait Implementations

impl<T: Debug> Debug for Net<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for Net<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Transport> Namespace<T> for Net<T>
[src]

Creates new API namespace

Important traits for &'a mut R

Borrows a transport.

Auto Trait Implementations

impl<T> Send for Net<T> where
    T: Send

impl<T> Sync for Net<T> where
    T: Sync