#[repr(C)]pub struct fdb_tsdb {
pub parent: fdb_db,
pub cur_sec: tsdb_sec_info,
pub last_time: fdb_time_t,
pub get_time: fdb_get_time,
pub max_len: usize,
pub rollover: bool,
pub user_data: *mut c_void,
}Fields§
§parent: fdb_db< inherit from fdb_db
cur_sec: tsdb_sec_info< current using sector
last_time: fdb_time_t< last TSL timestamp
get_time: fdb_get_time< the current timestamp get function
max_len: usize< the maximum length of each log
rollover: bool< the oldest data will rollover by newest data, default is true
user_data: *mut c_voidTrait Implementations§
Auto Trait Implementations§
impl Freeze for fdb_tsdb
impl RefUnwindSafe for fdb_tsdb
impl !Send for fdb_tsdb
impl !Sync for fdb_tsdb
impl Unpin for fdb_tsdb
impl UnwindSafe for fdb_tsdb
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