pub struct BodyCapacity {
pub protocol: BodyCapacityProtocol,
pub buffer_capacity: usize,
pub buffered_chunks: usize,
pub available_slots: usize,
pub buffered_bytes: usize,
pub closed: bool,
pub ended: bool,
}Fields§
§protocol: BodyCapacityProtocol§buffer_capacity: usize§buffered_chunks: usize§available_slots: usize§buffered_bytes: usize§closed: bool§ended: boolTrait Implementations§
Source§impl Clone for BodyCapacity
impl Clone for BodyCapacity
Source§fn clone(&self) -> BodyCapacity
fn clone(&self) -> BodyCapacity
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 BodyCapacity
Source§impl Debug for BodyCapacity
impl Debug for BodyCapacity
impl Eq for BodyCapacity
Source§impl PartialEq for BodyCapacity
impl PartialEq for BodyCapacity
Source§fn eq(&self, other: &BodyCapacity) -> bool
fn eq(&self, other: &BodyCapacity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BodyCapacity
Auto Trait Implementations§
impl Freeze for BodyCapacity
impl RefUnwindSafe for BodyCapacity
impl Send for BodyCapacity
impl Sync for BodyCapacity
impl Unpin for BodyCapacity
impl UnsafeUnpin for BodyCapacity
impl UnwindSafe for BodyCapacity
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