#[non_exhaustive]pub enum RtnlRouteResponse {
Success,
Failed,
NotImplemented,
NotFound,
Ipv4RouteList(Vec<Ipv4Route>),
Ipv6RouteList(Vec<Ipv6Route>),
Ipv4Route(Ipv4Route),
Ipv6Route(Ipv6Route),
}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
NotImplemented
NotFound
Ipv4RouteList(Vec<Ipv4Route>)
Ipv6RouteList(Vec<Ipv6Route>)
Ipv4Route(Ipv4Route)
Ipv6Route(Ipv6Route)
Trait Implementations§
Source§impl Clone for RtnlRouteResponse
impl Clone for RtnlRouteResponse
Source§fn clone(&self) -> RtnlRouteResponse
fn clone(&self) -> RtnlRouteResponse
Returns a duplicate 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 RtnlRouteResponse
impl Debug for RtnlRouteResponse
Source§impl PartialEq for RtnlRouteResponse
impl PartialEq for RtnlRouteResponse
impl StructuralPartialEq for RtnlRouteResponse
Auto Trait Implementations§
impl Freeze for RtnlRouteResponse
impl RefUnwindSafe for RtnlRouteResponse
impl Send for RtnlRouteResponse
impl Sync for RtnlRouteResponse
impl Unpin for RtnlRouteResponse
impl UnwindSafe for RtnlRouteResponse
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