pub struct ClaimExtractor { /* private fields */ }Implementations§
Source§impl ClaimExtractor
impl ClaimExtractor
pub fn new(run_id: &str, session_id: Option<&str>) -> Self
pub fn verify_pathjail(&mut self, path: &str, jail_root: &Path)
pub fn verify_no_secrets_in_output(&mut self, output: &str)
pub fn verify_signatures_preserved( &mut self, original: &[String], compressed: &[String], )
pub fn verify_imports_preserved( &mut self, original_imports: &[String], compressed: &str, )
pub fn add_custom_claim(&mut self, claim: Claim)
pub fn finalize(self) -> ContextProofV2
Auto Trait Implementations§
impl Forget for ClaimExtractor
impl Freeze for ClaimExtractor
impl Move for ClaimExtractor
impl RefUnwindSafe for ClaimExtractor
impl Send for ClaimExtractorwhere
RawVecInner: Send,
impl Sync for ClaimExtractorwhere
RawVecInner: Sync,
impl Unpin for ClaimExtractor
impl UnsafeUnpin for ClaimExtractorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Claim>: UnsafeUnpin,
impl UnwindSafe for ClaimExtractorwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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