Struct netlink_packet_route::rtnl::rule::message::RuleMessage
source · [−]pub struct RuleMessage {
pub header: RuleHeader,
pub nlas: Vec<Nla>,
}
Fields
header: RuleHeader
nlas: Vec<Nla>
Trait Implementations
sourceimpl Clone for RuleMessage
impl Clone for RuleMessage
sourcefn clone(&self) -> RuleMessage
fn clone(&self) -> RuleMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RuleMessage
impl Debug for RuleMessage
sourceimpl Default for RuleMessage
impl Default for RuleMessage
sourcefn default() -> RuleMessage
fn default() -> RuleMessage
Returns the “default value” for a type. Read more
sourceimpl Emitable for RuleMessage
impl Emitable for RuleMessage
sourceimpl<'a, T: AsRef<[u8]> + 'a> Parseable<RuleMessageBuffer<&'a T>> for RuleMessage
impl<'a, T: AsRef<[u8]> + 'a> Parseable<RuleMessageBuffer<&'a T>> for RuleMessage
sourcefn parse(buf: &RuleMessageBuffer<&'a T>) -> Result<Self, DecodeError>
fn parse(buf: &RuleMessageBuffer<&'a T>) -> Result<Self, DecodeError>
Deserialize the current type.
sourceimpl PartialEq<RuleMessage> for RuleMessage
impl PartialEq<RuleMessage> for RuleMessage
sourcefn eq(&self, other: &RuleMessage) -> bool
fn eq(&self, other: &RuleMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RuleMessage) -> bool
fn ne(&self, other: &RuleMessage) -> bool
This method tests for !=
.
impl Eq for RuleMessage
impl StructuralEq for RuleMessage
impl StructuralPartialEq for RuleMessage
Auto Trait Implementations
impl RefUnwindSafe for RuleMessage
impl Send for RuleMessage
impl Sync for RuleMessage
impl Unpin for RuleMessage
impl UnwindSafe for RuleMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more