pub enum ProtocolErrorValues {
UnsupportedVersion(u8),
UnknownOpenOption(u8),
}Variants§
UnsupportedVersion(u8)
UnsupportedVersion is returned when the BGP Open message received is for a
version other than one we support. The unsupported version number is the value.
UnknownOpenOption(u8)
UnknownOpenOption is returned with the open option type code that is unknown.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProtocolErrorValues
impl RefUnwindSafe for ProtocolErrorValues
impl Send for ProtocolErrorValues
impl Sync for ProtocolErrorValues
impl Unpin for ProtocolErrorValues
impl UnsafeUnpin for ProtocolErrorValues
impl UnwindSafe for ProtocolErrorValues
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