Enum zenoh_protocol::core::CongestionControl  
source · #[repr(u8)]pub enum CongestionControl {
    Drop = 0,
    Block = 1,
}Expand description
The kind of congestion control.
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 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