pub struct SecureExecutor { /* private fields */ }Implementations§
Source§impl SecureExecutor
impl SecureExecutor
Sourcepub fn new(
auditor: ProofAuditor,
audit_log: AuditLog,
storage_root: PathBuf,
) -> Result<Self>
pub fn new( auditor: ProofAuditor, audit_log: AuditLog, storage_root: PathBuf, ) -> Result<Self>
Create a new secure executor with a confined storage root
pub fn execute_with_proof( &mut self, action: &Action, proof: &IntegrityProof, ) -> Result<ExecutionResult>
Auto Trait Implementations§
impl Freeze for SecureExecutor
impl !RefUnwindSafe for SecureExecutor
impl Send for SecureExecutor
impl Sync for SecureExecutor
impl Unpin for SecureExecutor
impl !UnwindSafe for SecureExecutor
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