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
fn new(transport: T) -> Self where
Self: Sized,
Self: Sized,
Creates new API namespace
fn transport(&self) -> &T
Borrows a transport.