pub trait AnchoredAdmissionProjectionStore: QualifiedAdmissionProjectionStore {
// Required methods
fn stage_anchored_terminal_projection(
&self,
advance: &VerifiedEconomicStateBatchAdvance,
recovery_lease: &AdmissionRecoveryLease,
envelope: &SignedAdmissionTerminalProjectionV1,
active_fence: &StoreMutationFence,
trusted_now_unix_ms: u64,
) -> Result<(), ReceiptStoreError>;
fn qualify_anchored_terminal_projection(
&self,
batch_id: &str,
active_fence: &StoreMutationFence,
trusted_now_unix_ms: u64,
) -> Result<(), ReceiptStoreError>;
fn record_anchored_terminal_projection(
&self,
advance: &VerifiedEconomicStateBatchAdvance,
committed: &VerifiedEconomicStateView,
pins: &EconomicStateAnchorPins,
active_fence: &StoreMutationFence,
trusted_now_unix_ms: u64,
) -> Result<(), ReceiptStoreError>;
fn commit_anchored_terminal_projection(
&self,
batch_id: &str,
active_fence: &StoreMutationFence,
trusted_now_unix_ms: u64,
) -> Result<AdmissionTerminal, ReceiptStoreError>;
}Required Methods§
fn stage_anchored_terminal_projection( &self, advance: &VerifiedEconomicStateBatchAdvance, recovery_lease: &AdmissionRecoveryLease, envelope: &SignedAdmissionTerminalProjectionV1, active_fence: &StoreMutationFence, trusted_now_unix_ms: u64, ) -> Result<(), ReceiptStoreError>
fn qualify_anchored_terminal_projection( &self, batch_id: &str, active_fence: &StoreMutationFence, trusted_now_unix_ms: u64, ) -> Result<(), ReceiptStoreError>
fn record_anchored_terminal_projection( &self, advance: &VerifiedEconomicStateBatchAdvance, committed: &VerifiedEconomicStateView, pins: &EconomicStateAnchorPins, active_fence: &StoreMutationFence, trusted_now_unix_ms: u64, ) -> Result<(), ReceiptStoreError>
fn commit_anchored_terminal_projection( &self, batch_id: &str, active_fence: &StoreMutationFence, trusted_now_unix_ms: u64, ) -> Result<AdmissionTerminal, ReceiptStoreError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".