pub enum RawStreamData<'a> {
VarInt(&'a [u8]),
Encoded(&'a [u8]),
}Variants§
Implementations§
Trait Implementations§
Source§impl Analyze for RawStreamData<'_>
impl Analyze for RawStreamData<'_>
fn collect_statistic(&self, stat: StatType) -> usize
Source§fn for_each_stream(&self, _cb: &mut dyn FnMut(StreamMeta))
fn for_each_stream(&self, _cb: &mut dyn FnMut(StreamMeta))
Call
cb with the StreamMeta of every stream contained in self.
Default implementation is a no-op (types that hold no streams).Source§impl<'a> Clone for RawStreamData<'a>
impl<'a> Clone for RawStreamData<'a>
Source§fn clone(&self) -> RawStreamData<'a>
fn clone(&self) -> RawStreamData<'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 Debug for RawStreamData<'_>
impl Debug for RawStreamData<'_>
Source§impl<'a> PartialEq for RawStreamData<'a>
impl<'a> PartialEq for RawStreamData<'a>
impl<'a> StructuralPartialEq for RawStreamData<'a>
Auto Trait Implementations§
impl<'a> Freeze for RawStreamData<'a>
impl<'a> RefUnwindSafe for RawStreamData<'a>
impl<'a> Send for RawStreamData<'a>
impl<'a> Sync for RawStreamData<'a>
impl<'a> Unpin for RawStreamData<'a>
impl<'a> UnsafeUnpin for RawStreamData<'a>
impl<'a> UnwindSafe for RawStreamData<'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