Enum ris_live_rs::messages::ris_message::RisMessageEnum
source · [−]pub enum RisMessageEnum {
UPDATE {
path: Option<Vec<PathSeg>>,
community: Option<Vec<(u32, u16)>>,
origin: Option<String>,
med: Option<u32>,
aggregator: Option<String>,
announcements: Option<Vec<Announcement>>,
},
KEEPALIVE {},
OPEN {
direction: String,
version: u8,
asn: u32,
hold_time: u32,
router_id: String,
capabilities: Value,
},
NOTIFICATION {
notification: Notification,
},
RIS_PEER_STATE {
state: String,
},
}
Variants
UPDATE
Fields
announcements: Option<Vec<Announcement>>
KEEPALIVE
Fields
OPEN
NOTIFICATION
Fields
notification: Notification
RIS_PEER_STATE
Fields
state: String
Trait Implementations
sourceimpl Debug for RisMessageEnum
impl Debug for RisMessageEnum
sourceimpl<'de> Deserialize<'de> for RisMessageEnum
impl<'de> Deserialize<'de> for RisMessageEnum
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for RisMessageEnum
impl Serialize for RisMessageEnum
Auto Trait Implementations
impl RefUnwindSafe for RisMessageEnum
impl Send for RisMessageEnum
impl Sync for RisMessageEnum
impl Unpin for RisMessageEnum
impl UnwindSafe for RisMessageEnum
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more