pub struct Ctx<'a> {
pub format: u32,
pub time_ms: i64,
pub policy: &'a PolicyBundle,
pub facts: Option<&'a Facts>,
pub evidence: &'a [Attestation],
pub symbols_engine: Option<u32>,
}Fields§
§format: u32The format of the entry: what a recorded operation means.
time_ms: i64§policy: &'a PolicyBundle§facts: Option<&'a Facts>§evidence: &'a [Attestation]§symbols_engine: Option<u32>The symbol engine that computed facts: what their names mean.
Auto Trait Implementations§
impl<'a> Forget for Ctx<'a>
impl<'a> Freeze for Ctx<'a>
impl<'a> Move for Ctx<'a>
impl<'a> RefUnwindSafe for Ctx<'a>
impl<'a> Send for Ctx<'a>
impl<'a> Sync for Ctx<'a>
impl<'a> Unpin for Ctx<'a>
impl<'a> UnsafeUnpin for Ctx<'a>
impl<'a> UnwindSafe for Ctx<'a>
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> 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