pub struct SecurityScannerPlugin { /* private fields */ }Expand description
Security scanner plugin
Implementations§
Trait Implementations§
Source§impl AstPlugin for SecurityScannerPlugin
impl AstPlugin for SecurityScannerPlugin
Source§fn metadata(&self) -> &PluginMetadata
fn metadata(&self) -> &PluginMetadata
Get plugin metadata
Source§fn process_node(
&self,
node: &mut AstNode,
context: &mut PluginContext,
) -> PluginResult
fn process_node( &self, node: &mut AstNode, context: &mut PluginContext, ) -> PluginResult
Process a single node
Source§fn clone_plugin(&self) -> Box<dyn AstPlugin>
fn clone_plugin(&self) -> Box<dyn AstPlugin>
Clone the plugin (for plugin instances)
Source§fn initialize(&mut self, context: &mut PluginContext) -> PluginResult
fn initialize(&mut self, context: &mut PluginContext) -> PluginResult
Initialize the plugin
Source§fn process_document(
&self,
document: &mut PdfDocument,
context: &mut PluginContext,
) -> PluginResult
fn process_document( &self, document: &mut PdfDocument, context: &mut PluginContext, ) -> PluginResult
Process the entire document
Source§fn finalize(&self, context: &mut PluginContext) -> PluginResult
fn finalize(&self, context: &mut PluginContext) -> PluginResult
Finalize processing
Source§fn config_schema(&self) -> Option<Value>
fn config_schema(&self) -> Option<Value>
Get plugin configuration schema
Source§fn set_config(&mut self, config: Value) -> PluginResult
fn set_config(&mut self, config: Value) -> PluginResult
Set plugin configuration
Source§fn can_process_node_type(&self, node_type: &NodeType) -> bool
fn can_process_node_type(&self, node_type: &NodeType) -> bool
Check if plugin can process specific node type
Source§fn capabilities(&self) -> PluginCapabilities
fn capabilities(&self) -> PluginCapabilities
Get plugin capabilities
Auto Trait Implementations§
impl Freeze for SecurityScannerPlugin
impl RefUnwindSafe for SecurityScannerPlugin
impl Send for SecurityScannerPlugin
impl Sync for SecurityScannerPlugin
impl Unpin for SecurityScannerPlugin
impl UnwindSafe for SecurityScannerPlugin
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more