pub struct InProcessStream { /* private fields */ }Trait Implementations§
Source§impl Transport for InProcessStream
impl Transport for InProcessStream
fn send<'life0, 'async_trait>(
&'life0 mut self,
frame: MessageFrame,
) -> Pin<Box<dyn Future<Output = Result<(), TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn recv<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Option<MessageFrame>, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for InProcessStream
impl RefUnwindSafe for InProcessStream
impl Send for InProcessStream
impl Sync for InProcessStream
impl Unpin for InProcessStream
impl UnsafeUnpin for InProcessStream
impl UnwindSafe for InProcessStream
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