pub struct InMemoryWriter(/* private fields */);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 Freeze for InMemoryWriter
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