#[repr(u8)]pub enum PeerType {
GlobalInstance = 0,
RdInstance = 1,
LocalInstance = 2,
}Expand description
BMP Peer Types (RFC7854 Section 10.2)
Variants§
GlobalInstance = 0
Global Instance Peer
RdInstance = 1
RD Instance Peer
LocalInstance = 2
Local Instance Peer
Trait Implementations§
impl Copy for PeerType
impl Eq for PeerType
impl StructuralPartialEq for PeerType
Auto Trait Implementations§
impl Freeze for PeerType
impl RefUnwindSafe for PeerType
impl Send for PeerType
impl Sync for PeerType
impl Unpin for PeerType
impl UnwindSafe for PeerType
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