pub struct Ctx {
pub live_origin_sha: Option<String>,
pub selected: Option<SelectedList>,
pub now_unix: i64,
pub staleness_secs: i64,
pub attest: Option<Vec<String>>,
}Expand description
The evaluation context, built once per ev check / ev reopen invocation:
the staleness reference sha, the selected-list, and the clock for age-staleness.
Fields§
§live_origin_sha: Option<String>§selected: Option<SelectedList>§now_unix: i64§staleness_secs: i64§attest: Option<Vec<String>>Auto Trait Implementations§
impl Freeze for Ctx
impl RefUnwindSafe for Ctx
impl Send for Ctx
impl Sync for Ctx
impl Unpin for Ctx
impl UnsafeUnpin for Ctx
impl UnwindSafe for Ctx
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