pub struct BlfFileStats {
pub api_version: u32,
pub application_id: u8,
pub application_version: (u8, u8, u8),
pub object_count: u32,
pub object_read: u32,
pub measurement_start: [u16; 8],
pub last_object_time: [u16; 8],
/* private fields */
}Fields§
§api_version: u32§application_id: u8§application_version: (u8, u8, u8)§object_count: u32§object_read: u32§measurement_start: [u16; 8]§last_object_time: [u16; 8]Implementations§
Source§impl BlfFileStats
impl BlfFileStats
pub fn is_valid(&self) -> bool
pub fn measurement_start_time(&self) -> Option<NaiveDateTime>
Trait Implementations§
Source§impl BinRead for BlfFileStats
impl BinRead for BlfFileStats
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<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments. Read moreSource§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
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>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
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>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader using the given arguments. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Debug for BlfFileStats
impl Debug for BlfFileStats
Source§impl Default for BlfFileStats
impl Default for BlfFileStats
Source§fn default() -> BlfFileStats
fn default() -> BlfFileStats
Returns the “default value” for a type. Read more
Source§impl ReadEndian for BlfFileStats
impl ReadEndian for BlfFileStats
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Auto Trait Implementations§
impl Freeze for BlfFileStats
impl RefUnwindSafe for BlfFileStats
impl Send for BlfFileStats
impl Sync for BlfFileStats
impl Unpin for BlfFileStats
impl UnwindSafe for BlfFileStats
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