pub struct ChannelWindow { /* private fields */ }Implementations§
Source§impl ChannelWindow
impl ChannelWindow
pub const INITIAL: u8 = 2
pub const MIN: u8 = 2
pub const MIN_LIMIT_MEDIUM: u8 = 5
pub const MIN_LIMIT_FAST: u8 = 16
pub const MAX_SLOW: u8 = 5
pub const MAX_MEDIUM: u8 = 12
pub const MAX_FAST: u8 = 48
pub const FLEXIBILITY: u8 = 4
pub const FAST_RATE_THRESHOLD: u32 = 10
pub const fn for_rtt(rtt: ChannelRtt) -> ChannelWindow
pub const fn in_flight_count_limit(&self) -> usize
pub fn grow_on_ack(&mut self, rtt: ChannelRtt)
pub fn shrink_on_loss(&mut self)
Trait Implementations§
Source§impl Clone for ChannelWindow
impl Clone for ChannelWindow
Source§fn clone(&self) -> ChannelWindow
fn clone(&self) -> ChannelWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChannelWindow
Source§impl Debug for ChannelWindow
impl Debug for ChannelWindow
Source§impl Default for ChannelWindow
impl Default for ChannelWindow
Source§fn default() -> ChannelWindow
fn default() -> ChannelWindow
Returns the “default value” for a type. Read more
impl Eq for ChannelWindow
Source§impl PartialEq for ChannelWindow
impl PartialEq for ChannelWindow
impl StructuralPartialEq for ChannelWindow
Auto Trait Implementations§
impl Freeze for ChannelWindow
impl RefUnwindSafe for ChannelWindow
impl Send for ChannelWindow
impl Sync for ChannelWindow
impl Unpin for ChannelWindow
impl UnsafeUnpin for ChannelWindow
impl UnwindSafe for ChannelWindow
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