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§
source§impl Clone for RuleMessage
impl Clone for RuleMessage
source§fn clone(&self) -> RuleMessage
fn clone(&self) -> RuleMessage
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 RuleMessage
impl Debug for RuleMessage
source§impl Default for RuleMessage
impl Default for RuleMessage
source§fn default() -> RuleMessage
fn default() -> RuleMessage
Returns the “default value” for a type. Read more
source§impl Emitable for RuleMessage
impl Emitable for RuleMessage
source§impl<'a, T: AsRef<[u8]> + 'a> Parseable<RuleMessageBuffer<&'a T>> for RuleMessage
impl<'a, T: AsRef<[u8]> + 'a> Parseable<RuleMessageBuffer<&'a T>> for RuleMessage
source§fn parse(buf: &RuleMessageBuffer<&'a T>) -> Result<Self, DecodeError>
fn parse(buf: &RuleMessageBuffer<&'a T>) -> Result<Self, DecodeError>
Deserialize the current type.