pub struct AnySubgroupObjectMeta {
pub object_id: u64,
pub payload_length: u64,
pub status: Option<u64>,
pub extension_headers_len: u64,
pub wire_len: u64,
}Expand description
The framing of one subgroup object, without its payload.
Produced by AnySubgroupObjectReader::read_object_meta for callers that
forward an object’s bytes verbatim and never inspect the payload.
Fields§
§object_id: u64Absolute Object ID, resolved as for AnySubgroupObject::object_id.
payload_length: u64Declared payload length in bytes. Zero when status is Some.
status: Option<u64>Object Status wire code, as for AnySubgroupObject::status.
extension_headers_len: u64Byte length of the extension/property block’s contents, excluding its
prefix. Always the length of the blob
AnySubgroupObject::extension_headers would carry, which on draft-08
is a re-serialized copy rather than the wire bytes.
wire_len: u64Total bytes this object occupies on the wire, prefix fields included. Equals the number of bytes the reader consumed.
Trait Implementations§
Source§impl Clone for AnySubgroupObjectMeta
impl Clone for AnySubgroupObjectMeta
Source§fn clone(&self) -> AnySubgroupObjectMeta
fn clone(&self) -> AnySubgroupObjectMeta
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 AnySubgroupObjectMeta
Source§impl Debug for AnySubgroupObjectMeta
impl Debug for AnySubgroupObjectMeta
impl Eq for AnySubgroupObjectMeta
Source§impl PartialEq for AnySubgroupObjectMeta
impl PartialEq for AnySubgroupObjectMeta
impl StructuralPartialEq for AnySubgroupObjectMeta
Auto Trait Implementations§
impl Freeze for AnySubgroupObjectMeta
impl RefUnwindSafe for AnySubgroupObjectMeta
impl Send for AnySubgroupObjectMeta
impl Sync for AnySubgroupObjectMeta
impl Unpin for AnySubgroupObjectMeta
impl UnsafeUnpin for AnySubgroupObjectMeta
impl UnwindSafe for AnySubgroupObjectMeta
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