pub struct FileParams {
pub progress: u64,
pub segment_len: u64,
pub crc32: u32,
pub metadata_only: bool,
pub file_size: u64,
pub empty_file: bool,
}
Available on crate feature
alloc
only.Fields§
§progress: u64
§segment_len: u64
§crc32: u32
§metadata_only: bool
§file_size: u64
§empty_file: bool
Trait Implementations§
Source§impl Default for FileParams
impl Default for FileParams
Source§fn default() -> FileParams
fn default() -> FileParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileParams
impl RefUnwindSafe for FileParams
impl Send for FileParams
impl Sync for FileParams
impl Unpin for FileParams
impl UnwindSafe for FileParams
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