pub type NonEmptyByteVec = NonEmptyVec<u8>;Available on crate features
std or alloc only.Expand description
Represents non-empty byte vectors, NonEmptyVec<u8>.
Aliased Type§
pub struct NonEmptyByteVec { /* private fields */ }Trait Implementations§
Source§impl Write for NonEmptyByteVec
Available on crate feature std only.
impl Write for NonEmptyByteVec
Available on crate feature
std only.Source§fn write(&mut self, buffer: &[u8]) -> Result<usize>
fn write(&mut self, buffer: &[u8]) -> Result<usize>
Writes a buffer into this writer, returning how many bytes were written. Read more
Source§fn write_all(&mut self, buffer: &[u8]) -> Result<()>
fn write_all(&mut self, buffer: &[u8]) -> Result<()>
Attempts to write an entire buffer into this writer. Read more
Source§fn write_fmt(&mut self, arguments: Arguments<'_>) -> Result<()>
fn write_fmt(&mut self, arguments: Arguments<'_>) -> Result<()>
Writes a formatted string into this writer, returning any error
encountered. Read more
Source§fn flush(&mut self) -> Result<()>
fn flush(&mut self) -> Result<()>
Flushes this output stream, ensuring that all intermediately buffered
contents reach their destination. Read more
Source§fn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
🔬This is a nightly-only experimental API. (
can_vector)