pub struct WriteWindow {
pub remaining: u32,
pub window_size_initial: u32,
}
Expand description
Description of the write window as returned by Channel::write_window
Fields§
§remaining: u32
The number of bytes which may be safely written on the channel without blocking.
window_size_initial: u32
The window_size_initial as defined by the channel open request
Trait Implementations§
Source§impl Clone for WriteWindow
impl Clone for WriteWindow
Source§fn clone(&self) -> WriteWindow
fn clone(&self) -> WriteWindow
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 WriteWindow
Auto Trait Implementations§
impl Freeze for WriteWindow
impl RefUnwindSafe for WriteWindow
impl Send for WriteWindow
impl Sync for WriteWindow
impl Unpin for WriteWindow
impl UnwindSafe for WriteWindow
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