Struct google_api_proto::google::cloud::compute::v1::RouterBgpPeerBfd
source · pub struct RouterBgpPeerBfd {
pub min_receive_interval: Option<u32>,
pub min_transmit_interval: Option<u32>,
pub multiplier: Option<u32>,
pub session_initialization_mode: Option<String>,
}
Expand description
Fields§
§min_receive_interval: Option<u32>
The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
min_transmit_interval: Option<u32>
The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
multiplier: Option<u32>
The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5.
session_initialization_mode: Option<String>
The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED. Check the SessionInitializationMode enum for the list of possible values.
Implementations§
source§impl RouterBgpPeerBfd
impl RouterBgpPeerBfd
sourcepub fn session_initialization_mode(&self) -> &str
pub fn session_initialization_mode(&self) -> &str
Returns the value of session_initialization_mode
, or the default value if session_initialization_mode
is unset.
sourcepub fn min_receive_interval(&self) -> u32
pub fn min_receive_interval(&self) -> u32
Returns the value of min_receive_interval
, or the default value if min_receive_interval
is unset.
sourcepub fn multiplier(&self) -> u32
pub fn multiplier(&self) -> u32
Returns the value of multiplier
, or the default value if multiplier
is unset.
sourcepub fn min_transmit_interval(&self) -> u32
pub fn min_transmit_interval(&self) -> u32
Returns the value of min_transmit_interval
, or the default value if min_transmit_interval
is unset.
Trait Implementations§
source§impl Clone for RouterBgpPeerBfd
impl Clone for RouterBgpPeerBfd
source§fn clone(&self) -> RouterBgpPeerBfd
fn clone(&self) -> RouterBgpPeerBfd
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RouterBgpPeerBfd
impl Debug for RouterBgpPeerBfd
source§impl Default for RouterBgpPeerBfd
impl Default for RouterBgpPeerBfd
source§impl Message for RouterBgpPeerBfd
impl Message for RouterBgpPeerBfd
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for RouterBgpPeerBfd
impl PartialEq for RouterBgpPeerBfd
source§fn eq(&self, other: &RouterBgpPeerBfd) -> bool
fn eq(&self, other: &RouterBgpPeerBfd) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RouterBgpPeerBfd
Auto Trait Implementations§
impl Freeze for RouterBgpPeerBfd
impl RefUnwindSafe for RouterBgpPeerBfd
impl Send for RouterBgpPeerBfd
impl Sync for RouterBgpPeerBfd
impl Unpin for RouterBgpPeerBfd
impl UnwindSafe for RouterBgpPeerBfd
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request