#[repr(u8)]pub enum FrameClass {
Inline = 0,
Offset = 1,
}Expand description
How a record’s payload is stored. The producer writes the tag; the consumer reads it to know how to recover the bytes.
Variants§
Inline = 0
Payload bytes live inline in the descriptor slot.
Offset = 1
Payload bytes live in the byte region; the descriptor carries the region offset.
Trait Implementations§
Source§impl Clone for FrameClass
impl Clone for FrameClass
Source§fn clone(&self) -> FrameClass
fn clone(&self) -> FrameClass
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 FrameClass
Source§impl Debug for FrameClass
impl Debug for FrameClass
impl Eq for FrameClass
Source§impl PartialEq for FrameClass
impl PartialEq for FrameClass
Source§fn eq(&self, other: &FrameClass) -> bool
fn eq(&self, other: &FrameClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameClass
Auto Trait Implementations§
impl Freeze for FrameClass
impl RefUnwindSafe for FrameClass
impl Send for FrameClass
impl Sync for FrameClass
impl Unpin for FrameClass
impl UnsafeUnpin for FrameClass
impl UnwindSafe for FrameClass
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