pub trait WriteBuffer: Debug {
// Required method
fn buffer_write(&mut self, data: &[u8]) -> Result<(), Error>;
}Expand description
Support for writing to a byte buffer
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl WriteBuffer for Vec<u8>
Available on crate feature alloc only.
impl WriteBuffer for Vec<u8>
Available on crate feature
alloc only.Implementors§
impl WriteBuffer for SecretBytes
Available on crate feature
alloc only.