pub enum DecodedFrameRef<'a> {
Schema(SchemaEntry),
Event {
type_id: WireTypeId,
timestamp_ns: Option<u64>,
values: Vec<FieldValueRef<'a>>,
},
StringPool(Vec<PoolEntryRef<'a>>),
StackPool(Vec<StackPoolEntryRef<'a>>),
}Expand description
Zero-copy decoded frame that borrows from the input buffer.
Variants§
Trait Implementations§
Source§impl<'a> Clone for DecodedFrameRef<'a>
impl<'a> Clone for DecodedFrameRef<'a>
Source§fn clone(&self) -> DecodedFrameRef<'a>
fn clone(&self) -> DecodedFrameRef<'a>
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<'a> Debug for DecodedFrameRef<'a>
impl<'a> Debug for DecodedFrameRef<'a>
Source§impl<'a> PartialEq for DecodedFrameRef<'a>
impl<'a> PartialEq for DecodedFrameRef<'a>
impl<'a> StructuralPartialEq for DecodedFrameRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for DecodedFrameRef<'a>
impl<'a> RefUnwindSafe for DecodedFrameRef<'a>
impl<'a> Send for DecodedFrameRef<'a>
impl<'a> Sync for DecodedFrameRef<'a>
impl<'a> Unpin for DecodedFrameRef<'a>
impl<'a> UnsafeUnpin for DecodedFrameRef<'a>
impl<'a> UnwindSafe for DecodedFrameRef<'a>
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