pub struct InMemoryDuplexTransport { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Transport for InMemoryDuplexTransport
impl Transport for InMemoryDuplexTransport
fn send<'life0, 'async_trait>(
&'life0 self,
data: Bytes,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn recv<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Bytes>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn close<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for InMemoryDuplexTransport
impl !RefUnwindSafe for InMemoryDuplexTransport
impl Send for InMemoryDuplexTransport
impl Sync for InMemoryDuplexTransport
impl Unpin for InMemoryDuplexTransport
impl UnwindSafe for InMemoryDuplexTransport
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more