[−][src]Trait rkyv_dyn::DynWrite
An object-safe version of Write
.
Instead of an associated error type, DynWrite
returns the
DynError
type. If you have a writer that already implements
Write
, then it will automatically implement DynWrite
.
Required methods
fn pos(&self) -> usize
Returns the current position of the writer.
fn write(&mut self, bytes: &[u8]) -> Result<(), DynError>
Attempts to write the given bytes to the writer.