Struct netlink_packet_xfrm::selector::Selector
source · pub struct Selector {
pub daddr: Address,
pub saddr: Address,
pub dport: u16,
pub dport_mask: u16,
pub sport: u16,
pub sport_mask: u16,
pub family: u16,
pub prefixlen_d: u8,
pub prefixlen_s: u8,
pub proto: u8,
pub ifindex: i32,
pub user: u32,
}
Fields§
§daddr: Address
§saddr: Address
§dport: u16
§dport_mask: u16
§sport: u16
§sport_mask: u16
§family: u16
§prefixlen_d: u8
§prefixlen_s: u8
§proto: u8
§ifindex: i32
§user: u32
Implementations§
Trait Implementations§
source§impl<T: AsRef<[u8]> + ?Sized> Parseable<SelectorBuffer<&T>> for Selector
impl<T: AsRef<[u8]> + ?Sized> Parseable<SelectorBuffer<&T>> for Selector
source§fn parse(buf: &SelectorBuffer<&T>) -> Result<Self, DecodeError>
fn parse(buf: &SelectorBuffer<&T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<Selector> for Selector
impl PartialEq<Selector> for Selector
impl Copy for Selector
impl Eq for Selector
impl StructuralEq for Selector
impl StructuralPartialEq for Selector
Auto Trait Implementations§
impl RefUnwindSafe for Selector
impl Send for Selector
impl Sync for Selector
impl Unpin for Selector
impl UnwindSafe for Selector
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