pub struct VerifiableOperation { /* private fields */ }Expand description
A typed, storage-neutral operation view.
This is the framework entry point. Adapters construct it from their own evidence source and use the same methods regardless of whether that source is a file, database, object store, or an in-memory test fixture.
Implementations§
Source§impl VerifiableOperation
impl VerifiableOperation
pub fn new(operation_id: impl Into<String>, evidence: EvidenceBundle) -> Self
pub fn operation_id(&self) -> &str
pub fn evidence(&self) -> &EvidenceBundle
pub fn inspect(&self, strict: bool) -> InspectReport
pub fn verify(&self, options: VerifyOptions) -> VerifyReport
pub fn replay(&self, options: ReplayOptions) -> ReplayReport
pub fn prepare_fork( &self, at_step: u64, strict: bool, ) -> Result<ForkPlan, String>
Trait Implementations§
Source§impl Clone for VerifiableOperation
impl Clone for VerifiableOperation
Source§fn clone(&self) -> VerifiableOperation
fn clone(&self) -> VerifiableOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerifiableOperation
impl Debug for VerifiableOperation
impl Eq for VerifiableOperation
Source§impl PartialEq for VerifiableOperation
impl PartialEq for VerifiableOperation
impl StructuralPartialEq for VerifiableOperation
Auto Trait Implementations§
impl Freeze for VerifiableOperation
impl RefUnwindSafe for VerifiableOperation
impl Send for VerifiableOperation
impl Sync for VerifiableOperation
impl Unpin for VerifiableOperation
impl UnsafeUnpin for VerifiableOperation
impl UnwindSafe for VerifiableOperation
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