pub trait WriteBytes {
// Required methods
fn write(&mut self, bytes: &[u8]) -> IonResult<()>;
fn patch(&mut self, at: u64, bytes: &[u8]) -> IonResult<()>;
fn position(&mut self) -> IonResult<u64>;
}Required Methods§
fn write(&mut self, bytes: &[u8]) -> IonResult<()>
fn patch(&mut self, at: u64, bytes: &[u8]) -> IonResult<()>
fn position(&mut self) -> IonResult<u64>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".