pub enum FrameRef<'a> {
Schema {
type_id: WireTypeId,
entry: SchemaEntry,
},
Event {
type_id: WireTypeId,
timestamp_ns: Option<u64>,
values: Vec<FieldValueRef<'a>>,
},
StringPool(Vec<PoolEntryRef<'a>>),
TimestampReset(u64),
}Expand description
Zero-copy frame that borrows from the input buffer.
Variants§
Trait Implementations§
impl<'a> StructuralPartialEq for FrameRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for FrameRef<'a>
impl<'a> RefUnwindSafe for FrameRef<'a>
impl<'a> Send for FrameRef<'a>
impl<'a> Sync for FrameRef<'a>
impl<'a> Unpin for FrameRef<'a>
impl<'a> UnsafeUnpin for FrameRef<'a>
impl<'a> UnwindSafe for FrameRef<'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