pub struct PfIocTable {
pub table: PfrTable,
pub buffer: Vec<PfrAddr>,
/* private fields */
}
Expand description
A Rust-friendly wrapper to #[repr(C)] struct pfioc_table
Fields§
§table: PfrTable
§buffer: Vec<PfrAddr>
Implementations§
Source§impl PfIocTable
impl PfIocTable
Sourcepub fn new(name: &str) -> PfIocTable
pub fn new(name: &str) -> PfIocTable
Constructs a PfIocTable
with a given name
Sourcepub fn default() -> PfIocTable
pub fn default() -> PfIocTable
Constructs a PfIocTable
with empty values
Trait Implementations§
Source§impl Debug for PfIocTable
impl Debug for PfIocTable
Source§impl PartialEq for PfIocTable
impl PartialEq for PfIocTable
Source§impl Translate<pfioc_table> for PfIocTable
impl Translate<pfioc_table> for PfIocTable
Auto Trait Implementations§
impl !Freeze for PfIocTable
impl !RefUnwindSafe for PfIocTable
impl Send for PfIocTable
impl !Sync for PfIocTable
impl Unpin for PfIocTable
impl UnwindSafe for PfIocTable
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