Struct mcap::records::Statistics
source · pub struct Statistics {
pub message_count: u64,
pub schema_count: u16,
pub channel_count: u32,
pub attachment_count: u32,
pub metadata_count: u32,
pub chunk_count: u32,
pub message_start_time: u64,
pub message_end_time: u64,
pub channel_message_counts: BTreeMap<u16, u64>,
}
Fields§
§message_count: u64
§schema_count: u16
§channel_count: u32
§attachment_count: u32
§metadata_count: u32
§chunk_count: u32
§message_start_time: u64
§message_end_time: u64
§channel_message_counts: BTreeMap<u16, u64>
Trait Implementations§
source§impl BinRead for Statistics
impl BinRead for Statistics
source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_> ) -> BinResult<Self>
source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>where
R: Read + Seek,
Self::Args<'a>: for<'a> Required,
fn read_be<R>(reader: &mut R) -> Result<Self, Error>where R: Read + Seek, Self::Args<'a>: for<'a> Required,
Read
Self
from the reader using default arguments and assuming
big-endian byte order. Read moresource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>where
R: Read + Seek,
Self::Args<'a>: for<'a> Required,
fn read_le<R>(reader: &mut R) -> Result<Self, Error>where R: Read + Seek, Self::Args<'a>: for<'a> Required,
Read
Self
from the reader using default arguments and assuming
little-endian byte order. Read moresource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>where
R: Read + Seek,
Self::Args<'a>: for<'a> Required,
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>where R: Read + Seek, Self::Args<'a>: for<'a> Required,
Read
T
from the reader assuming native-endian byte order. Read moresource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>where
R: Read + Seek,
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>where R: Read + Seek,
Read
Self
from the reader, assuming big-endian byte order, using the
given arguments. Read moresource§impl BinWrite for Statistics
impl BinWrite for Statistics
source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_> ) -> BinResult<()>
source§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>where
W: Write + Seek,
Self::Args<'a>: for<'a> Required,
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write + Seek, Self::Args<'a>: for<'a> Required,
Write
Self
to the writer assuming big-endian byte order. Read moresource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>where
W: Write + Seek,
Self::Args<'a>: for<'a> Required,
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write + Seek, Self::Args<'a>: for<'a> Required,
Write
Self
to the writer assuming little-endian byte order. Read moresource§impl Clone for Statistics
impl Clone for Statistics
source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
Returns a copy 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 Statistics
impl Debug for Statistics
source§impl Default for Statistics
impl Default for Statistics
source§fn default() -> Statistics
fn default() -> Statistics
Returns the “default value” for a type. Read more
source§impl PartialEq for Statistics
impl PartialEq for Statistics
source§fn eq(&self, other: &Statistics) -> bool
fn eq(&self, other: &Statistics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Statistics
impl StructuralEq for Statistics
impl StructuralPartialEq for Statistics
Auto Trait Implementations§
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
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