Struct quicr::SendStream [−][src]
pub struct SendStream(_);
A stream that can only be used to send data
Trait Implementations
impl Write for SendStream
[src]
impl Write for SendStream
fn poll_write(&mut self, buf: &[u8]) -> Poll<usize, WriteError>
[src]
fn poll_write(&mut self, buf: &[u8]) -> Poll<usize, WriteError>
Write some bytes to the stream.
fn poll_finish(&mut self) -> Poll<(), ConnectionError>
[src]
fn poll_finish(&mut self) -> Poll<(), ConnectionError>
Indicate that no more data will be written. Read more
fn reset(&mut self, error_code: u16)
[src]
fn reset(&mut self, error_code: u16)
Abandon transmitting data on this stream. Read more
impl Write for SendStream
[src]
impl Write for SendStream
fn write(&mut self, buf: &[u8]) -> Result<usize>
[src]
fn write(&mut self, buf: &[u8]) -> Result<usize>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<()>
[src]
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0[src]
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
Writes a formatted string into this writer, returning any error encountered. Read more
ⓘImportant traits for &'a mut Rfn by_ref(&mut self) -> &mut Self
1.0.0[src]
fn by_ref(&mut self) -> &mut Self
Creates a "by reference" adaptor for this instance of Write
. Read more
impl AsyncWrite for SendStream
[src]
impl AsyncWrite for SendStream
fn shutdown(&mut self) -> Poll<(), Error>
[src]
fn shutdown(&mut self) -> Poll<(), Error>
Initiates or attempts to shut down this writer, returning success when the I/O connection has completely shut down. Read more
fn poll_write(&mut self, buf: &[u8]) -> Result<Async<usize>, Error>
[src]
fn poll_write(&mut self, buf: &[u8]) -> Result<Async<usize>, Error>
Attempt to write bytes from buf
into the object. Read more
fn poll_flush(&mut self) -> Result<Async<()>, Error>
[src]
fn poll_flush(&mut self) -> Result<Async<()>, Error>
Attempt to flush the object, ensuring that any buffered data reach their destination. Read more
fn write_buf<B>(&mut self, buf: &mut B) -> Result<Async<usize>, Error> where
B: Buf,
[src]
fn write_buf<B>(&mut self, buf: &mut B) -> Result<Async<usize>, Error> where
B: Buf,
Write a Buf
into this value, returning how many bytes were written. Read more
Auto Trait Implementations
impl !Send for SendStream
impl !Send for SendStream
impl !Sync for SendStream
impl !Sync for SendStream