Enum xwt_web_sys::CongestionControl
source · pub enum CongestionControl {
Default,
Throughput,
LowLatency,
}
Expand description
The application’s preference that the congestion control algorithm used when sending data over this connection be tuned for either throughput or low-latency.
Variants§
Trait Implementations§
source§impl Clone for CongestionControl
impl Clone for CongestionControl
source§fn clone(&self) -> CongestionControl
fn clone(&self) -> CongestionControl
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 CongestionControl
impl Debug for CongestionControl
source§impl Default for CongestionControl
impl Default for CongestionControl
source§fn default() -> CongestionControl
fn default() -> CongestionControl
Returns the “default value” for a type. Read more
source§impl Hash for CongestionControl
impl Hash for CongestionControl
source§impl PartialEq for CongestionControl
impl PartialEq for CongestionControl
source§fn eq(&self, other: &CongestionControl) -> bool
fn eq(&self, other: &CongestionControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CongestionControl
impl Eq for CongestionControl
impl StructuralPartialEq for CongestionControl
Auto Trait Implementations§
impl Freeze for CongestionControl
impl RefUnwindSafe for CongestionControl
impl Send for CongestionControl
impl Sync for CongestionControl
impl Unpin for CongestionControl
impl UnwindSafe for CongestionControl
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