pub struct Ipc { /* private fields */ }
Expand description
Unix Domain Sockets (IPC) transport.
Implementations§
Trait Implementations§
Source§impl BatchTransport for Ipc
impl BatchTransport for Ipc
Source§type Batch = BatchResponse
type Batch = BatchResponse
The type of future this transport returns when a call is made.
Source§fn send_batch<T: IntoIterator<Item = (RequestId, Call)>>(
&self,
requests: T,
) -> Self::Batch
fn send_batch<T: IntoIterator<Item = (RequestId, Call)>>( &self, requests: T, ) -> Self::Batch
Sends a batch of prepared RPC calls.
Source§impl DuplexTransport for Ipc
impl DuplexTransport for Ipc
Source§type NotificationStream = UnboundedReceiver<Value>
type NotificationStream = UnboundedReceiver<Value>
The type of stream this transport returns
Source§fn subscribe(&self, id: SubscriptionId) -> Result<Self::NotificationStream>
fn subscribe(&self, id: SubscriptionId) -> Result<Self::NotificationStream>
Add a subscription to this transport
Source§fn unsubscribe(&self, id: SubscriptionId) -> Result<()>
fn unsubscribe(&self, id: SubscriptionId) -> Result<()>
Remove a subscription from this transport
Auto Trait Implementations§
impl Freeze for Ipc
impl !RefUnwindSafe for Ipc
impl Send for Ipc
impl Sync for Ipc
impl Unpin for Ipc
impl !UnwindSafe for Ipc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more