pub struct FsckReply {
pub ok: bool,
pub has_metadata: bool,
pub objects_checked: u64,
pub objects_corrupted: u64,
pub streams_checked: u64,
pub streams_corrupted: u64,
pub images_checked: u64,
pub images_corrupted: u64,
pub broken_links: u64,
pub missing_objects: u64,
pub errors: Vec<String>,
}Expand description
Result of a repository consistency check, mirrored for the varlink wire format.
This is a flattened, snake_case projection of
[composefs::repository::FsckResult]; field names follow the varlink
convention rather than the camelCase used by the JSON CLI output.
Fields§
§ok: boolWhether the repository passed the integrity check with no errors.
has_metadata: boolWhether the repository has a meta.json metadata file.
objects_checked: u64Number of objects whose fs-verity digests were verified.
objects_corrupted: u64Number of objects found to have a bad fs-verity digest.
streams_checked: u64Number of splitstreams verified.
streams_corrupted: u64Number of splitstreams with issues (bad header, missing refs, etc.).
images_checked: u64Number of images verified.
images_corrupted: u64Number of images with issues.
broken_links: u64Number of broken symlinks found.
missing_objects: u64Number of missing objects referenced by streams.
errors: Vec<String>Human-readable descriptions of each error found.
These are the Display rendering of the library’s structured
FsckError variants; they carry stable fsck: <kind>: prefixes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FsckReply
impl<'de> Deserialize<'de> for FsckReply
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>,
Auto Trait Implementations§
impl Freeze for FsckReply
impl RefUnwindSafe for FsckReply
impl Send for FsckReply
impl Sync for FsckReply
impl Unpin for FsckReply
impl UnsafeUnpin for FsckReply
impl UnwindSafe for FsckReply
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
§impl<S> CanonJsonSerialize for Swhere
S: Serialize,
impl<S> CanonJsonSerialize for Swhere
S: Serialize,
§fn to_canon_json_writer<W>(&self, writer: W) -> Result<(), Error>where
W: Write,
fn to_canon_json_writer<W>(&self, writer: W) -> Result<(), Error>where
W: Write,
§fn to_canon_json_vec(&self) -> Result<Vec<u8>, Error>
fn to_canon_json_vec(&self) -> Result<Vec<u8>, Error>
§fn to_canon_json_string(&self) -> Result<String, Error>
fn to_canon_json_string(&self) -> Result<String, Error>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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