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§fn clone(&self) -> FileCheckpoint
fn clone(&self) -> FileCheckpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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<FileCheckpoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FileCheckpoint, <__D as Deserializer<'de>>::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§const INLINE_ONLY: bool = false
const INLINE_ONLY: bool = false
True only when every value occupies exactly
size_of::<Self>() bytes,
with no separately owned allocations or additional accounting charge.Source§impl PartialEq for FileCheckpoint
impl PartialEq for FileCheckpoint
Source§impl Serialize for FileCheckpoint
impl Serialize for FileCheckpoint
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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