#[repr(C)]pub struct fdb_kv {
pub status: fdb_kv_status_t,
pub crc_is_ok: bool,
pub name_len: u8,
pub magic: u32,
pub len: u32,
pub value_len: u32,
pub name: [c_char; 64],
pub addr: fdb_kv__bindgen_ty_1,
}Fields§
§status: fdb_kv_status_t< node status, @see fdb_kv_status_t
crc_is_ok: bool< node CRC32 check is OK
name_len: u8< name length
magic: u32< magic word(K, V, 4, 0)
len: u32< node total length (header + name + value), must align by FDB_WRITE_GRAN
value_len: u32< value length
name: [c_char; 64]< name
addr: fdb_kv__bindgen_ty_1Trait Implementations§
impl Copy for fdb_kv
Auto Trait Implementations§
impl Freeze for fdb_kv
impl RefUnwindSafe for fdb_kv
impl Send for fdb_kv
impl Sync for fdb_kv
impl Unpin for fdb_kv
impl UnwindSafe for fdb_kv
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