pub struct DamagedFile {
pub filename: String,
pub size: u64,
pub damaged_block_count: u32,
pub total_block_count: u32,
pub damaged_block_indices: Vec<u32>,
}Expand description
A file that exists but has damage.
Fields§
§filename: String§size: u64§damaged_block_count: u32Number of blocks in this file that are damaged.
total_block_count: u32Total blocks in this file.
damaged_block_indices: Vec<u32>Indices of the specific damaged blocks within this file (0-based).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DamagedFile
impl RefUnwindSafe for DamagedFile
impl Send for DamagedFile
impl Sync for DamagedFile
impl Unpin for DamagedFile
impl UnsafeUnpin for DamagedFile
impl UnwindSafe for DamagedFile
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more