Struct rbatis_core::runtime::io::Sink [−][src]
pub struct Sink { /* fields omitted */ }
Expand description
A writer that consumes and drops all data.
This writer is constructed by the sink
function. See its documentation
for more.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sink
impl UnwindSafe for Sink
Blanket Implementations
impl<W> AsyncWriteExt for W where
W: AsyncWrite + ?Sized,
impl<W> AsyncWriteExt for W where
W: AsyncWrite + ?Sized,
Writes some bytes into the byte stream. Read more
Like [write()
][AsyncWriteExt::write()
], except that it writes a slice of buffers. Read more
Writes an entire buffer into the byte stream. Read more
Flushes the stream to ensure that all buffered contents reach their destination. Read more
Closes the writer. Read more
Boxes the writer and changes its type to dyn AsyncWrite + Send + 'a
. Read more
Mutably borrows from an owned value. Read more