pub struct CanonDispatchRule;
Expand description
Canon-specific dispatch rules
Implements Canon’s processor selection logic including model-specific variants and conditional processor selection.
§ExifTool Reference
Based on Canon.pm dispatch patterns and conditional processing.
Trait Implementations§
Source§impl DispatchRule for CanonDispatchRule
impl DispatchRule for CanonDispatchRule
Source§fn applies_to(&self, context: &ProcessorContext) -> bool
fn applies_to(&self, context: &ProcessorContext) -> bool
Check if this rule applies to the given context Read more
Source§fn select_processor(
&self,
candidates: &[(ProcessorKey, Arc<dyn BinaryDataProcessor>, ProcessorCapability)],
context: &ProcessorContext,
) -> Option<(ProcessorKey, Arc<dyn BinaryDataProcessor>)>
fn select_processor( &self, candidates: &[(ProcessorKey, Arc<dyn BinaryDataProcessor>, ProcessorCapability)], context: &ProcessorContext, ) -> Option<(ProcessorKey, Arc<dyn BinaryDataProcessor>)>
Select a processor from the available candidates Read more
Source§fn description(&self) -> &str
fn description(&self) -> &str
Get a human-readable description of this rule
Auto Trait Implementations§
impl Freeze for CanonDispatchRule
impl RefUnwindSafe for CanonDispatchRule
impl Send for CanonDispatchRule
impl Sync for CanonDispatchRule
impl Unpin for CanonDispatchRule
impl UnwindSafe for CanonDispatchRule
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