pub struct TcpCongestion;
Available on crate features
socket
and net
only.Expand description
This option allows the caller to set the TCP congestion control algorithm to be used, on a per-socket basis.
Trait Implementations
sourceimpl Clone for TcpCongestion
impl Clone for TcpCongestion
sourcefn clone(&self) -> TcpCongestion
fn clone(&self) -> TcpCongestion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TcpCongestion
impl Debug for TcpCongestion
sourceimpl GetSockOpt for TcpCongestion
impl GetSockOpt for TcpCongestion
sourceimpl Hash for TcpCongestion
impl Hash for TcpCongestion
sourceimpl PartialEq<TcpCongestion> for TcpCongestion
impl PartialEq<TcpCongestion> for TcpCongestion
sourceimpl SetSockOpt for TcpCongestion
impl SetSockOpt for TcpCongestion
impl Copy for TcpCongestion
impl Eq for TcpCongestion
impl StructuralEq for TcpCongestion
impl StructuralPartialEq for TcpCongestion
Auto Trait Implementations
impl RefUnwindSafe for TcpCongestion
impl Send for TcpCongestion
impl Sync for TcpCongestion
impl Unpin for TcpCongestion
impl UnwindSafe for TcpCongestion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more