pub struct UnixIpcTransport { /* private fields */ }Expand description
Unix Domain Socket transport for local IPC
Implementations§
Source§impl UnixIpcTransport
impl UnixIpcTransport
Trait Implementations§
Source§impl Clone for UnixIpcTransport
impl Clone for UnixIpcTransport
Source§fn clone(&self) -> UnixIpcTransport
fn clone(&self) -> UnixIpcTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Drop for UnixIpcTransport
impl Drop for UnixIpcTransport
Source§impl TransportChannel for UnixIpcTransport
impl TransportChannel for UnixIpcTransport
Source§fn send_batch<'life0, 'async_trait>(
&'life0 self,
messages: Vec<CanonicalMessage>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_batch<'life0, 'async_trait>(
&'life0 self,
messages: Vec<CanonicalMessage>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a batch of messages
Source§fn recv_batch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<CanonicalMessage>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn recv_batch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<CanonicalMessage>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Receive a batch of messages (blocking)
Source§fn try_recv_batch(&self) -> Result<Option<Vec<CanonicalMessage>>>
fn try_recv_batch(&self) -> Result<Option<Vec<CanonicalMessage>>>
Try to receive a batch without blocking
Auto Trait Implementations§
impl !RefUnwindSafe for UnixIpcTransport
impl !UnwindSafe for UnixIpcTransport
impl Freeze for UnixIpcTransport
impl Send for UnixIpcTransport
impl Sync for UnixIpcTransport
impl Unpin for UnixIpcTransport
impl UnsafeUnpin for UnixIpcTransport
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