pub struct MmkvCrcHeader {
pub crc32: u32,
pub iv: [u8; 16],
pub real_size: usize,
}
Fields§
§crc32: u32
CRC32 checksum of the enciphered file content, to the hdr.real_size
bytes.
iv: [u8; 16]
AES-128-CFB IV
real_size: usize
The actual mmkv store file size (without the 4-byte header).
Implementations§
Source§impl MmkvCrcHeader
impl MmkvCrcHeader
Auto Trait Implementations§
impl Freeze for MmkvCrcHeader
impl RefUnwindSafe for MmkvCrcHeader
impl Send for MmkvCrcHeader
impl Sync for MmkvCrcHeader
impl Unpin for MmkvCrcHeader
impl UnwindSafe for MmkvCrcHeader
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