pub struct StandardFactory;Expand description
Standard component factory
Trait Implementations§
Source§impl SecurityComponentFactory for StandardFactory
impl SecurityComponentFactory for StandardFactory
Source§fn create_event_processor(
&self,
_config: &Config,
storage: Arc<dyn StorageProvider>,
) -> Result<Arc<dyn SecurityEventProcessor>>
fn create_event_processor( &self, _config: &Config, storage: Arc<dyn StorageProvider>, ) -> Result<Arc<dyn SecurityEventProcessor>>
Create event processor
Source§fn create_scanner(&self, _config: &Config) -> Result<Arc<dyn EnhancedScanner>>
fn create_scanner(&self, _config: &Config) -> Result<Arc<dyn EnhancedScanner>>
Create enhanced scanner
Source§fn create_correlation_engine(
&self,
_config: &Config,
_storage: Arc<dyn StorageProvider>,
) -> Result<Arc<dyn CorrelationEngine>>
fn create_correlation_engine( &self, _config: &Config, _storage: Arc<dyn StorageProvider>, ) -> Result<Arc<dyn CorrelationEngine>>
Create correlation engine
Source§fn create_rate_limiter(
&self,
config: &Config,
storage: Arc<dyn StorageProvider>,
) -> Result<Arc<dyn RateLimiter>>
fn create_rate_limiter( &self, config: &Config, storage: Arc<dyn StorageProvider>, ) -> Result<Arc<dyn RateLimiter>>
Create rate limiter
Source§fn create_security_scanner(
&self,
_config: &Config,
) -> Result<Arc<dyn SecurityScannerTrait>>
fn create_security_scanner( &self, _config: &Config, ) -> Result<Arc<dyn SecurityScannerTrait>>
Create security scanner
Auto Trait Implementations§
impl Freeze for StandardFactory
impl RefUnwindSafe for StandardFactory
impl Send for StandardFactory
impl Sync for StandardFactory
impl Unpin for StandardFactory
impl UnsafeUnpin for StandardFactory
impl UnwindSafe for StandardFactory
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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