Struct pfctl::Transaction
source · pub struct Transaction { /* private fields */ }
Expand description
Structure that allows to manipulate rules in batches
Implementations§
source§impl Transaction
impl Transaction
sourcepub fn add_change(&mut self, anchor_name: &str, anchor_change: AnchorChange)
pub fn add_change(&mut self, anchor_name: &str, anchor_change: AnchorChange)
Add change into transaction replacing the prior change registered for corresponding anchor if any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Transaction
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
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