#[non_exhaustive]pub enum RtnlLinkResponse {
Success,
Failed,
FailedWithMessage(String),
NotImplemented,
NotFound,
InterfaceList(Vec<Interface>),
Interface(Interface),
MacAddr(MacAddr),
Mtu(u32),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Success
Failed
FailedWithMessage(String)
NotImplemented
NotFound
InterfaceList(Vec<Interface>)
Interface(Interface)
MacAddr(MacAddr)
Mtu(u32)
Trait Implementations§
Source§impl Clone for RtnlLinkResponse
impl Clone for RtnlLinkResponse
Source§fn clone(&self) -> RtnlLinkResponse
fn clone(&self) -> RtnlLinkResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RtnlLinkResponse
impl Debug for RtnlLinkResponse
Source§impl PartialEq for RtnlLinkResponse
impl PartialEq for RtnlLinkResponse
impl StructuralPartialEq for RtnlLinkResponse
Auto Trait Implementations§
impl Freeze for RtnlLinkResponse
impl RefUnwindSafe for RtnlLinkResponse
impl Send for RtnlLinkResponse
impl Sync for RtnlLinkResponse
impl Unpin for RtnlLinkResponse
impl UnsafeUnpin for RtnlLinkResponse
impl UnwindSafe for RtnlLinkResponse
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