pub struct FileCheckpoint {
pub metadata: FileMetadata,
pub session: FileSession,
pub length: u64,
pub hash_format: u32,
pub hash_state: Vec<u8>,
}Fields§
§metadata: FileMetadata§session: FileSession§length: u64§hash_format: u32§hash_state: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for FileCheckpoint
impl Clone for FileCheckpoint
Source§impl Debug for FileCheckpoint
impl Debug for FileCheckpoint
Source§impl<'de> Deserialize<'de> for FileCheckpoint
impl<'de> Deserialize<'de> for FileCheckpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FileCheckpoint
Source§impl MemorySize for FileCheckpoint
impl MemorySize for FileCheckpoint
fn memory_size(&self) -> usize
Source§impl PartialEq for FileCheckpoint
impl PartialEq for FileCheckpoint
Source§impl Serialize for FileCheckpoint
impl Serialize for FileCheckpoint
impl StructuralPartialEq for FileCheckpoint
Auto Trait Implementations§
impl Freeze for FileCheckpoint
impl RefUnwindSafe for FileCheckpoint
impl Send for FileCheckpoint
impl Sync for FileCheckpoint
impl Unpin for FileCheckpoint
impl UnsafeUnpin for FileCheckpoint
impl UnwindSafe for FileCheckpoint
Blanket Implementations§
impl<T> Allocation for T
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