pub trait Destination: Write + Sealed { // Required methods fn can_patch(&self) -> bool; fn position(&mut self, relative: u64) -> Result<(), Error>; }
Shared destination wrappers; media and raster routes use the same origin rules. Writer access derived by wrapping an actual writer in Forward or SeekBack. Sealed so callers cannot invent seek support independently of the writer.
Forward
SeekBack
Whether this destination can overwrite relative output positions.
Seek relative to the output origin; fails for a forward-only writer.
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".