pub struct ClientConfig {Show 36 fields
pub localaddr: String,
pub remoteaddr: String,
pub key: String,
pub crypt: String,
pub mode: String,
pub conn: u32,
pub autoexpire: u32,
pub scavengettl: u32,
pub mtu: u32,
pub ratelimit: u32,
pub sndwnd: u32,
pub rcvwnd: u32,
pub datashard: u32,
pub parityshard: u32,
pub dscp: u32,
pub nocomp: bool,
pub acknodelay: bool,
pub nodelay: u32,
pub interval: u32,
pub resend: u32,
pub nc: u32,
pub sockbuf: u32,
pub smuxver: u32,
pub smuxbuf: u32,
pub framesize: u32,
pub streambuf: u32,
pub keepalive: u32,
pub log: String,
pub snmplog: String,
pub snmpperiod: u32,
pub quiet: bool,
pub tcp: bool,
pub pprof: bool,
pub qpp: bool,
pub qpp_count: u32,
pub closewait: u32,
}Fields§
§localaddr: String§remoteaddr: String§key: String§crypt: String§mode: String§conn: u32§autoexpire: u32§scavengettl: u32§mtu: u32§ratelimit: u32§sndwnd: u32§rcvwnd: u32§datashard: u32§parityshard: u32§dscp: u32§nocomp: bool§acknodelay: bool§nodelay: u32§interval: u32§resend: u32§nc: u32§sockbuf: u32§smuxver: u32§smuxbuf: u32§framesize: u32§streambuf: u32§keepalive: u32§log: String§snmplog: String§snmpperiod: u32§quiet: bool§tcp: bool§pprof: bool§qpp: bool§qpp_count: u32§closewait: u32Implementations§
Source§impl ClientConfig
impl ClientConfig
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
Returns a duplicate 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 ClientConfig
impl Debug for ClientConfig
Source§impl<'de> Deserialize<'de> for ClientConfig
impl<'de> Deserialize<'de> for ClientConfig
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 ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
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