Struct pfctl::PoolAddrList
source · pub struct PoolAddrList { /* private fields */ }
Expand description
Represents a list of IPs used to set up a table of addresses for traffic redirection in PF.
See pf_rule.rpool.list for more info.
This class retains the array of pf_pooladdr
to make sure that pointers used in pf_palist
reference the valid memory.
One should never use pf_palist
produced by this class past the lifetime expiration of it.
Implementations§
Auto Trait Implementations§
impl Freeze for PoolAddrList
impl RefUnwindSafe for PoolAddrList
impl !Send for PoolAddrList
impl !Sync for PoolAddrList
impl Unpin for PoolAddrList
impl UnwindSafe for PoolAddrList
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