Struct trillium_async_std::ClientConfig
source · [−]Expand description
configuration for the tcp Connector
Fields
nodelay: Option<bool>
disable nagle’s algorithm
ttl: Option<u32>
set a time to live for the tcp protocol
Trait Implementations
sourceimpl Clone for ClientConfig
impl Clone for ClientConfig
sourcefn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ClientConfig
impl Debug for ClientConfig
sourceimpl Default for ClientConfig
impl Default for ClientConfig
sourcefn default() -> ClientConfig
fn default() -> ClientConfig
Returns the “default value” for a type. Read more
impl Copy for ClientConfig
Auto Trait Implementations
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more