Trait web3::api::Namespace [] [src]

pub trait Namespace<T: Transport> {
    fn new(transport: T) -> Self
    where
        Self: Sized
;
fn transport(&self) -> &T; }

Common API for all namespaces

Required Methods

Creates new API namespace

Borrows a transport.

Implementors