pub struct BfdPacket {Show 16 fields
pub authentication_present: Option<bool>,
pub control_plane_independent: Option<bool>,
pub demand: Option<bool>,
pub diagnostic: Option<String>,
pub final_: Option<bool>,
pub length: Option<u32>,
pub min_echo_rx_interval_ms: Option<u32>,
pub min_rx_interval_ms: Option<u32>,
pub min_tx_interval_ms: Option<u32>,
pub multiplier: Option<u32>,
pub multipoint: Option<bool>,
pub my_discriminator: Option<u32>,
pub poll: Option<bool>,
pub state: Option<String>,
pub version: Option<u32>,
pub your_discriminator: Option<u32>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§authentication_present: Option<bool>
The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880
control_plane_independent: Option<bool>
The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880
demand: Option<bool>
The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
diagnostic: Option<String>
The diagnostic code specifies the local system’s reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880
final_: Option<bool>
The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
length: Option<u32>
The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880
min_echo_rx_interval_ms: Option<u32>
The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
min_rx_interval_ms: Option<u32>
The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
min_tx_interval_ms: Option<u32>
The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880
multiplier: Option<u32>
The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880
multipoint: Option<bool>
The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880
my_discriminator: Option<u32>
The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880
poll: Option<bool>
The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
state: Option<String>
The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880
version: Option<u32>
The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
your_discriminator: Option<u32>
The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BfdPacket
impl<'de> Deserialize<'de> for BfdPacket
Source§fn 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>,
impl Part for BfdPacket
Auto Trait Implementations§
impl Freeze for BfdPacket
impl RefUnwindSafe for BfdPacket
impl Send for BfdPacket
impl Sync for BfdPacket
impl Unpin for BfdPacket
impl UnwindSafe for BfdPacket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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