pub struct RuleHeader {
pub family: AddressFamily,
pub dst_len: u8,
pub src_len: u8,
pub tos: u8,
pub table: u8,
pub action: RuleAction,
pub flags: RuleFlags,
}
Fields§
§family: AddressFamily
§dst_len: u8
§src_len: u8
§tos: u8
§table: u8
§action: RuleAction
§flags: RuleFlags
Trait Implementations§
Source§impl Clone for RuleHeader
impl Clone for RuleHeader
Source§fn clone(&self) -> RuleHeader
fn clone(&self) -> RuleHeader
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RuleHeader
impl Debug for RuleHeader
Source§impl Default for RuleHeader
impl Default for RuleHeader
Source§fn default() -> RuleHeader
fn default() -> RuleHeader
Returns the “default value” for a type. Read more
Source§impl Emitable for RuleHeader
impl Emitable for RuleHeader
Source§impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<RuleMessageBuffer<&'a T>> for RuleHeader
impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<RuleMessageBuffer<&'a T>> for RuleHeader
Source§impl PartialEq for RuleHeader
impl PartialEq for RuleHeader
impl Eq for RuleHeader
impl StructuralPartialEq for RuleHeader
Auto Trait Implementations§
impl Freeze for RuleHeader
impl RefUnwindSafe for RuleHeader
impl Send for RuleHeader
impl Sync for RuleHeader
impl Unpin for RuleHeader
impl UnwindSafe for RuleHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)