pub struct OciFsckReply {
pub ok: bool,
pub images_checked: u64,
pub images_corrupted: u64,
pub errors: Vec<String>,
pub repo: FsckReply,
}Expand description
Result of an OCI-level consistency check for the varlink wire format.
Flattened projection of [composefs_oci::oci_fsck]’s OciFsckResult; the
embedded FsckReply carries the underlying repository-level results.
Fields§
§ok: boolWhether no corruption or errors were found at any level.
images_checked: u64Number of OCI images checked.
images_corrupted: u64Number of OCI images found to have issues.
errors: Vec<String>Human-readable descriptions of each OCI-level error found.
repo: FsckReplyThe underlying repository-level fsck results.
Trait Implementations§
Source§impl Clone for OciFsckReply
impl Clone for OciFsckReply
Source§fn clone(&self) -> OciFsckReply
fn clone(&self) -> OciFsckReply
Returns a duplicate of the value. Read more
1.0.0 · 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 OciFsckReply
impl Debug for OciFsckReply
Source§impl<'de> Deserialize<'de> for OciFsckReply
impl<'de> Deserialize<'de> for OciFsckReply
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&OciFsckResult> for OciFsckReply
impl From<&OciFsckResult> for OciFsckReply
Source§impl Serialize for OciFsckReply
impl Serialize for OciFsckReply
Auto Trait Implementations§
impl Freeze for OciFsckReply
impl RefUnwindSafe for OciFsckReply
impl Send for OciFsckReply
impl Sync for OciFsckReply
impl Unpin for OciFsckReply
impl UnsafeUnpin for OciFsckReply
impl UnwindSafe for OciFsckReply
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<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,
Serialize the given data structure as JSON into the I/O stream.
§fn to_canon_json_vec(&self) -> Result<Vec<u8>, Error>
fn to_canon_json_vec(&self) -> Result<Vec<u8>, Error>
Serialize the given data structure as a JSON byte vector.
§fn to_canon_json_string(&self) -> Result<String, Error>
fn to_canon_json_string(&self) -> Result<String, Error>
Serialize the given data structure as a String.
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>
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