pub struct ChainChoice {
pub checkpoint: PathBuf,
pub legacy_in_use: bool,
pub warning: Option<String>,
pub refusal: Option<String>,
pub transient: bool,
}Expand description
Which chain a default-path boot should use.
Fields§
§checkpoint: PathBufCheckpoint path to pin (RVF, key and tree derive from it).
legacy_in_use: boolTrue when this is the legacy ~/.clawft chain, not the resolved one.
warning: Option<String>WARN text for the operator, when the choice needs explaining.
refusal: Option<String>Set when adopting the legacy chain looks unsafe: boot must refuse.
transient: boolrefusal clears by itself within LEGACY_ACTIVE_WINDOW (an older
kernel’s recent write): a plain boot error, so a service manager’s
retry is the right response, not the permanent exit 78.
Trait Implementations§
Source§impl Clone for ChainChoice
impl Clone for ChainChoice
Source§impl Debug for ChainChoice
impl Debug for ChainChoice
impl Eq for ChainChoice
Source§impl PartialEq for ChainChoice
impl PartialEq for ChainChoice
impl StructuralPartialEq for ChainChoice
Auto Trait Implementations§
impl Freeze for ChainChoice
impl RefUnwindSafe for ChainChoice
impl Send for ChainChoice
impl Sync for ChainChoice
impl Unpin for ChainChoice
impl UnsafeUnpin for ChainChoice
impl UnwindSafe for ChainChoice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> 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