#[repr(u8)]
pub enum CongestionControl {
Block,
Drop,
}
Expand description
The kind of congestion control.
Variants
Block
Drop
Trait Implementations
sourceimpl Clone for CongestionControl
impl Clone for CongestionControl
sourcefn clone(&self) -> CongestionControl
fn clone(&self) -> CongestionControl
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 moresourceimpl Debug for CongestionControl
impl Debug for CongestionControl
sourceimpl Default for CongestionControl
impl Default for CongestionControl
sourcefn default() -> CongestionControl
fn default() -> CongestionControl
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CongestionControl> for CongestionControl
impl PartialEq<CongestionControl> for CongestionControl
sourcefn eq(&self, other: &CongestionControl) -> bool
fn eq(&self, other: &CongestionControl) -> bool
impl Copy for CongestionControl
impl Eq for CongestionControl
impl StructuralEq for CongestionControl
impl StructuralPartialEq for CongestionControl
Auto Trait Implementations
impl RefUnwindSafe for CongestionControl
impl Send for CongestionControl
impl Sync for CongestionControl
impl Unpin for CongestionControl
impl UnwindSafe for CongestionControl
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