Enum zettabgp::BgpTransportMode
source · pub enum BgpTransportMode {
IPv4,
IPv6,
}
Expand description
BGP session transport - ipv4 or ipv6.
Variants§
Trait Implementations§
source§impl Clone for BgpTransportMode
impl Clone for BgpTransportMode
source§fn clone(&self) -> BgpTransportMode
fn clone(&self) -> BgpTransportMode
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 BgpTransportMode
impl Debug for BgpTransportMode
source§impl From<IpAddr> for BgpTransportMode
impl From<IpAddr> for BgpTransportMode
source§impl PartialEq for BgpTransportMode
impl PartialEq for BgpTransportMode
source§fn eq(&self, other: &BgpTransportMode) -> bool
fn eq(&self, other: &BgpTransportMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BgpTransportMode
impl Eq for BgpTransportMode
impl StructuralEq for BgpTransportMode
impl StructuralPartialEq for BgpTransportMode
Auto Trait Implementations§
impl RefUnwindSafe for BgpTransportMode
impl Send for BgpTransportMode
impl Sync for BgpTransportMode
impl Unpin for BgpTransportMode
impl UnwindSafe for BgpTransportMode
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