pub struct FsckOptions<'a> {
pub objects: Option<&'a dyn ManifestObjectIndex>,
pub report_unreachable: bool,
}Expand description
What fsck should check beyond node structure.
Fields§
§objects: Option<&'a dyn ManifestObjectIndex>Objects the manifest may name. Enables FsckRule::DanglingObjectRef
and FsckRule::ObjectSizeMismatch.
report_unreachable: boolReport nodes present in the store but unreachable from the root. Off by default: a shared node store legitimately holds other roots’ nodes, so only a whole-store sweep should turn this on.
Trait Implementations§
Source§impl<'a> Default for FsckOptions<'a>
impl<'a> Default for FsckOptions<'a>
Source§fn default() -> FsckOptions<'a>
fn default() -> FsckOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FsckOptions<'a>
impl<'a> !Send for FsckOptions<'a>
impl<'a> !Sync for FsckOptions<'a>
impl<'a> !UnwindSafe for FsckOptions<'a>
impl<'a> Freeze for FsckOptions<'a>
impl<'a> Unpin for FsckOptions<'a>
impl<'a> UnsafeUnpin for FsckOptions<'a>
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