Struct rpc_it::transports::InMemoryWriter
source · pub struct InMemoryWriter(_);Trait Implementations§
source§impl AsyncFrameWrite for InMemoryWriter
impl AsyncFrameWrite for InMemoryWriter
source§fn poll_write(
self: Pin<&mut Self>,
_cx: &mut Context<'_>,
buf: &mut FrameReader<'_>
) -> Poll<Result<()>>
fn poll_write( self: Pin<&mut Self>, _cx: &mut Context<'_>, buf: &mut FrameReader<'_> ) -> Poll<Result<()>>
Write a frame to the underlying transport. It can be called multiple times to write a single
frame. In this case, the input buffer should be advanced accordingly.
source§fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Result<()>>
fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Result<()>>
Flush the underlying transport.
Auto Trait Implementations§
impl !RefUnwindSafe for InMemoryWriter
impl Send for InMemoryWriter
impl Sync for InMemoryWriter
impl Unpin for InMemoryWriter
impl !UnwindSafe for InMemoryWriter
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