pub struct EncodedSection {
pub block: Bytes,
pub encoder_stream: Bytes,
}Available on crate feature
h3 only.Expand description
Result of encoding one field section: the encoded field section carried on the request/response stream, and any encoder stream instructions queued while encoding it.
Fields§
§block: BytesEncoded field section prefix plus field lines (RFC 9204 Section 4.5.1).
encoder_stream: BytesEncoder stream instructions (RFC 9204 Section 4.3).
Trait Implementations§
Source§impl Clone for EncodedSection
impl Clone for EncodedSection
Source§fn clone(&self) -> EncodedSection
fn clone(&self) -> EncodedSection
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 Debug for EncodedSection
impl Debug for EncodedSection
impl Eq for EncodedSection
Source§impl PartialEq for EncodedSection
impl PartialEq for EncodedSection
impl StructuralPartialEq for EncodedSection
Auto Trait Implementations§
impl !Freeze for EncodedSection
impl RefUnwindSafe for EncodedSection
impl Send for EncodedSection
impl Sync for EncodedSection
impl Unpin for EncodedSection
impl UnsafeUnpin for EncodedSection
impl UnwindSafe for EncodedSection
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