pub struct PccBuilder { /* private fields */ }Expand description
Builder for creating proof-carrying code certificates
Implementations§
Source§impl PccBuilder
impl PccBuilder
Sourcepub fn with_property(self, property: SafetyProperty) -> Self
pub fn with_property(self, property: SafetyProperty) -> Self
Add a safety property
Sourcepub fn with_vc(self, vc: VerificationCondition) -> Self
pub fn with_vc(self, vc: VerificationCondition) -> Self
Add a verification condition
Sourcepub fn build(self) -> ProofCarryingCode
pub fn build(self) -> ProofCarryingCode
Build the PCC certificate
Auto Trait Implementations§
impl Freeze for PccBuilder
impl RefUnwindSafe for PccBuilder
impl Send for PccBuilder
impl Sync for PccBuilder
impl Unpin for PccBuilder
impl UnsafeUnpin for PccBuilder
impl UnwindSafe for PccBuilder
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