pub struct MaxDataFrame {
pub maximum_data: VarInt,
}Expand description
A MAX_DATA frame following Section 19.9.
Informs the peer of the maximum amount of data that can be sent on the connection as a whole.
Fields§
§maximum_data: VarIntThe maximum amount of data that can be sent on the entire connection, in units of bytes.
Implementations§
Trait Implementations§
Source§impl Clone for MaxDataFrame
impl Clone for MaxDataFrame
Source§fn clone(&self) -> MaxDataFrame
fn clone(&self) -> MaxDataFrame
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 moreSource§impl Codec for MaxDataFrame
impl Codec for MaxDataFrame
impl Copy for MaxDataFrame
Source§impl Debug for MaxDataFrame
impl Debug for MaxDataFrame
impl Eq for MaxDataFrame
Source§impl Hash for MaxDataFrame
impl Hash for MaxDataFrame
Source§impl Ord for MaxDataFrame
impl Ord for MaxDataFrame
Source§fn cmp(&self, other: &MaxDataFrame) -> Ordering
fn cmp(&self, other: &MaxDataFrame) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MaxDataFrame
impl PartialEq for MaxDataFrame
Source§impl PartialOrd for MaxDataFrame
impl PartialOrd for MaxDataFrame
impl StructuralPartialEq for MaxDataFrame
Auto Trait Implementations§
impl Freeze for MaxDataFrame
impl RefUnwindSafe for MaxDataFrame
impl Send for MaxDataFrame
impl Sync for MaxDataFrame
impl Unpin for MaxDataFrame
impl UnsafeUnpin for MaxDataFrame
impl UnwindSafe for MaxDataFrame
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