pub struct ReadWindow {
pub remaining: u32,
pub available: u32,
pub window_size_initial: u32,
}
Expand description
Description of the read window as returned by Channel::read_window
Fields§
§remaining: u32
The number of bytes which the remote end may send without overflowing the window limit.
available: u32
The number of bytes actually available to be read.
window_size_initial: u32
The window_size_initial as defined by the channel open request
Trait Implementations§
Source§impl Clone for ReadWindow
impl Clone for ReadWindow
Source§fn clone(&self) -> ReadWindow
fn clone(&self) -> ReadWindow
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 moreimpl Copy for ReadWindow
Auto Trait Implementations§
impl Freeze for ReadWindow
impl RefUnwindSafe for ReadWindow
impl Send for ReadWindow
impl Sync for ReadWindow
impl Unpin for ReadWindow
impl UnwindSafe for ReadWindow
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