#[repr(C)]pub struct tsdb_sec_info {
pub check_ok: bool,
pub status: fdb_sector_store_status_t,
pub addr: u32,
pub magic: u32,
pub start_time: fdb_time_t,
pub end_time: fdb_time_t,
pub end_idx: u32,
pub end_info_stat: [fdb_tsl_status_t; 2],
pub remain: usize,
pub empty_idx: u32,
pub empty_data: u32,
}Fields§
§check_ok: bool< sector header check is OK
status: fdb_sector_store_status_t< sector store status @see fdb_sector_store_status_t
addr: u32< sector start address
magic: u32< magic word(T, S, L, 0)
start_time: fdb_time_t< the first start node’s timestamp, 0xFFFFFFFF: unused
end_time: fdb_time_t< the last end node’s timestamp, 0xFFFFFFFF: unused
end_idx: u32< the last end node’s index, 0xFFFFFFFF: unused
end_info_stat: [fdb_tsl_status_t; 2]< the last end node’s info status
remain: usize< remain size
empty_idx: u32< the next empty node index address
empty_data: u32< the next empty node’s data end address
Trait Implementations§
Source§impl Clone for tsdb_sec_info
impl Clone for tsdb_sec_info
Source§fn clone(&self) -> tsdb_sec_info
fn clone(&self) -> tsdb_sec_info
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 tsdb_sec_info
impl Debug for tsdb_sec_info
Source§impl Default for tsdb_sec_info
impl Default for tsdb_sec_info
impl Copy for tsdb_sec_info
Auto Trait Implementations§
impl Freeze for tsdb_sec_info
impl RefUnwindSafe for tsdb_sec_info
impl Send for tsdb_sec_info
impl Sync for tsdb_sec_info
impl Unpin for tsdb_sec_info
impl UnwindSafe for tsdb_sec_info
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