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>>),
SchemaAnnotations {
type_id: WireTypeId,
annotations: Vec<FieldAnnotation>,
},
}Expand description
Zero-copy decoded frame that borrows from the input buffer.
Variants§
Schema(SchemaEntry)
Event
StringPool(Vec<PoolEntryRef<'a>>)
StackPool(Vec<StackPoolEntryRef<'a>>)
SchemaAnnotations
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 (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<'a> Debug for DecodedFrameRef<'a>
impl<'a> Debug for DecodedFrameRef<'a>
Source§impl<'a> PartialEq for DecodedFrameRef<'a>
impl<'a> PartialEq for DecodedFrameRef<'a>
Source§fn eq(&self, other: &DecodedFrameRef<'a>) -> bool
fn eq(&self, other: &DecodedFrameRef<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.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