Enum netlink_packet_route::rtnl::RtnlMessage [−][src]
pub enum RtnlMessage {
Show 36 variants
NewLink(LinkMessage),
DelLink(LinkMessage),
GetLink(LinkMessage),
SetLink(LinkMessage),
NewLinkProp(LinkMessage),
DelLinkProp(LinkMessage),
NewAddress(AddressMessage),
DelAddress(AddressMessage),
GetAddress(AddressMessage),
NewNeighbour(NeighbourMessage),
GetNeighbour(NeighbourMessage),
DelNeighbour(NeighbourMessage),
NewNeighbourTable(NeighbourTableMessage),
GetNeighbourTable(NeighbourTableMessage),
SetNeighbourTable(NeighbourTableMessage),
NewRoute(RouteMessage),
DelRoute(RouteMessage),
GetRoute(RouteMessage),
NewQueueDiscipline(TcMessage),
DelQueueDiscipline(TcMessage),
GetQueueDiscipline(TcMessage),
NewTrafficClass(TcMessage),
DelTrafficClass(TcMessage),
GetTrafficClass(TcMessage),
NewTrafficFilter(TcMessage),
DelTrafficFilter(TcMessage),
GetTrafficFilter(TcMessage),
NewTrafficChain(TcMessage),
DelTrafficChain(TcMessage),
GetTrafficChain(TcMessage),
NewNsId(NsidMessage),
DelNsId(NsidMessage),
GetNsId(NsidMessage),
NewRule(RuleMessage),
DelRule(RuleMessage),
GetRule(RuleMessage),
}
Variants
NewLink(LinkMessage)
Tuple Fields
0: LinkMessage
DelLink(LinkMessage)
Tuple Fields
0: LinkMessage
GetLink(LinkMessage)
Tuple Fields
0: LinkMessage
SetLink(LinkMessage)
Tuple Fields
0: LinkMessage
NewLinkProp(LinkMessage)
Tuple Fields
0: LinkMessage
DelLinkProp(LinkMessage)
Tuple Fields
0: LinkMessage
NewAddress(AddressMessage)
Tuple Fields
DelAddress(AddressMessage)
Tuple Fields
GetAddress(AddressMessage)
Tuple Fields
NewNeighbour(NeighbourMessage)
Tuple Fields
GetNeighbour(NeighbourMessage)
Tuple Fields
DelNeighbour(NeighbourMessage)
Tuple Fields
NewNeighbourTable(NeighbourTableMessage)
Tuple Fields
GetNeighbourTable(NeighbourTableMessage)
Tuple Fields
SetNeighbourTable(NeighbourTableMessage)
Tuple Fields
NewRoute(RouteMessage)
Tuple Fields
0: RouteMessage
DelRoute(RouteMessage)
Tuple Fields
0: RouteMessage
GetRoute(RouteMessage)
Tuple Fields
0: RouteMessage
NewQueueDiscipline(TcMessage)
Tuple Fields
0: TcMessage
DelQueueDiscipline(TcMessage)
Tuple Fields
0: TcMessage
GetQueueDiscipline(TcMessage)
Tuple Fields
0: TcMessage
NewTrafficClass(TcMessage)
Tuple Fields
0: TcMessage
DelTrafficClass(TcMessage)
Tuple Fields
0: TcMessage
GetTrafficClass(TcMessage)
Tuple Fields
0: TcMessage
NewTrafficFilter(TcMessage)
Tuple Fields
0: TcMessage
DelTrafficFilter(TcMessage)
Tuple Fields
0: TcMessage
GetTrafficFilter(TcMessage)
Tuple Fields
0: TcMessage
NewTrafficChain(TcMessage)
Tuple Fields
0: TcMessage
DelTrafficChain(TcMessage)
Tuple Fields
0: TcMessage
GetTrafficChain(TcMessage)
Tuple Fields
0: TcMessage
NewNsId(NsidMessage)
Tuple Fields
0: NsidMessage
DelNsId(NsidMessage)
Tuple Fields
0: NsidMessage
GetNsId(NsidMessage)
Tuple Fields
0: NsidMessage
NewRule(RuleMessage)
Tuple Fields
0: RuleMessage
DelRule(RuleMessage)
Tuple Fields
0: RuleMessage
GetRule(RuleMessage)
Tuple Fields
0: RuleMessage
Implementations
Trait Implementations
Performs the conversion.
type Error = DecodeError
Deserialize the given buffer into Self
.
Return the length of the serialized data. Read more
Serialize this types and write the serialized data into the given buffer.
buffer
’s length is exactly InnerMessage::buffer_len()
.
It means that if InnerMessage::buffer_len()
is buggy and does not return the appropriate length,
bad things can happen: Read more
impl<'a, T: AsRef<[u8]> + ?Sized> ParseableParametrized<RtnlMessageBuffer<&'a T>, u16> for RtnlMessage
impl<'a, T: AsRef<[u8]> + ?Sized> ParseableParametrized<RtnlMessageBuffer<&'a T>, u16> for RtnlMessage
fn parse_with_param(
buf: &RtnlMessageBuffer<&'a T>,
message_type: u16
) -> Result<Self, DecodeError>
fn parse_with_param(
buf: &RtnlMessageBuffer<&'a T>,
message_type: u16
) -> Result<Self, DecodeError>
Deserialize the current type.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RtnlMessage
impl Send for RtnlMessage
impl Sync for RtnlMessage
impl Unpin for RtnlMessage
impl UnwindSafe for RtnlMessage
Blanket Implementations
Mutably borrows from an owned value. Read more