Skip to main content

GraftOverlay

Struct GraftOverlay 

Source
pub struct GraftOverlay {
    pub effective: Registry,
    pub reports: Vec<RecordReport>,
}
Expand description

The effective tree record files produced, with their evidence. 记录文件产生的有效树及其证据。

reports is the kernel’s reconciliation evidence for the records that were carried through. It is also printed by apply_recorded_grafts, so a host that never looks at this struct still sees every problem. Records the kernel refuses, and plans this loader cannot parse, never reach here: they are an Err instead of a field. reports 是被带过来的那些记录在内核里的对账证据。它也会由 apply_recorded_grafts 打印,因此从不查看本结构体的宿主依然能看到每一个问题。 内核拒绝的记录与本加载器解析不了的计划到不了这里:它们是 Err,而不是某个字段。

Fields§

§effective: Registry

The base tree with every applied record overlaid. 叠加全部已应用记录后的有效树。

§reports: Vec<RecordReport>

The kernel’s per-record reconciliation evidence, problems included. 内核逐条记录的对账证据,含问题项。

Trait Implementations§

Source§

impl Debug for GraftOverlay

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.