pub struct AuraEffectSystem { /* private fields */ }Expand description
Concrete effect system combining all effects for runtime usage
Note: This wraps aura-composition infrastructure for Layer 6 runtime concerns.
§Subsystem Organization
Related fields are grouped into subsystems for better organization:
crypto: Cryptographic operations, RNG, secure key storagetransport: Network transport, inbox management, statisticsjournal: Indexed journal, fact registry, publication channel
Remaining fields are core infrastructure used across subsystems.
Implementations§
Source§impl AuraEffectSystem
impl AuraEffectSystem
Sourcepub fn is_testing(&self) -> bool
pub fn is_testing(&self) -> bool
Check if the effect system is in test mode (bypasses authorization guards)
Sourcepub fn is_test_mode(&self) -> bool
pub fn is_test_mode(&self) -> bool
Check if the effect system is in explicit test mode (not simulation).
Sourcepub fn harness_mode_enabled(&self) -> bool
pub fn harness_mode_enabled(&self) -> bool
Check whether harness diagnostics are enabled for this runtime instance.
Sourcepub fn reactive_handler(&self) -> ReactiveHandler
pub fn reactive_handler(&self) -> ReactiveHandler
Get the shared reactive handler (signal graph) for this runtime.
pub async fn export_tree_ops(&self) -> Result<Vec<AttestedOp>, AgentError>
pub async fn import_tree_ops( &self, ops: &[AttestedOp], ) -> Result<(), AgentError>
Sourcepub fn attach_fact_sink(&self, tx: Sender<FactSource>)
pub fn attach_fact_sink(&self, tx: Sender<FactSource>)
Attach a fact sink for reactive scheduling (facts → scheduler ingestion).
This is called during runtime startup when the ReactivePipeline is started.
Sourcepub fn attach_view_update_sender(&self, tx: Sender<ViewUpdate>)
pub fn attach_view_update_sender(&self, tx: Sender<ViewUpdate>)
Attach a view update sender for awaiting fact processing.
This is called during runtime startup when the ReactivePipeline is started.
Sourcepub async fn await_next_view_update(&self)
pub async fn await_next_view_update(&self)
Wait for the reactive scheduler to process the next batch of facts.
This is useful after committing facts to ensure the reactive views have been updated before continuing. Returns immediately if no view update subscription is available (e.g., in tests).
§Example
effects.commit_generic_fact_bytes(context, type_id, bytes).await?;
effects.await_next_view_update().await; // Ensure views are updatedpub fn requeue_envelope(&self, envelope: TransportEnvelope)
pub fn attach_lan_transport(&self, service: Arc<LanTransportService>)
pub fn lan_transport(&self) -> Option<Arc<LanTransportService>>
pub fn attach_rendezvous_manager(&self, manager: RendezvousManager)
pub fn rendezvous_manager(&self) -> Option<RendezvousManager>
pub fn attach_move_manager(&self, manager: MoveManager)
pub fn move_manager(&self) -> Option<MoveManager>
Sourcepub async fn initialize_biscuit_cache(&self)
pub async fn initialize_biscuit_cache(&self)
Load persisted Biscuit tokens from secure storage into the in-memory cache.
Called during startup (builder) to restore tokens for returning users.
For new users the cache remains empty until bootstrap_authority() creates tokens.
Storage format: [32 bytes root public key][N bytes biscuit token]
Sourcepub fn set_biscuit_cache(&self, cache: BiscuitCache)
pub fn set_biscuit_cache(&self, cache: BiscuitCache)
Set the biscuit cache directly (used during bootstrap_authority).
Sourcepub fn biscuit_cache(&self) -> Option<BiscuitCache>
pub fn biscuit_cache(&self) -> Option<BiscuitCache>
Get the current biscuit cache (for guard chain metadata).
Sourcepub async fn bootstrap_biscuit_tokens(
&self,
authority: &AuthorityId,
) -> Result<(), AuraError>
pub async fn bootstrap_biscuit_tokens( &self, authority: &AuthorityId, ) -> Result<(), AuraError>
Create and persist Biscuit authorization tokens during account bootstrap.
Creates a TokenAuthority, mints a self-token with full capabilities,
persists [32 bytes root PK][N bytes token] to secure storage, and
populates the in-memory BiscuitCache so the guard chain works immediately.
Sourcepub async fn commit_relational_facts(
&self,
facts: Vec<RelationalFact>,
) -> Result<Vec<TypedFact>, AuraError>
pub async fn commit_relational_facts( &self, facts: Vec<RelationalFact>, ) -> Result<Vec<TypedFact>, AuraError>
Commit a batch of typed relational facts into the canonical fact store and publish them.
This is the single write path for UI-facing facts in the runtime.
Sourcepub async fn commit_relational_facts_with_options(
&self,
facts: Vec<RelationalFact>,
options: FactOptions,
) -> Result<Vec<TypedFact>, AuraError>
pub async fn commit_relational_facts_with_options( &self, facts: Vec<RelationalFact>, options: FactOptions, ) -> Result<Vec<TypedFact>, AuraError>
Commit a batch of typed relational facts with options.
Same as commit_relational_facts but allows specifying options like ack tracking.
Sourcepub async fn commit_generic_fact_bytes(
&self,
context_id: ContextId,
binding_type: FactTypeId,
binding_data: Vec<u8>,
) -> Result<TypedFact, AuraError>
pub async fn commit_generic_fact_bytes( &self, context_id: ContextId, binding_type: FactTypeId, binding_data: Vec<u8>, ) -> Result<TypedFact, AuraError>
Commit a single generic domain fact (binding_type + bytes) into the canonical fact store.
Sourcepub async fn load_committed_facts(
&self,
authority_id: AuthorityId,
) -> Result<Vec<TypedFact>, AuraError>
pub async fn load_committed_facts( &self, authority_id: AuthorityId, ) -> Result<Vec<TypedFact>, AuraError>
Load all committed typed facts for the given authority from storage.
Sourcepub async fn has_dkg_transcript_commit(
&self,
authority_id: AuthorityId,
context_id: ContextId,
epoch: u64,
) -> Result<bool, AuraError>
pub async fn has_dkg_transcript_commit( &self, authority_id: AuthorityId, context_id: ContextId, epoch: u64, ) -> Result<bool, AuraError>
Check whether a consensus-finalized DKG transcript commit exists for an epoch.
Sourcepub async fn latest_dkg_transcript_commit(
&self,
authority_id: AuthorityId,
context_id: ContextId,
) -> Result<Option<DkgTranscriptCommit>, AuraError>
pub async fn latest_dkg_transcript_commit( &self, authority_id: AuthorityId, context_id: ContextId, ) -> Result<Option<DkgTranscriptCommit>, AuraError>
Return the latest DKG transcript commit for a context, if any.
Sourcepub fn new(
config: AgentConfig,
authority_id: AuthorityId,
) -> Result<Self, AgentError>
pub fn new( config: AgentConfig, authority_id: AuthorityId, ) -> Result<Self, AgentError>
Create new effect system with configuration (testing mode).
Sourcepub fn production(
config: AgentConfig,
authority_id: AuthorityId,
) -> Result<Self, AgentError>
pub fn production( config: AgentConfig, authority_id: AuthorityId, ) -> Result<Self, AgentError>
Create effect system for production.
Sourcepub fn simulation_for_test(config: &AgentConfig) -> Result<Self, AgentError>
pub fn simulation_for_test(config: &AgentConfig) -> Result<Self, AgentError>
Canonical deterministic constructor for tests.
Seed derivation is deterministic from callsite location, and duplicate seeds in-process are rejected to prevent hidden test coupling.
Sourcepub fn simulation_for_test_with_salt(
config: &AgentConfig,
extra_salt: u64,
) -> Result<Self, AgentError>
pub fn simulation_for_test_with_salt( config: &AgentConfig, extra_salt: u64, ) -> Result<Self, AgentError>
Deterministic test constructor with extra salt for multi-instance setups from the same callsite.
Sourcepub fn simulation_for_named_test(
config: &AgentConfig,
test_identity: &str,
) -> Result<Self, AgentError>
pub fn simulation_for_named_test( config: &AgentConfig, test_identity: &str, ) -> Result<Self, AgentError>
Deterministic test constructor using explicit test identity plus callsite.
Sourcepub fn simulation_for_named_test_with_salt(
config: &AgentConfig,
test_identity: &str,
extra_salt: u64,
) -> Result<Self, AgentError>
pub fn simulation_for_named_test_with_salt( config: &AgentConfig, test_identity: &str, extra_salt: u64, ) -> Result<Self, AgentError>
Deterministic test constructor with explicit test identity and salt.
Deterministic authority-aware constructor for tests.
Deterministic authority-aware constructor for tests with salt.
Deterministic shared-transport constructor for tests.
Deterministic shared-transport constructor for tests with explicit authority.
Sourcepub fn testing(
config: &AgentConfig,
authority_id: AuthorityId,
) -> Result<Self, AgentError>
pub fn testing( config: &AgentConfig, authority_id: AuthorityId, ) -> Result<Self, AgentError>
Create effect system for testing with default configuration.
Prefer simulation_for_test(...) for deterministic per-test seeding.
Create effect system for testing with shared transport.
This factory is used for tests that need to verify transport envelope routing, enabling loopback testing where an agent can send and receive messages from itself.
Sourcepub fn simulation(
config: &AgentConfig,
seed: u64,
authority_id: AuthorityId,
) -> Result<Self, AgentError>
pub fn simulation( config: &AgentConfig, seed: u64, authority_id: AuthorityId, ) -> Result<Self, AgentError>
Create effect system for simulation with controlled seed.
Create effect system for simulation with shared transport.
This factory is used for multi-agent simulations where all agents need to communicate through a shared transport layer. The shared transport enables message routing between Bob, Alice, and Carol in demo mode.
Create effect system for simulation with a shared inbox.
This variant matches the aura-core simulation factory contract and uses a single shared inbox for all agents. Receivers filter by destination.
Create effect system for production, overriding the authority identity.
Create effect system for testing, overriding the authority identity.
Prefer simulation_for_test_for_authority(...) for deterministic per-test seeding.
Create effect system for simulation, overriding the authority identity.
Create effect system for simulation with shared transport, overriding authority.
Create effect system for simulation with a shared inbox, overriding authority.
Sourcepub fn config(&self) -> &AgentConfig
pub fn config(&self) -> &AgentConfig
Get configuration
Sourcepub fn composite(&self) -> &CompositeHandlerAdapter
pub fn composite(&self) -> &CompositeHandlerAdapter
Get composite handler
Sourcepub fn time_effects(&self) -> &EnhancedTimeHandler
pub fn time_effects(&self) -> &EnhancedTimeHandler
Get access to time effects
Sourcepub fn fact_registry(&self) -> Arc<FactRegistry>
pub fn fact_registry(&self) -> Arc<FactRegistry>
Get the fact registry for domain-specific fact reduction.
Sourcepub fn indexed_journal(&self) -> Arc<IndexedJournalHandler>
pub fn indexed_journal(&self) -> Arc<IndexedJournalHandler>
Get the indexed journal handler for efficient fact lookups.
Provides O(log n) B-tree indexed lookups, O(1) Bloom filter membership tests, and Merkle tree integrity verification.
Source§impl AuraEffectSystem
impl AuraEffectSystem
pub async fn start_owned_choreography_session( &self, owner_label: impl Into<String>, session_uuid: Uuid, roles: Vec<ChoreographicRole>, ) -> Result<RuntimeSessionOwner, SessionIngressError>
pub fn assert_owned_choreography_session( &self, owner: &RuntimeSessionOwner, ) -> Result<(), SessionIngressError>
pub fn assert_owned_choreography_boundary( &self, owner: &RuntimeSessionOwner, boundary: &AuraLinkBoundary, ) -> Result<(), SessionIngressError>
pub fn transfer_owned_choreography_session_owner( &self, owner: RuntimeSessionOwner, next_owner_label: impl Into<String>, next_scope: SessionOwnerCapabilityScope, ) -> Result<RuntimeSessionOwner, SessionIngressError>
pub async fn end_owned_choreography_session( &self, owner: &RuntimeSessionOwner, ) -> Result<(), SessionIngressError>
Trait Implementations§
Source§impl AmpChannelEffects for AuraEffectSystem
impl AmpChannelEffects for AuraEffectSystem
Source§fn create_channel<'life0, 'async_trait>(
&'life0 self,
params: ChannelCreateParams,
) -> Pin<Box<dyn Future<Output = Result<ChannelId, AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_channel<'life0, 'async_trait>(
&'life0 self,
params: ChannelCreateParams,
) -> Pin<Box<dyn Future<Output = Result<ChannelId, AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn close_channel<'life0, 'async_trait>(
&'life0 self,
params: ChannelCloseParams,
) -> Pin<Box<dyn Future<Output = Result<(), AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn close_channel<'life0, 'async_trait>(
&'life0 self,
params: ChannelCloseParams,
) -> Pin<Box<dyn Future<Output = Result<(), AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn join_channel<'life0, 'async_trait>(
&'life0 self,
params: ChannelJoinParams,
) -> Pin<Box<dyn Future<Output = Result<(), AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn join_channel<'life0, 'async_trait>(
&'life0 self,
params: ChannelJoinParams,
) -> Pin<Box<dyn Future<Output = Result<(), AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn leave_channel<'life0, 'async_trait>(
&'life0 self,
params: ChannelLeaveParams,
) -> Pin<Box<dyn Future<Output = Result<(), AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn leave_channel<'life0, 'async_trait>(
&'life0 self,
params: ChannelLeaveParams,
) -> Pin<Box<dyn Future<Output = Result<(), AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn send_message<'life0, 'async_trait>(
&'life0 self,
params: ChannelSendParams,
) -> Pin<Box<dyn Future<Output = Result<AmpCiphertext, AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_message<'life0, 'async_trait>(
&'life0 self,
params: ChannelSendParams,
) -> Pin<Box<dyn Future<Output = Result<AmpCiphertext, AmpChannelError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl AuraEffects for AuraEffectSystem
impl AuraEffects for AuraEffectSystem
Source§fn execution_mode(&self) -> ExecutionMode
fn execution_mode(&self) -> ExecutionMode
Source§impl AuthorizationEffects for AuraEffectSystem
impl AuthorizationEffects for AuraEffectSystem
Source§fn verify_capability<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
capabilities: &'life1 Cap,
operation: AuthorizationOp,
scope: &'life2 ResourceScope,
) -> Pin<Box<dyn Future<Output = Result<bool, AuthorizationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn verify_capability<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
capabilities: &'life1 Cap,
operation: AuthorizationOp,
scope: &'life2 ResourceScope,
) -> Pin<Box<dyn Future<Output = Result<bool, AuthorizationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn delegate_capabilities<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
source_capabilities: &'life1 Cap,
requested_capabilities: &'life2 Cap,
target_authority: &'life3 AuthorityId,
) -> Pin<Box<dyn Future<Output = Result<Cap, AuthorizationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn delegate_capabilities<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
source_capabilities: &'life1 Cap,
requested_capabilities: &'life2 Cap,
target_authority: &'life3 AuthorityId,
) -> Pin<Box<dyn Future<Output = Result<Cap, AuthorizationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§impl ChoreographicEffects for AuraEffectSystem
impl ChoreographicEffects for AuraEffectSystem
Source§fn send_to_role_bytes<'life0, 'async_trait>(
&'life0 self,
role: ChoreographicRole,
message: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_to_role_bytes<'life0, 'async_trait>(
&'life0 self,
role: ChoreographicRole,
message: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn receive_from_role_bytes<'life0, 'async_trait>(
&'life0 self,
role: ChoreographicRole,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn receive_from_role_bytes<'life0, 'async_trait>(
&'life0 self,
role: ChoreographicRole,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn broadcast_bytes<'life0, 'async_trait>(
&'life0 self,
message: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn broadcast_bytes<'life0, 'async_trait>(
&'life0 self,
message: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn current_role(&self) -> ChoreographicRole
fn current_role(&self) -> ChoreographicRole
Source§fn all_roles(&self) -> Vec<ChoreographicRole>
fn all_roles(&self) -> Vec<ChoreographicRole>
Source§fn is_role_active<'life0, 'async_trait>(
&'life0 self,
role: ChoreographicRole,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn is_role_active<'life0, 'async_trait>(
&'life0 self,
role: ChoreographicRole,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn start_session<'life0, 'async_trait>(
&'life0 self,
session_id: Uuid,
roles: Vec<ChoreographicRole>,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn start_session<'life0, 'async_trait>(
&'life0 self,
session_id: Uuid,
roles: Vec<ChoreographicRole>,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn end_session<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn end_session<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn emit_choreo_event<'life0, 'async_trait>(
&'life0 self,
event: ChoreographyEvent,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn emit_choreo_event<'life0, 'async_trait>(
&'life0 self,
event: ChoreographyEvent,
) -> Pin<Box<dyn Future<Output = Result<(), ChoreographyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn set_timeout<'life0, 'async_trait>(
&'life0 self,
timeout_ms: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_timeout<'life0, 'async_trait>(
&'life0 self,
timeout_ms: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_metrics<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ChoreographyMetrics> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_metrics<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ChoreographyMetrics> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl ConsoleEffects for AuraEffectSystem
impl ConsoleEffects for AuraEffectSystem
Source§fn log_info<'life0, 'life1, 'async_trait>(
&'life0 self,
message: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn log_info<'life0, 'life1, 'async_trait>(
&'life0 self,
message: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn log_warn<'life0, 'life1, 'async_trait>(
&'life0 self,
message: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn log_warn<'life0, 'life1, 'async_trait>(
&'life0 self,
message: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl CryptoCoreEffects for AuraEffectSystem
impl CryptoCoreEffects for AuraEffectSystem
Source§fn kdf_derive<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ikm: &'life1 [u8],
salt: &'life2 [u8],
info: &'life3 [u8],
output_len: u32,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn kdf_derive<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ikm: &'life1 [u8],
salt: &'life2 [u8],
info: &'life3 [u8],
output_len: u32,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn derive_key<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
master_key: &'life1 [u8],
context: &'life2 KeyDerivationContext,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn derive_key<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
master_key: &'life1 [u8],
context: &'life2 KeyDerivationContext,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn ed25519_generate_keypair<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, Vec<u8>), CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ed25519_generate_keypair<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, Vec<u8>), CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn ed25519_sign<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
private_key: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn ed25519_sign<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
private_key: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn ed25519_verify<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
signature: &'life2 [u8],
public_key: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<bool, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn ed25519_verify<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
signature: &'life2 [u8],
public_key: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<bool, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn is_simulated(&self) -> bool
fn is_simulated(&self) -> bool
Source§fn crypto_capabilities(&self) -> Vec<String>
fn crypto_capabilities(&self) -> Vec<String>
Source§fn constant_time_eq(&self, a: &[u8], b: &[u8]) -> bool
fn constant_time_eq(&self, a: &[u8], b: &[u8]) -> bool
Source§fn secure_zero(&self, data: &mut [u8])
fn secure_zero(&self, data: &mut [u8])
Source§impl CryptoExtendedEffects for AuraEffectSystem
impl CryptoExtendedEffects for AuraEffectSystem
fn frost_generate_keys<'life0, 'async_trait>(
&'life0 self,
threshold: u16,
max_signers: u16,
) -> Pin<Box<dyn Future<Output = Result<FrostKeyGenResult, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn frost_generate_nonces<'life0, 'life1, 'async_trait>(
&'life0 self,
key_package: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn frost_create_signing_package<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
nonces: &'life2 [Vec<u8>],
participants: &'life3 [u16],
public_key_package: &'life4 [u8],
) -> Pin<Box<dyn Future<Output = Result<FrostSigningPackage, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn frost_aggregate_signatures<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
signing_package: &'life1 FrostSigningPackage,
signature_shares: &'life2 [Vec<u8>],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn frost_verify<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
signature: &'life2 [u8],
public_key: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<bool, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn ed25519_public_key<'life0, 'life1, 'async_trait>(
&'life0 self,
private_key: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn ed25519_public_key<'life0, 'life1, 'async_trait>(
&'life0 self,
private_key: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn convert_ed25519_to_x25519_public<'life0, 'life1, 'async_trait>(
&'life0 self,
ed25519_public_key: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<[u8; 32], CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn convert_ed25519_to_x25519_public<'life0, 'life1, 'async_trait>(
&'life0 self,
ed25519_public_key: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<[u8; 32], CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn convert_ed25519_to_x25519_private<'life0, 'life1, 'async_trait>(
&'life0 self,
ed25519_private_key: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<[u8; 32], CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn convert_ed25519_to_x25519_private<'life0, 'life1, 'async_trait>(
&'life0 self,
ed25519_private_key: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<[u8; 32], CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn chacha20_encrypt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
plaintext: &'life1 [u8],
key: &'life2 [u8; 32],
nonce: &'life3 [u8; 12],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn chacha20_decrypt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ciphertext: &'life1 [u8],
key: &'life2 [u8; 32],
nonce: &'life3 [u8; 12],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn aes_gcm_encrypt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
plaintext: &'life1 [u8],
key: &'life2 [u8; 32],
nonce: &'life3 [u8; 12],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn aes_gcm_decrypt<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ciphertext: &'life1 [u8],
key: &'life2 [u8; 32],
nonce: &'life3 [u8; 12],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn frost_rotate_keys<'life0, 'life1, 'async_trait>(
&'life0 self,
old_shares: &'life1 [Vec<u8>],
old_threshold: u16,
new_threshold: u16,
new_max_signers: u16,
) -> Pin<Box<dyn Future<Output = Result<FrostKeyGenResult, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn generate_signing_keys<'life0, 'async_trait>(
&'life0 self,
threshold: u16,
max_signers: u16,
) -> Pin<Box<dyn Future<Output = Result<SigningKeyGenResult, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn generate_signing_keys_with<'life0, 'async_trait>(
&'life0 self,
method: KeyGenerationMethod,
threshold: u16,
max_signers: u16,
) -> Pin<Box<dyn Future<Output = Result<SigningKeyGenResult, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn generate_signing_keys_with<'life0, 'async_trait>(
&'life0 self,
method: KeyGenerationMethod,
threshold: u16,
max_signers: u16,
) -> Pin<Box<dyn Future<Output = Result<SigningKeyGenResult, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sign_with_key<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
key_package: &'life2 [u8],
mode: SigningMode,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn verify_signature<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
message: &'life1 [u8],
signature: &'life2 [u8],
public_key_package: &'life3 [u8],
mode: SigningMode,
) -> Pin<Box<dyn Future<Output = Result<bool, CryptoError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§impl Debug for AuraEffectSystem
impl Debug for AuraEffectSystem
Source§impl EffectApiEffects for AuraEffectSystem
impl EffectApiEffects for AuraEffectSystem
Source§fn append_event<'life0, 'async_trait>(
&'life0 self,
_event: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn append_event<'life0, 'async_trait>(
&'life0 self,
_event: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn current_epoch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<u64, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn current_epoch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<u64, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn events_since<'life0, 'async_trait>(
&'life0 self,
_epoch: u64,
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn events_since<'life0, 'async_trait>(
&'life0 self,
_epoch: u64,
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn update_device_activity<'life0, 'async_trait>(
&'life0 self,
_device_id: DeviceId,
) -> Pin<Box<dyn Future<Output = Result<(), EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_device_activity<'life0, 'async_trait>(
&'life0 self,
_device_id: DeviceId,
) -> Pin<Box<dyn Future<Output = Result<(), EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn subscribe_to_events<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<EffectApiEventStream, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn subscribe_to_events<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<EffectApiEventStream, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn would_create_cycle<'life0, 'life1, 'async_trait>(
&'life0 self,
_edges: &'life1 [(Vec<u8>, Vec<u8>)],
_new_edge: (Vec<u8>, Vec<u8>),
) -> Pin<Box<dyn Future<Output = Result<bool, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn would_create_cycle<'life0, 'life1, 'async_trait>(
&'life0 self,
_edges: &'life1 [(Vec<u8>, Vec<u8>)],
_new_edge: (Vec<u8>, Vec<u8>),
) -> Pin<Box<dyn Future<Output = Result<bool, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn find_connected_components<'life0, 'life1, 'async_trait>(
&'life0 self,
_edges: &'life1 [(Vec<u8>, Vec<u8>)],
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<Vec<u8>>>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn find_connected_components<'life0, 'life1, 'async_trait>(
&'life0 self,
_edges: &'life1 [(Vec<u8>, Vec<u8>)],
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<Vec<u8>>>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn topological_sort<'life0, 'life1, 'async_trait>(
&'life0 self,
_edges: &'life1 [(Vec<u8>, Vec<u8>)],
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn topological_sort<'life0, 'life1, 'async_trait>(
&'life0 self,
_edges: &'life1 [(Vec<u8>, Vec<u8>)],
) -> Pin<Box<dyn Future<Output = Result<Vec<Vec<u8>>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn shortest_path<'life0, 'life1, 'async_trait>(
&'life0 self,
_edges: &'life1 [(Vec<u8>, Vec<u8>)],
_start: Vec<u8>,
_end: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<Vec<u8>>>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn shortest_path<'life0, 'life1, 'async_trait>(
&'life0 self,
_edges: &'life1 [(Vec<u8>, Vec<u8>)],
_start: Vec<u8>,
_end: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<Vec<u8>>>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn generate_secret<'life0, 'async_trait>(
&'life0 self,
length: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn generate_secret<'life0, 'async_trait>(
&'life0 self,
length: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn hash_data<'life0, 'life1, 'async_trait>(
&'life0 self,
data: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<[u8; 32], EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn hash_data<'life0, 'life1, 'async_trait>(
&'life0 self,
data: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<[u8; 32], EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn current_timestamp<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<u64, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn current_timestamp<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<u64, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn effect_api_device_id<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DeviceId, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn effect_api_device_id<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DeviceId, EffectApiError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl FlowBudgetEffects for AuraEffectSystem
impl FlowBudgetEffects for AuraEffectSystem
Source§fn charge_flow<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
context: &'life1 ContextId,
peer: &'life2 AuthorityId,
cost: FlowCost,
) -> Pin<Box<dyn Future<Output = AuraResult<Receipt>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn charge_flow<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
context: &'life1 ContextId,
peer: &'life2 AuthorityId,
cost: FlowCost,
) -> Pin<Box<dyn Future<Output = AuraResult<Receipt>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§impl GuardContextProvider for AuraEffectSystem
impl GuardContextProvider for AuraEffectSystem
fn get_metadata(&self, key: &str) -> Option<String>
fn execution_mode(&self) -> ExecutionMode
fn can_perform_operation(&self, _operation: &str) -> bool
Source§impl IndexedJournalEffects for AuraEffectSystem
impl IndexedJournalEffects for AuraEffectSystem
Source§fn watch_facts(&self) -> Box<dyn FactStreamReceiver>
fn watch_facts(&self) -> Box<dyn FactStreamReceiver>
Source§fn facts_by_predicate<'life0, 'life1, 'async_trait>(
&'life0 self,
predicate: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<IndexedFact>, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn facts_by_predicate<'life0, 'life1, 'async_trait>(
&'life0 self,
predicate: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<IndexedFact>, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn facts_in_range<'life0, 'async_trait>(
&'life0 self,
start: TimeStamp,
end: TimeStamp,
) -> Pin<Box<dyn Future<Output = Result<Vec<IndexedFact>, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn facts_in_range<'life0, 'async_trait>(
&'life0 self,
start: TimeStamp,
end: TimeStamp,
) -> Pin<Box<dyn Future<Output = Result<Vec<IndexedFact>, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn all_facts<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<IndexedFact>, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn all_facts<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<IndexedFact>, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn might_contain(&self, predicate: &str, value: &FactValue) -> bool
fn might_contain(&self, predicate: &str, value: &FactValue) -> bool
Source§fn merkle_root<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<[u8; 32], AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn merkle_root<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<[u8; 32], AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn verify_fact_inclusion<'life0, 'life1, 'async_trait>(
&'life0 self,
fact: &'life1 IndexedFact,
) -> Pin<Box<dyn Future<Output = Result<bool, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn verify_fact_inclusion<'life0, 'life1, 'async_trait>(
&'life0 self,
fact: &'life1 IndexedFact,
) -> Pin<Box<dyn Future<Output = Result<bool, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn get_bloom_filter<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<BloomFilter, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_bloom_filter<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<BloomFilter, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn index_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<IndexStats, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn index_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<IndexStats, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl JournalEffects for AuraEffectSystem
impl JournalEffects for AuraEffectSystem
Source§fn merge_facts<'life0, 'async_trait>(
&'life0 self,
target: Journal,
delta: Journal,
) -> Pin<Box<dyn Future<Output = Result<Journal, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn merge_facts<'life0, 'async_trait>(
&'life0 self,
target: Journal,
delta: Journal,
) -> Pin<Box<dyn Future<Output = Result<Journal, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn refine_caps<'life0, 'async_trait>(
&'life0 self,
target: Journal,
refinement: Journal,
) -> Pin<Box<dyn Future<Output = Result<Journal, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn refine_caps<'life0, 'async_trait>(
&'life0 self,
target: Journal,
refinement: Journal,
) -> Pin<Box<dyn Future<Output = Result<Journal, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_journal<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Journal, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_journal<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Journal, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn persist_journal<'life0, 'life1, 'async_trait>(
&'life0 self,
journal: &'life1 Journal,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn persist_journal<'life0, 'life1, 'async_trait>(
&'life0 self,
journal: &'life1 Journal,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn get_flow_budget<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_context: &'life1 ContextId,
_peer: &'life2 AuthorityId,
) -> Pin<Box<dyn Future<Output = Result<FlowBudget, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_flow_budget<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_context: &'life1 ContextId,
_peer: &'life2 AuthorityId,
) -> Pin<Box<dyn Future<Output = Result<FlowBudget, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn update_flow_budget<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_context: &'life1 ContextId,
_peer: &'life2 AuthorityId,
budget: &'life3 FlowBudget,
) -> Pin<Box<dyn Future<Output = Result<FlowBudget, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn update_flow_budget<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_context: &'life1 ContextId,
_peer: &'life2 AuthorityId,
budget: &'life3 FlowBudget,
) -> Pin<Box<dyn Future<Output = Result<FlowBudget, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn charge_flow_budget<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_context: &'life1 ContextId,
_peer: &'life2 AuthorityId,
_cost: FlowCost,
) -> Pin<Box<dyn Future<Output = Result<FlowBudget, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn charge_flow_budget<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_context: &'life1 ContextId,
_peer: &'life2 AuthorityId,
_cost: FlowCost,
) -> Pin<Box<dyn Future<Output = Result<FlowBudget, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§impl LeakageEffects for AuraEffectSystem
impl LeakageEffects for AuraEffectSystem
Source§fn record_leakage<'life0, 'async_trait>(
&'life0 self,
event: LeakageEvent,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn record_leakage<'life0, 'async_trait>(
&'life0 self,
event: LeakageEvent,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_leakage_budget<'life0, 'async_trait>(
&'life0 self,
context_id: ContextId,
) -> Pin<Box<dyn Future<Output = Result<LeakageBudget>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_leakage_budget<'life0, 'async_trait>(
&'life0 self,
context_id: ContextId,
) -> Pin<Box<dyn Future<Output = Result<LeakageBudget>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn check_leakage_budget<'life0, 'async_trait>(
&'life0 self,
context_id: ContextId,
observer: ObserverClass,
amount: u64,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check_leakage_budget<'life0, 'async_trait>(
&'life0 self,
context_id: ContextId,
observer: ObserverClass,
amount: u64,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_leakage_history<'life0, 'life1, 'async_trait>(
&'life0 self,
context_id: ContextId,
since_timestamp: Option<&'life1 PhysicalTime>,
) -> Pin<Box<dyn Future<Output = Result<Vec<LeakageEvent>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_leakage_history<'life0, 'life1, 'async_trait>(
&'life0 self,
context_id: ContextId,
since_timestamp: Option<&'life1 PhysicalTime>,
) -> Pin<Box<dyn Future<Output = Result<Vec<LeakageEvent>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl LogicalClockEffects for AuraEffectSystem
impl LogicalClockEffects for AuraEffectSystem
fn logical_advance<'life0, 'life1, 'async_trait>(
&'life0 self,
observed: Option<&'life1 VectorClock>,
) -> Pin<Box<dyn Future<Output = Result<LogicalTime, TimeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn logical_now<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<LogicalTime, TimeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl NetworkCoreEffects for AuraEffectSystem
impl NetworkCoreEffects for AuraEffectSystem
Source§fn send_to_peer<'life0, 'async_trait>(
&'life0 self,
peer_id: Uuid,
message: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_to_peer<'life0, 'async_trait>(
&'life0 self,
peer_id: Uuid,
message: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl NetworkExtendedEffects for AuraEffectSystem
impl NetworkExtendedEffects for AuraEffectSystem
Source§fn receive_from<'life0, 'async_trait>(
&'life0 self,
_peer_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn receive_from<'life0, 'async_trait>(
&'life0 self,
_peer_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn connected_peers<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Vec<Uuid>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connected_peers<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Vec<Uuid>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn is_peer_connected<'life0, 'async_trait>(
&'life0 self,
_peer_id: Uuid,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn is_peer_connected<'life0, 'async_trait>(
&'life0 self,
_peer_id: Uuid,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn subscribe_to_peer_events<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PeerEventStream, NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn subscribe_to_peer_events<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PeerEventStream, NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn open<'life0, 'life1, 'async_trait>(
&'life0 self,
_address: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<String, NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn open<'life0, 'life1, 'async_trait>(
&'life0 self,
_address: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<String, NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn send<'life0, 'life1, 'async_trait>(
&'life0 self,
_connection_id: &'life1 str,
_data: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send<'life0, 'life1, 'async_trait>(
&'life0 self,
_connection_id: &'life1 str,
_data: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), NetworkError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl NoiseEffects for AuraEffectSystem
impl NoiseEffects for AuraEffectSystem
Source§fn create_handshake_state<'life0, 'async_trait>(
&'life0 self,
params: NoiseParams,
) -> Pin<Box<dyn Future<Output = Result<HandshakeState, NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_handshake_state<'life0, 'async_trait>(
&'life0 self,
params: NoiseParams,
) -> Pin<Box<dyn Future<Output = Result<HandshakeState, NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn write_message<'life0, 'life1, 'async_trait>(
&'life0 self,
state: HandshakeState,
payload: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, HandshakeState), NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_message<'life0, 'life1, 'async_trait>(
&'life0 self,
state: HandshakeState,
payload: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, HandshakeState), NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn read_message<'life0, 'life1, 'async_trait>(
&'life0 self,
state: HandshakeState,
message: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, HandshakeState), NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn read_message<'life0, 'life1, 'async_trait>(
&'life0 self,
state: HandshakeState,
message: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, HandshakeState), NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn into_transport_mode<'life0, 'async_trait>(
&'life0 self,
state: HandshakeState,
) -> Pin<Box<dyn Future<Output = Result<TransportState, NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn into_transport_mode<'life0, 'async_trait>(
&'life0 self,
state: HandshakeState,
) -> Pin<Box<dyn Future<Output = Result<TransportState, NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn encrypt_transport_message<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
state: &'life1 mut TransportState,
payload: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn encrypt_transport_message<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
state: &'life1 mut TransportState,
payload: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn decrypt_transport_message<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
state: &'life1 mut TransportState,
message: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn decrypt_transport_message<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
state: &'life1 mut TransportState,
message: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, NoiseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§impl OrderClockEffects for AuraEffectSystem
impl OrderClockEffects for AuraEffectSystem
Source§impl PhysicalTimeEffects for AuraEffectSystem
impl PhysicalTimeEffects for AuraEffectSystem
fn physical_time<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PhysicalTime, TimeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sleep_ms<'life0, 'async_trait>(
&'life0 self,
ms: u64,
) -> Pin<Box<dyn Future<Output = Result<(), TimeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl RandomCoreEffects for AuraEffectSystem
impl RandomCoreEffects for AuraEffectSystem
Source§fn random_bytes<'life0, 'async_trait>(
&'life0 self,
len: usize,
) -> Pin<Box<dyn Future<Output = Vec<u8>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn random_bytes<'life0, 'async_trait>(
&'life0 self,
len: usize,
) -> Pin<Box<dyn Future<Output = Vec<u8>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl SecureStorageEffects for AuraEffectSystem
impl SecureStorageEffects for AuraEffectSystem
Source§fn secure_store<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
key: &'life2 [u8],
caps: &'life3 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<(), SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn secure_store<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
key: &'life2 [u8],
caps: &'life3 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<(), SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn secure_retrieve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
caps: &'life2 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn secure_retrieve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
caps: &'life2 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn secure_delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
caps: &'life2 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<(), SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn secure_delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
caps: &'life2 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<(), SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn secure_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
) -> Pin<Box<dyn Future<Output = Result<bool, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn secure_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
) -> Pin<Box<dyn Future<Output = Result<bool, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn secure_list_keys<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
namespace: &'life1 str,
caps: &'life2 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn secure_list_keys<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
namespace: &'life1 str,
caps: &'life2 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn secure_generate_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
context: &'life2 str,
caps: &'life3 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn secure_generate_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
context: &'life2 str,
caps: &'life3 [SecureStorageCapability],
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn secure_create_time_bound_token<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
caps: &'life2 [SecureStorageCapability],
expires_at: &'life3 PhysicalTime,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn secure_create_time_bound_token<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
location: &'life1 SecureStorageLocation,
caps: &'life2 [SecureStorageCapability],
expires_at: &'life3 PhysicalTime,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn secure_access_with_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
token: &'life1 [u8],
location: &'life2 SecureStorageLocation,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn secure_access_with_token<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
token: &'life1 [u8],
location: &'life2 SecureStorageLocation,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn get_device_attestation<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_device_attestation<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, SecureStorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl StorageCoreEffects for AuraEffectSystem
impl StorageCoreEffects for AuraEffectSystem
Source§fn store<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
value: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn store<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
value: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn retrieve<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn retrieve<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl StorageExtendedEffects for AuraEffectSystem
impl StorageExtendedEffects for AuraEffectSystem
Source§fn exists<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<bool, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn exists<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<bool, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn store_batch<'life0, 'async_trait>(
&'life0 self,
pairs: HashMap<String, Vec<u8>>,
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn store_batch<'life0, 'async_trait>(
&'life0 self,
pairs: HashMap<String, Vec<u8>>,
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn retrieve_batch<'life0, 'life1, 'async_trait>(
&'life0 self,
keys: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Vec<u8>>, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn retrieve_batch<'life0, 'life1, 'async_trait>(
&'life0 self,
keys: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Vec<u8>>, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn clear_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn clear_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<StorageStats, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<StorageStats, StorageError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl SyncEffects for AuraEffectSystem
impl SyncEffects for AuraEffectSystem
Source§fn sync_with_peer<'life0, 'async_trait>(
&'life0 self,
peer_id: DeviceId,
) -> Pin<Box<dyn Future<Output = Result<SyncMetrics, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sync_with_peer<'life0, 'async_trait>(
&'life0 self,
peer_id: DeviceId,
) -> Pin<Box<dyn Future<Output = Result<SyncMetrics, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_oplog_digest<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<BloomDigest, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_oplog_digest<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<BloomDigest, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_missing_ops<'life0, 'life1, 'async_trait>(
&'life0 self,
remote_digest: &'life1 BloomDigest,
) -> Pin<Box<dyn Future<Output = Result<Vec<AttestedOp>, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_missing_ops<'life0, 'life1, 'async_trait>(
&'life0 self,
remote_digest: &'life1 BloomDigest,
) -> Pin<Box<dyn Future<Output = Result<Vec<AttestedOp>, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn request_ops_from_peer<'life0, 'async_trait>(
&'life0 self,
peer_id: DeviceId,
cids: Vec<Hash32>,
) -> Pin<Box<dyn Future<Output = Result<Vec<AttestedOp>, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_ops_from_peer<'life0, 'async_trait>(
&'life0 self,
peer_id: DeviceId,
cids: Vec<Hash32>,
) -> Pin<Box<dyn Future<Output = Result<Vec<AttestedOp>, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn merge_remote_ops<'life0, 'async_trait>(
&'life0 self,
ops: Vec<AttestedOp>,
) -> Pin<Box<dyn Future<Output = Result<(), SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn merge_remote_ops<'life0, 'async_trait>(
&'life0 self,
ops: Vec<AttestedOp>,
) -> Pin<Box<dyn Future<Output = Result<(), SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn announce_new_op<'life0, 'async_trait>(
&'life0 self,
cid: Hash32,
) -> Pin<Box<dyn Future<Output = Result<(), SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn announce_new_op<'life0, 'async_trait>(
&'life0 self,
cid: Hash32,
) -> Pin<Box<dyn Future<Output = Result<(), SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn request_op<'life0, 'async_trait>(
&'life0 self,
peer_id: DeviceId,
cid: Hash32,
) -> Pin<Box<dyn Future<Output = Result<AttestedOp, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn request_op<'life0, 'async_trait>(
&'life0 self,
peer_id: DeviceId,
cid: Hash32,
) -> Pin<Box<dyn Future<Output = Result<AttestedOp, SyncError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl SystemEffects for AuraEffectSystem
impl SystemEffects for AuraEffectSystem
Source§fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_system_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, String>, SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_system_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, String>, SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn log<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
level: &'life1 str,
component: &'life2 str,
message: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<(), SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn log<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
level: &'life1 str,
component: &'life2 str,
message: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<(), SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn log_with_context<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
level: &'life1 str,
component: &'life2 str,
message: &'life3 str,
_context: HashMap<String, String>,
) -> Pin<Box<dyn Future<Output = Result<(), SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn log_with_context<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
level: &'life1 str,
component: &'life2 str,
message: &'life3 str,
_context: HashMap<String, String>,
) -> Pin<Box<dyn Future<Output = Result<(), SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn set_config<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_key: &'life1 str,
_value: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn set_config<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_key: &'life1 str,
_value: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(), SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn get_config<'life0, 'life1, 'async_trait>(
&'life0 self,
_key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<String, SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_config<'life0, 'life1, 'async_trait>(
&'life0 self,
_key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<String, SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn health_check<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<bool, SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn health_check<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<bool, SystemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl ThresholdSigningEffects for AuraEffectSystem
impl ThresholdSigningEffects for AuraEffectSystem
Source§fn sign<'life0, 'async_trait>(
&'life0 self,
context: SigningContext,
) -> Pin<Box<dyn Future<Output = Result<ThresholdSignature, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sign<'life0, 'async_trait>(
&'life0 self,
context: SigningContext,
) -> Pin<Box<dyn Future<Output = Result<ThresholdSignature, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn threshold_config<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
) -> Pin<Box<dyn Future<Output = Option<ThresholdConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn threshold_config<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
) -> Pin<Box<dyn Future<Output = Option<ThresholdConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn threshold_state<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
) -> Pin<Box<dyn Future<Output = Option<ThresholdState>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn threshold_state<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
) -> Pin<Box<dyn Future<Output = Option<ThresholdState>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn has_signing_capability<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn has_signing_capability<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn public_key_package<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
) -> Pin<Box<dyn Future<Output = Option<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn public_key_package<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
) -> Pin<Box<dyn Future<Output = Option<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn rotate_keys<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
new_threshold: u16,
new_total_participants: u16,
participants: &'life2 [ParticipantIdentity],
) -> Pin<Box<dyn Future<Output = Result<(u64, Vec<Vec<u8>>, Vec<u8>), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn rotate_keys<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
new_threshold: u16,
new_total_participants: u16,
participants: &'life2 [ParticipantIdentity],
) -> Pin<Box<dyn Future<Output = Result<(u64, Vec<Vec<u8>>, Vec<u8>), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn commit_key_rotation<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
new_epoch: u64,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn commit_key_rotation<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
new_epoch: u64,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn rollback_key_rotation<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
failed_epoch: u64,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn rollback_key_rotation<'life0, 'life1, 'async_trait>(
&'life0 self,
authority: &'life1 AuthorityId,
failed_epoch: u64,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl TimeEffects for AuraEffectSystem
impl TimeEffects for AuraEffectSystem
Source§fn current_timestamp<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn current_timestamp<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = u64> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
Source§impl TransportEffects for AuraEffectSystem
impl TransportEffects for AuraEffectSystem
Source§fn send_envelope<'life0, 'async_trait>(
&'life0 self,
envelope: TransportEnvelope,
) -> Pin<Box<dyn Future<Output = Result<(), TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_envelope<'life0, 'async_trait>(
&'life0 self,
envelope: TransportEnvelope,
) -> Pin<Box<dyn Future<Output = Result<(), TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn receive_envelope<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<TransportEnvelope, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn receive_envelope<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<TransportEnvelope, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn receive_envelope_from<'life0, 'async_trait>(
&'life0 self,
source: AuthorityId,
context: ContextId,
) -> Pin<Box<dyn Future<Output = Result<TransportEnvelope, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn receive_envelope_from<'life0, 'async_trait>(
&'life0 self,
source: AuthorityId,
context: ContextId,
) -> Pin<Box<dyn Future<Output = Result<TransportEnvelope, TransportError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn is_channel_established<'life0, 'async_trait>(
&'life0 self,
context: ContextId,
peer: AuthorityId,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn is_channel_established<'life0, 'async_trait>(
&'life0 self,
context: ContextId,
peer: AuthorityId,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_transport_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = TransportStats> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_transport_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = TransportStats> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl TreeEffects for AuraEffectSystem
impl TreeEffects for AuraEffectSystem
Source§fn get_current_state<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<JournalTreeState, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_current_state<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<JournalTreeState, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_current_commitment<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Hash32, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_current_commitment<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Hash32, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_current_epoch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Epoch, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_current_epoch<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Epoch, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn apply_attested_op<'life0, 'async_trait>(
&'life0 self,
op: AttestedOp,
) -> Pin<Box<dyn Future<Output = Result<Hash32, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn apply_attested_op<'life0, 'async_trait>(
&'life0 self,
op: AttestedOp,
) -> Pin<Box<dyn Future<Output = Result<Hash32, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn verify_aggregate_sig<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
op: &'life1 AttestedOp,
state: &'life2 JournalTreeState,
) -> Pin<Box<dyn Future<Output = Result<bool, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn verify_aggregate_sig<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
op: &'life1 AttestedOp,
state: &'life2 JournalTreeState,
) -> Pin<Box<dyn Future<Output = Result<bool, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn add_leaf<'life0, 'async_trait>(
&'life0 self,
leaf: LeafNode,
under: NodeIndex,
) -> Pin<Box<dyn Future<Output = Result<TreeOpKind, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_leaf<'life0, 'async_trait>(
&'life0 self,
leaf: LeafNode,
under: NodeIndex,
) -> Pin<Box<dyn Future<Output = Result<TreeOpKind, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn remove_leaf<'life0, 'async_trait>(
&'life0 self,
leaf_id: LeafId,
reason: u8,
) -> Pin<Box<dyn Future<Output = Result<TreeOpKind, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn remove_leaf<'life0, 'async_trait>(
&'life0 self,
leaf_id: LeafId,
reason: u8,
) -> Pin<Box<dyn Future<Output = Result<TreeOpKind, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn change_policy<'life0, 'async_trait>(
&'life0 self,
node: NodeIndex,
policy: Policy,
) -> Pin<Box<dyn Future<Output = Result<TreeOpKind, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn change_policy<'life0, 'async_trait>(
&'life0 self,
node: NodeIndex,
policy: Policy,
) -> Pin<Box<dyn Future<Output = Result<TreeOpKind, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn rotate_epoch<'life0, 'async_trait>(
&'life0 self,
affected: Vec<NodeIndex>,
) -> Pin<Box<dyn Future<Output = Result<TreeOpKind, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rotate_epoch<'life0, 'async_trait>(
&'life0 self,
affected: Vec<NodeIndex>,
) -> Pin<Box<dyn Future<Output = Result<TreeOpKind, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn propose_snapshot<'life0, 'async_trait>(
&'life0 self,
cut: Cut,
) -> Pin<Box<dyn Future<Output = Result<ProposalId, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn propose_snapshot<'life0, 'async_trait>(
&'life0 self,
cut: Cut,
) -> Pin<Box<dyn Future<Output = Result<ProposalId, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn approve_snapshot<'life0, 'async_trait>(
&'life0 self,
proposal_id: ProposalId,
) -> Pin<Box<dyn Future<Output = Result<Partial, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn approve_snapshot<'life0, 'async_trait>(
&'life0 self,
proposal_id: ProposalId,
) -> Pin<Box<dyn Future<Output = Result<Partial, AuraError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for AuraEffectSystem
impl !RefUnwindSafe for AuraEffectSystem
impl Send for AuraEffectSystem
impl Sync for AuraEffectSystem
impl Unpin for AuraEffectSystem
impl UnsafeUnpin for AuraEffectSystem
impl !UnwindSafe for AuraEffectSystem
Blanket Implementations§
Source§impl<E> AmpEvidenceEffects for Ewhere
E: StorageEffects,
impl<E> AmpEvidenceEffects for Ewhere
E: StorageEffects,
Source§fn merge_evidence_delta<'life0, 'async_trait>(
&'life0 self,
cid: ConsensusId,
delta: EvidenceDelta,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
fn merge_evidence_delta<'life0, 'async_trait>(
&'life0 self,
cid: ConsensusId,
delta: EvidenceDelta,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
Source§fn evidence_for<'life0, 'async_trait>(
&'life0 self,
cid: ConsensusId,
) -> Pin<Box<dyn Future<Output = Result<Option<EvidenceRecord>, AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
fn evidence_for<'life0, 'async_trait>(
&'life0 self,
cid: ConsensusId,
) -> Pin<Box<dyn Future<Output = Result<Option<EvidenceRecord>, AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
Source§fn insert_evidence_delta<'life0, 'async_trait>(
&'life0 self,
witness: AuthorityId,
consensus_id: ConsensusId,
context: ContextId,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
fn insert_evidence_delta<'life0, 'async_trait>(
&'life0 self,
witness: AuthorityId,
consensus_id: ConsensusId,
context: ContextId,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
Source§fn evidence_store(&self) -> AmpEvidenceStore<'_, Self>where
Self: Sized,
fn evidence_store(&self) -> AmpEvidenceStore<'_, Self>where
Self: Sized,
Source§impl<E> AmpJournalEffects for Ewhere
E: JournalEffects + OrderClockEffects,
impl<E> AmpJournalEffects for Ewhere
E: JournalEffects + OrderClockEffects,
Source§fn fetch_context_journal<'life0, 'async_trait>(
&'life0 self,
context: ContextId,
) -> Pin<Box<dyn Future<Output = Result<Journal, AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
fn fetch_context_journal<'life0, 'async_trait>(
&'life0 self,
context: ContextId,
) -> Pin<Box<dyn Future<Output = Result<Journal, AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
Source§fn insert_relational_fact<'life0, 'async_trait>(
&'life0 self,
fact: RelationalFact,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
fn insert_relational_fact<'life0, 'async_trait>(
&'life0 self,
fact: RelationalFact,
) -> Pin<Box<dyn Future<Output = Result<(), AuraError>> + Send + 'async_trait>>where
'life0: 'async_trait,
E: 'async_trait,
Source§fn context_store(&self) -> AmpContextStore<'_, Self>where
Self: Sized,
fn context_store(&self) -> AmpContextStore<'_, Self>where
Self: Sized,
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
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>
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>
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