pub struct StreamMeta {
pub stream_type: StreamType,
pub encoding: IntEncoding,
pub num_values: u32,
}Expand description
Metadata about an encoded stream
Fields§
§stream_type: StreamType§encoding: IntEncoding§num_values: u32Implementations§
Trait Implementations§
Source§impl Analyze for StreamMeta
impl Analyze for StreamMeta
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 Clone for StreamMeta
impl Clone for StreamMeta
Source§fn clone(&self) -> StreamMeta
fn clone(&self) -> StreamMeta
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 StreamMeta
impl Debug for StreamMeta
Source§impl PartialEq for StreamMeta
impl PartialEq for StreamMeta
impl Copy for StreamMeta
impl StructuralPartialEq for StreamMeta
Auto Trait Implementations§
impl Freeze for StreamMeta
impl RefUnwindSafe for StreamMeta
impl Send for StreamMeta
impl Sync for StreamMeta
impl Unpin for StreamMeta
impl UnsafeUnpin for StreamMeta
impl UnwindSafe for StreamMeta
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