pub struct PfrAddr {
pub addr: IpAddr,
pub ifname: String,
pub subnet: u8,
}
Expand description
A Rust-friendly wrapper #[repr(C)] struct pfr_addr
Fields§
§addr: IpAddr
§ifname: String
§subnet: u8
Implementations§
Trait Implementations§
impl StructuralPartialEq for PfrAddr
Auto Trait Implementations§
impl Freeze for PfrAddr
impl RefUnwindSafe for PfrAddr
impl Send for PfrAddr
impl Sync for PfrAddr
impl Unpin for PfrAddr
impl UnwindSafe for PfrAddr
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