#[non_exhaustive]pub enum RtnlAddressRequest {
Ipv4AddrsGet {
if_id: u32,
scope: Option<AddressScope>,
},
Ipv6AddrsGet {
if_id: u32,
scope: Option<AddressScope>,
},
Ipv4AddrSet {
prefix: Ipv4Net,
if_id: u32,
},
Ipv6AddrSet {
prefix: Ipv6Net,
if_id: u32,
},
Ipv4AddrDel {
prefix: Ipv4Net,
if_id: u32,
},
Ipv6AddrDel {
prefix: Ipv6Net,
if_id: 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.
Trait Implementations§
Source§impl Clone for RtnlAddressRequest
impl Clone for RtnlAddressRequest
Source§fn clone(&self) -> RtnlAddressRequest
fn clone(&self) -> RtnlAddressRequest
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 RtnlAddressRequest
impl Debug for RtnlAddressRequest
Source§impl PartialEq for RtnlAddressRequest
impl PartialEq for RtnlAddressRequest
impl StructuralPartialEq for RtnlAddressRequest
Auto Trait Implementations§
impl Freeze for RtnlAddressRequest
impl RefUnwindSafe for RtnlAddressRequest
impl Send for RtnlAddressRequest
impl Sync for RtnlAddressRequest
impl Unpin for RtnlAddressRequest
impl UnsafeUnpin for RtnlAddressRequest
impl UnwindSafe for RtnlAddressRequest
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