Struct ethers_providers::Ipc
source · pub struct Ipc { /* private fields */ }
Expand description
Unix Domain Sockets (IPC) transport.
Implementations§
Trait Implementations§
source§impl JsonRpcClient for Ipc
impl JsonRpcClient for Ipc
source§fn request<'life0, 'life1, 'async_trait, T, R>(
&'life0 self,
method: &'life1 str,
params: T
) -> Pin<Box<dyn Future<Output = Result<R, IpcError>> + Send + 'async_trait>>where
T: 'async_trait + Serialize + Send + Sync,
R: 'async_trait + DeserializeOwned,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn request<'life0, 'life1, 'async_trait, T, R>(
&'life0 self,
method: &'life1 str,
params: T
) -> Pin<Box<dyn Future<Output = Result<R, IpcError>> + Send + 'async_trait>>where
T: 'async_trait + Serialize + Send + Sync,
R: 'async_trait + DeserializeOwned,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Sends a request with the provided JSON-RPC and parameters serialized as JSON
source§impl PubsubClient for Ipc
impl PubsubClient for Ipc
§type NotificationStream = UnboundedReceiver<Box<RawValue, Global>>
type NotificationStream = UnboundedReceiver<Box<RawValue, Global>>
The type of stream this transport returns