pub struct Facts<'a> {
pub record_present: bool,
pub data_label: &'a str,
pub data_shape: &'a str,
pub data_devices: &'a [String],
pub serialdat_label: &'a str,
pub serialdat_class: &'a str,
pub serialdat_device: &'a str,
pub off_stripe: &'a str,
pub off_stripe_health: &'a [String],
pub data_fs: Option<&'a FilesystemUse>,
pub disk: Option<&'a Outcome>,
}Expand description
Everything the four lines are read from — all of it already measured or configured elsewhere; nothing here reads a disk.
Fields§
§record_present: boolThe layout config is present (and verified or integrity-checked).
data_label: &'a strdata.mountpoint, else the data root.
data_shape: &'a strdata.shape: raid0 | plain | p3 | “”.
data_devices: &'a [String]data.N.dev, in order.
serialdat_label: &'a strserialdat.mountpoint, else the configured slow root.
serialdat_class: &'a strserialdat.class: p3 | device | fallback | “”.
serialdat_device: &'a strserialdat.dev.
off_stripe: &'a strThe one off-stripe verdict: off-stripe | same-device | absent.
off_stripe_health: &'a [String]§data_fs: Option<&'a FilesystemUse>The data root’s filesystem, measured on this call.
disk: Option<&'a Outcome>The start-up disk test’s outcome, None when it has not run.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Facts<'a>
impl<'a> RefUnwindSafe for Facts<'a>
impl<'a> Send for Facts<'a>
impl<'a> Sync for Facts<'a>
impl<'a> Unpin for Facts<'a>
impl<'a> UnsafeUnpin for Facts<'a>
impl<'a> UnwindSafe for Facts<'a>
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request