pub enum OpenMsgSubcode {
UnsupportedVersion = 1,
BadPeerAs = 2,
BadBgpId = 3,
UnsupportedOptionalParam = 4,
UnacceptableHoldTime = 6,
UnsupportedCapability = 7,
RoleMismatch = 8,
}Variants§
UnsupportedVersion = 1
BadPeerAs = 2
BadBgpId = 3
UnsupportedOptionalParam = 4
UnacceptableHoldTime = 6
UnsupportedCapability = 7
RoleMismatch = 8
Trait Implementations§
Source§impl Debug for OpenMsgSubcode
impl Debug for OpenMsgSubcode
Source§impl Display for OpenMsgSubcode
impl Display for OpenMsgSubcode
Source§impl Error for OpenMsgSubcode
impl Error for OpenMsgSubcode
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for OpenMsgSubcode
impl RefUnwindSafe for OpenMsgSubcode
impl Send for OpenMsgSubcode
impl Sync for OpenMsgSubcode
impl Unpin for OpenMsgSubcode
impl UnsafeUnpin for OpenMsgSubcode
impl UnwindSafe for OpenMsgSubcode
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