Expand description
Netlink attributes for RTA_ENCAP
with RTA_ENCAP_TYPE
set to LWTUNNEL_ENCAP_MPLS
.
Deserialize the current type.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Return the length of the serialized data.
Serialize this types and write the serialized data into the given
buffer.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.