#[non_exhaustive]pub enum RouteProtocol {
Show 23 variants
Unspec,
IcmpRedirect,
Kernel,
Boot,
Static,
Gated,
Ra,
Mrt,
Zebra,
Bird,
DnRouted,
Xorp,
Ntk,
Dhcp,
Mrouted,
KeepAlived,
Babel,
Bgp,
Isis,
Ospf,
Rip,
Eigrp,
Other(u8),
}
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.
Unspec
IcmpRedirect
Kernel
Boot
Static
Gated
Ra
Mrt
Zebra
Bird
DnRouted
Xorp
Ntk
Dhcp
Mrouted
KeepAlived
Babel
Bgp
Isis
Ospf
Rip
Eigrp
Other(u8)
Trait Implementations§
Source§impl Clone for RouteProtocol
impl Clone for RouteProtocol
Source§fn clone(&self) -> RouteProtocol
fn clone(&self) -> RouteProtocol
Returns a copy 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 RouteProtocol
impl Debug for RouteProtocol
Source§impl Default for RouteProtocol
impl Default for RouteProtocol
Source§impl Display for RouteProtocol
impl Display for RouteProtocol
Source§impl Emitable for RouteProtocol
impl Emitable for RouteProtocol
Source§impl From<RouteProtocol> for u8
impl From<RouteProtocol> for u8
Source§fn from(t: RouteProtocol) -> u8
fn from(t: RouteProtocol) -> u8
Converts to this type from the input type.
Source§impl From<u8> for RouteProtocol
impl From<u8> for RouteProtocol
Source§impl Hash for RouteProtocol
impl Hash for RouteProtocol
Source§impl Parseable<[u8]> for RouteProtocol
impl Parseable<[u8]> for RouteProtocol
type Error = RouteError
Source§impl PartialEq for RouteProtocol
impl PartialEq for RouteProtocol
impl Copy for RouteProtocol
impl Eq for RouteProtocol
impl StructuralPartialEq for RouteProtocol
Auto Trait Implementations§
impl Freeze for RouteProtocol
impl RefUnwindSafe for RouteProtocol
impl Send for RouteProtocol
impl Sync for RouteProtocol
impl Unpin for RouteProtocol
impl UnwindSafe for RouteProtocol
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)