#[repr(u8)]pub enum RtrPduType {
SerialNotify = 0,
SerialQuery = 1,
ResetQuery = 2,
CacheResponse = 3,
IPv4Prefix = 4,
IPv6Prefix = 6,
EndOfData = 7,
CacheReset = 8,
RouterKey = 9,
ErrorReport = 10,
}Expand description
RTR PDU Type
Identifies the type of RTR Protocol Data Unit.
Variants§
SerialNotify = 0
Serial Notify - Server notifies client of new data available
SerialQuery = 1
Serial Query - Client requests incremental update
ResetQuery = 2
Reset Query - Client requests full database
CacheResponse = 3
Cache Response - Server begins sending data
IPv4Prefix = 4
IPv4 Prefix - ROA for IPv4
IPv6Prefix = 6
IPv6 Prefix - ROA for IPv6
EndOfData = 7
End of Data - Server finished sending data
CacheReset = 8
Cache Reset - Server cannot provide incremental update
RouterKey = 9
Router Key - BGPsec router key (v1 only)
ErrorReport = 10
Error Report - Error notification
Implementations§
Trait Implementations§
Source§impl Clone for RtrPduType
impl Clone for RtrPduType
Source§fn clone(&self) -> RtrPduType
fn clone(&self) -> RtrPduType
Returns a duplicate 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 RtrPduType
impl Debug for RtrPduType
Source§impl From<RtrPduType> for u8
impl From<RtrPduType> for u8
Source§fn from(v: RtrPduType) -> Self
fn from(v: RtrPduType) -> Self
Converts to this type from the input type.
Source§impl Hash for RtrPduType
impl Hash for RtrPduType
Source§impl PartialEq for RtrPduType
impl PartialEq for RtrPduType
Source§impl TryFrom<u8> for RtrPduType
impl TryFrom<u8> for RtrPduType
impl Copy for RtrPduType
impl Eq for RtrPduType
impl StructuralPartialEq for RtrPduType
Auto Trait Implementations§
impl Freeze for RtrPduType
impl RefUnwindSafe for RtrPduType
impl Send for RtrPduType
impl Sync for RtrPduType
impl Unpin for RtrPduType
impl UnwindSafe for RtrPduType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more