Struct rustls::WriteEarlyData [−][src]
pub struct WriteEarlyData<'a> { /* fields omitted */ }
Stub that implements io::Write and dispatches to write_early_data
.
Implementations
impl<'a> WriteEarlyData<'a>
[src]
impl<'a> WriteEarlyData<'a>
[src]pub fn bytes_left(&self) -> usize
[src]
How many bytes you may send. Writes will become short once this reaches zero.
Trait Implementations
impl<'a> Write for WriteEarlyData<'a>
[src]
impl<'a> Write for WriteEarlyData<'a>
[src]fn write(&mut self, buf: &[u8]) -> Result<usize>
[src]
fn flush(&mut self) -> Result<()>
[src]
pub fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>
1.36.0[src]
pub fn is_write_vectored(&self) -> bool
[src]
pub fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
pub fn write_all_vectored(
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
[src]
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>