pub struct FilterFactory;
Expand description
Factory for creating filters based on configuration.
Implementations§
Source§impl FilterFactory
impl FilterFactory
Sourcepub fn create_filter(
filter_type: &str,
config: Value,
) -> Result<Arc<dyn Filter>, ProxyError>
pub fn create_filter( filter_type: &str, config: Value, ) -> Result<Arc<dyn Filter>, ProxyError>
Create a filter based on the filter type and configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FilterFactory
impl RefUnwindSafe for FilterFactory
impl Send for FilterFactory
impl Sync for FilterFactory
impl Unpin for FilterFactory
impl UnwindSafe for FilterFactory
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