pub struct GossipConfig {
pub bind_addr: SocketAddr,
pub external_addr: Option<SocketAddr>,
pub client_addr: SocketAddr,
pub bootstrap: Vec<String>,
pub tls: Option<TlsConfig>,
pub plaintext: bool,
pub max_mtu: Option<u16>,
pub idle_timeout_secs: u32,
pub disable_gso: bool,
}Fields§
§bind_addr: SocketAddr§external_addr: Option<SocketAddr>§client_addr: SocketAddr§bootstrap: Vec<String>§tls: Option<TlsConfig>§plaintext: bool§max_mtu: Option<u16>§idle_timeout_secs: u32§disable_gso: boolTrait Implementations§
Source§impl Clone for GossipConfig
impl Clone for GossipConfig
Source§impl Debug for GossipConfig
impl Debug for GossipConfig
Source§impl<'de> Deserialize<'de> for GossipConfig
impl<'de> Deserialize<'de> for GossipConfig
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
Auto Trait Implementations§
impl Freeze for GossipConfig
impl RefUnwindSafe for GossipConfig
impl Send for GossipConfig
impl Sync for GossipConfig
impl Unpin for GossipConfig
impl UnsafeUnpin for GossipConfig
impl UnwindSafe for GossipConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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