pub struct OdfHandler { /* private fields */ }Expand description
Removal of metadata from OpenDocument documents.
One handler type serving three formats, instantiated once per format rather than branching
internally, so that MetadataHandler::format keeps returning the format the registry
dispatched on.
Implementations§
Trait Implementations§
Source§impl Clone for OdfHandler
impl Clone for OdfHandler
impl Copy for OdfHandler
Source§impl Debug for OdfHandler
impl Debug for OdfHandler
Source§impl MetadataHandler for OdfHandler
impl MetadataHandler for OdfHandler
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable identifier, matching
Format::id.Source§fn inspect(
&self,
input: &[u8],
options: &InspectOptions,
) -> Result<MetadataReport>
fn inspect( &self, input: &[u8], options: &InspectOptions, ) -> Result<MetadataReport>
Report what metadata the file contains, without modifying anything. Read more
Auto Trait Implementations§
impl Freeze for OdfHandler
impl RefUnwindSafe for OdfHandler
impl Send for OdfHandler
impl Sync for OdfHandler
impl Unpin for OdfHandler
impl UnsafeUnpin for OdfHandler
impl UnwindSafe for OdfHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more