Struct bgpkit_parser::parser::bmp::messages::BmpCommonHeader
source · [−]pub struct BmpCommonHeader {
pub version: u8,
pub msg_len: u32,
pub msg_type: BmpMsgType,
}Expand description
BMP Common Header
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+
| Version |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Message Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Msg. Type |
+---------------+Fields
version: u8msg_len: u32msg_type: BmpMsgTypeTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BmpCommonHeader
impl Send for BmpCommonHeader
impl Sync for BmpCommonHeader
impl Unpin for BmpCommonHeader
impl UnwindSafe for BmpCommonHeader
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more