pub struct Open {
pub version: u8,
pub peer_asn: u16,
pub hold_timer: u16,
pub identifier: u32,
pub parameters: Vec<OpenParameter>,
}
Expand description
Represents a BGP Open message.
Fields§
§version: u8
Indicates the protocol version number of the message. The current BGP version number is 4.
peer_asn: u16
Indicates the Autonomous System number of the sender.
hold_timer: u16
Indicates the number of seconds the sender proposes for the value of the Hold Timer.
identifier: u32
Indicates the BGP Identifier of the sender.
parameters: Vec<OpenParameter>
Optional Parameters
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Open
impl RefUnwindSafe for Open
impl Send for Open
impl Sync for Open
impl Unpin for Open
impl UnwindSafe for Open
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