Struct avalanche_types::subnet::config::gossip::SenderConfig
source · pub struct SenderConfig {
pub gossip_accepted_frontier_validator_size: u32,
pub gossip_accepted_frontier_non_validator_size: u32,
pub gossip_accepted_frontier_peer_size: u32,
pub gossip_on_accept_validator_size: u32,
pub gossip_on_accept_non_validator_size: u32,
pub gossip_on_accept_peer_size: u32,
pub app_gossip_validator_size: u32,
pub app_gossip_non_validator_size: u32,
pub app_gossip_peer_size: u32,
}
Fields§
§gossip_accepted_frontier_validator_size: u32
§gossip_accepted_frontier_non_validator_size: u32
§gossip_accepted_frontier_peer_size: u32
§gossip_on_accept_validator_size: u32
§gossip_on_accept_non_validator_size: u32
§gossip_on_accept_peer_size: u32
§app_gossip_validator_size: u32
§app_gossip_non_validator_size: u32
§app_gossip_peer_size: u32
Implementations§
source§impl SenderConfig
impl SenderConfig
Trait Implementations§
source§impl Clone for SenderConfig
impl Clone for SenderConfig
source§fn clone(&self) -> SenderConfig
fn clone(&self) -> SenderConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SenderConfig
impl Debug for SenderConfig
source§impl Default for SenderConfig
impl Default for SenderConfig
source§impl<'de> Deserialize<'de> for SenderConfig
impl<'de> Deserialize<'de> for SenderConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<SenderConfig> for SenderConfig
impl PartialEq<SenderConfig> for SenderConfig
source§fn eq(&self, other: &SenderConfig) -> bool
fn eq(&self, other: &SenderConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SenderConfig
impl Serialize for SenderConfig
impl StructuralPartialEq for SenderConfig
Auto Trait Implementations§
impl RefUnwindSafe for SenderConfig
impl Send for SenderConfig
impl Sync for SenderConfig
impl Unpin for SenderConfig
impl UnwindSafe for SenderConfig
Blanket Implementations§
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request