pub struct FoundVolume {
pub path: PathBuf,
pub index: usize,
pub kind: &'static str,
pub header_ok: bool,
pub descriptor_ok: bool,
pub size_ok: bool,
pub bad_pieces: Vec<u32>,
pub verified: bool,
}Expand description
One volume file as found on disk.
Fields§
§path: PathBuf§index: usize§kind: &'static str§header_ok: bool§descriptor_ok: bool§size_ok: boolPayload length matches the geometry.
bad_pieces: Vec<u32>Indices (stripe positions) of pieces whose hash does not match; filled by verification.
verified: boolImplementations§
Trait Implementations§
Source§impl Clone for FoundVolume
impl Clone for FoundVolume
Source§impl Debug for FoundVolume
impl Debug for FoundVolume
Auto Trait Implementations§
impl Freeze for FoundVolume
impl RefUnwindSafe for FoundVolume
impl Send for FoundVolume
impl Sync for FoundVolume
impl Unpin for FoundVolume
impl UnsafeUnpin for FoundVolume
impl UnwindSafe for FoundVolume
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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