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_budget_compliance(&mut self)
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_lean_proof( &mut self, id: &str, text: &str, kind: ClaimKind, theorem: &str, )
pub fn add_custom_claim(&mut self, claim: Claim)
pub fn finalize(self) -> ContextProofV2
Auto Trait Implementations§
impl Freeze for ClaimExtractor
impl RefUnwindSafe for ClaimExtractor
impl Send for ClaimExtractor
impl Sync for ClaimExtractor
impl Unpin for ClaimExtractor
impl UnsafeUnpin for ClaimExtractor
impl UnwindSafe for ClaimExtractor
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> 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