pub struct Context {
pub known_good: GenerationId,
pub live_tested: Option<GenerationId>,
pub accepted_baseline: Option<GenerationId>,
pub security_floor: Option<GenerationId>,
pub overrides: Vec<Override>,
pub core_hash: Hash,
}Expand description
Baselines and overrides from the journal, which state does not own.
Fields§
§known_good: GenerationId§live_tested: Option<GenerationId>§accepted_baseline: Option<GenerationId>§security_floor: Option<GenerationId>§12e, from the ledger.
overrides: Vec<Override>§core_hash: HashTrait Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
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