[−][src]Struct dfw::process::ProcessContext
Enclosing struct to manage rule processing.
Implementations
impl<'a, B> ProcessContext<'a, B> where
B: FirewallBackend,
DFW<B>: Process<B>,
[src]
B: FirewallBackend,
DFW<B>: Process<B>,
pub fn new(
docker: &'a Docker,
dfw: &'a DFW<B>,
processing_options: &'a ProcessingOptions,
logger: &'a Logger,
dry_run: bool
) -> Result<ProcessContext<'a, B>>
[src]
docker: &'a Docker,
dfw: &'a DFW<B>,
processing_options: &'a ProcessingOptions,
logger: &'a Logger,
dry_run: bool
) -> Result<ProcessContext<'a, B>>
Create a new instance of ProcessDFW
for rule processing.
pub fn process(&mut self) -> Result<()>
[src]
Start the processing using the configuration given at creation.
Auto Trait Implementations
impl<'a, B> !RefUnwindSafe for ProcessContext<'a, B>
impl<'a, B> Send for ProcessContext<'a, B> where
<B as FirewallBackend>::Defaults: Sync,
<B as FirewallBackend>::Defaults: Sync,
impl<'a, B> Sync for ProcessContext<'a, B> where
<B as FirewallBackend>::Defaults: Sync,
<B as FirewallBackend>::Defaults: Sync,
impl<'a, B> Unpin for ProcessContext<'a, B>
impl<'a, B> !UnwindSafe for ProcessContext<'a, B>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,