pub struct OoxmlHandler { /* private fields */ }Expand description
Removal of metadata from Office Open XML 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 OoxmlHandler
impl Clone for OoxmlHandler
impl Copy for OoxmlHandler
Source§impl Debug for OoxmlHandler
impl Debug for OoxmlHandler
Source§impl MetadataHandler for OoxmlHandler
impl MetadataHandler for OoxmlHandler
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 OoxmlHandler
impl RefUnwindSafe for OoxmlHandler
impl Send for OoxmlHandler
impl Sync for OoxmlHandler
impl Unpin for OoxmlHandler
impl UnsafeUnpin for OoxmlHandler
impl UnwindSafe for OoxmlHandler
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