pub struct FetchObject {
pub header: FetchObjectHeader,
pub payload: Vec<u8>,
}Expand description
A decoded fetch stream object: the object header followed by its payload.
Fields§
§header: FetchObjectHeaderThe parsed fetch object header.
payload: Vec<u8>The object payload (empty when header.payload_length == 0).
Trait Implementations§
Source§impl Clone for FetchObject
impl Clone for FetchObject
Source§fn clone(&self) -> FetchObject
fn clone(&self) -> FetchObject
Returns a duplicate 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 moreSource§impl Debug for FetchObject
impl Debug for FetchObject
Source§impl PartialEq for FetchObject
impl PartialEq for FetchObject
impl Eq for FetchObject
impl StructuralPartialEq for FetchObject
Auto Trait Implementations§
impl Freeze for FetchObject
impl RefUnwindSafe for FetchObject
impl Send for FetchObject
impl Sync for FetchObject
impl Unpin for FetchObject
impl UnsafeUnpin for FetchObject
impl UnwindSafe for FetchObject
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