Struct ethers_providers::Ipc
source · pub struct Ipc { /* private fields */ }Expand description
Unix Domain Sockets (IPC) transport.
Implementations
Trait Implementations
sourceimpl JsonRpcClient for Ipc
impl JsonRpcClient for Ipc
sourcefn 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
sourceimpl 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
Auto Trait Implementations
impl !RefUnwindSafe for Ipc
impl Send for Ipc
impl Sync for Ipc
impl Unpin for Ipc
impl !UnwindSafe for Ipc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more