radroots_sync.txt (35801B)
1 pub mod radroots_sync 2 pub mod radroots_sync::ingest 3 pub enum radroots_sync::ingest::AdmissionDecision 4 pub radroots_sync::ingest::AdmissionDecision::Reject 5 pub radroots_sync::ingest::AdmissionDecision::Verified 6 pub radroots_sync::ingest::AdmissionDecision::Visible 7 pub enum radroots_sync::ingest::ContractFailureDecision 8 pub radroots_sync::ingest::ContractFailureDecision::Reject 9 pub radroots_sync::ingest::ContractFailureDecision::Verified 10 pub struct radroots_sync::ingest::IngestBatchReceipt 11 impl radroots_sync::ingest::IngestBatchReceipt 12 pub fn radroots_sync::ingest::IngestBatchReceipt::accepted(&self) -> usize 13 pub fn radroots_sync::ingest::IngestBatchReceipt::outcomes(&self) -> &[core::result::Result<radroots_sync::ingest::IngestReceipt, radroots_sync::policy::Error>] 14 pub fn radroots_sync::ingest::IngestBatchReceipt::rejected(&self) -> usize 15 pub struct radroots_sync::ingest::IngestReceipt 16 impl radroots_sync::ingest::IngestReceipt 17 pub const fn radroots_sync::ingest::IngestReceipt::admission(&self) -> &radroots_storage::event::AdmissionReceipt 18 pub const fn radroots_sync::ingest::IngestReceipt::commit_disposition(&self) -> radroots_storage::atomic::AtomicCommitDisposition 19 pub const fn radroots_sync::ingest::IngestReceipt::committed_at_unix_ms(&self) -> u64 20 pub const fn radroots_sync::ingest::IngestReceipt::sync_id(&self) -> radroots_sync::policy::SyncId 21 pub struct radroots_sync::ingest::RegistryPolicy 22 impl radroots_sync::ingest::RegistryPolicy 23 pub const fn radroots_sync::ingest::RegistryPolicy::verified() -> Self 24 pub const fn radroots_sync::ingest::RegistryPolicy::visible() -> Self 25 impl radroots_sync::ingest::AdmissionPolicy for radroots_sync::ingest::RegistryPolicy 26 pub fn radroots_sync::ingest::RegistryPolicy::contract_failure(&self, &radroots_event::verification::SignatureVerifiedEvent) -> radroots_sync::ingest::ContractFailureDecision 27 pub fn radroots_sync::ingest::RegistryPolicy::decide(&self, &radroots_event::verification::ContractValidatedEvent) -> radroots_sync::ingest::AdmissionDecision 28 pub fn radroots_sync::ingest::RegistryPolicy::policy_id(&self) -> &'static str 29 pub fn radroots_sync::ingest::RegistryPolicy::select_contract(&self, &radroots_event::verification::SignatureVerifiedEvent) -> core::option::Option<&'static str> 30 pub trait radroots_sync::ingest::AdmissionPolicy: core::marker::Send + core::marker::Sync 31 pub fn radroots_sync::ingest::AdmissionPolicy::contract_failure(&self, &radroots_event::verification::SignatureVerifiedEvent) -> radroots_sync::ingest::ContractFailureDecision 32 pub fn radroots_sync::ingest::AdmissionPolicy::decide(&self, &radroots_event::verification::ContractValidatedEvent) -> radroots_sync::ingest::AdmissionDecision 33 pub fn radroots_sync::ingest::AdmissionPolicy::policy_id(&self) -> &'static str 34 pub fn radroots_sync::ingest::AdmissionPolicy::select_contract(&self, &radroots_event::verification::SignatureVerifiedEvent) -> core::option::Option<&'static str> 35 impl radroots_sync::ingest::AdmissionPolicy for radroots_sync::ingest::RegistryPolicy 36 pub fn radroots_sync::ingest::RegistryPolicy::contract_failure(&self, &radroots_event::verification::SignatureVerifiedEvent) -> radroots_sync::ingest::ContractFailureDecision 37 pub fn radroots_sync::ingest::RegistryPolicy::decide(&self, &radroots_event::verification::ContractValidatedEvent) -> radroots_sync::ingest::AdmissionDecision 38 pub fn radroots_sync::ingest::RegistryPolicy::policy_id(&self) -> &'static str 39 pub fn radroots_sync::ingest::RegistryPolicy::select_contract(&self, &radroots_event::verification::SignatureVerifiedEvent) -> core::option::Option<&'static str> 40 pub mod radroots_sync::policy 41 #[non_exhaustive] pub enum radroots_sync::policy::Error 42 pub radroots_sync::policy::Error::AdmissionFailed 43 pub radroots_sync::policy::Error::ClockUnavailable 44 pub radroots_sync::policy::Error::DeadlineOverflow 45 pub radroots_sync::policy::Error::DeliveryDeferred 46 pub radroots_sync::policy::Error::InvalidDeadlinePolicy 47 pub radroots_sync::policy::Error::InvalidDeliveryRequest 48 pub radroots_sync::policy::Error::InvalidIngestReceipt 49 pub radroots_sync::policy::Error::InvalidProjectionRequest 50 pub radroots_sync::policy::Error::InvalidPullRequest 51 pub radroots_sync::policy::Error::InvalidPushRequest 52 pub radroots_sync::policy::Error::InvalidReducerOutput 53 pub radroots_sync::policy::Error::InvalidSignerOutput 54 pub radroots_sync::policy::Error::InvalidSourcePage 55 pub radroots_sync::policy::Error::InvalidStatusRequest 56 pub radroots_sync::policy::Error::InvalidSyncId 57 pub radroots_sync::policy::Error::MissingSigner 58 pub radroots_sync::policy::Error::MissingSink 59 pub radroots_sync::policy::Error::MissingSource 60 pub radroots_sync::policy::Error::MissingTransportCapability 61 pub radroots_sync::policy::Error::PolicyRejected 62 pub radroots_sync::policy::Error::ReducerFailed 63 pub radroots_sync::policy::Error::SignerCapabilityUnavailable 64 pub radroots_sync::policy::Error::SignerDeadlineExceeded 65 pub radroots_sync::policy::Error::SignerFailed 66 pub radroots_sync::policy::Error::SignerWithoutSink 67 pub radroots_sync::policy::Error::SigningCancelled 68 pub radroots_sync::policy::Error::SigningIndeterminate 69 pub radroots_sync::policy::Error::StorageConflict 70 pub radroots_sync::policy::Error::StorageFailed 71 pub radroots_sync::policy::Error::StorageSpaceInsufficient 72 pub radroots_sync::policy::Error::VerificationFailed 73 pub radroots_sync::policy::Error::WorkClaimConflict 74 impl core::error::Error for radroots_sync::policy::Error 75 impl core::fmt::Display for radroots_sync::policy::Error 76 pub fn radroots_sync::policy::Error::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 77 #[non_exhaustive] pub enum radroots_sync::policy::OperationKind 78 pub radroots_sync::policy::OperationKind::Deliver 79 pub radroots_sync::policy::OperationKind::Ingest 80 pub radroots_sync::policy::OperationKind::Projection 81 pub radroots_sync::policy::OperationKind::Pull 82 pub radroots_sync::policy::OperationKind::Sign 83 pub struct radroots_sync::policy::DeadlinePolicy 84 impl radroots_sync::policy::DeadlinePolicy 85 pub fn radroots_sync::policy::DeadlinePolicy::deadline_unix_ms(self, radroots_sync::policy::OperationKind, u64) -> core::result::Result<u64, radroots_sync::policy::Error> 86 pub const fn radroots_sync::policy::DeadlinePolicy::new(u64, u64, u64) -> core::result::Result<Self, radroots_sync::policy::Error> 87 pub const fn radroots_sync::policy::DeadlinePolicy::timeout_ms(self, radroots_sync::policy::OperationKind) -> u64 88 impl<'de> serde_core::de::Deserialize<'de> for radroots_sync::policy::DeadlinePolicy 89 pub fn radroots_sync::policy::DeadlinePolicy::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 90 pub struct radroots_sync::policy::EngineBuilder 91 impl radroots_sync::policy::EngineBuilder 92 pub fn radroots_sync::policy::EngineBuilder::build(self) -> core::result::Result<radroots_sync::Engine, radroots_sync::policy::Error> 93 pub fn radroots_sync::policy::EngineBuilder::signer(self, radroots_transport::host::Shared<dyn radroots_signing::signer::Signer>) -> Self 94 pub fn radroots_sync::policy::EngineBuilder::sink(self, radroots_transport::host::Shared<dyn radroots_transport::sink::EventSink>) -> Self 95 pub fn radroots_sync::policy::EngineBuilder::source(self, radroots_transport::host::Shared<dyn radroots_transport::source::EventSource>) -> Self 96 pub struct radroots_sync::policy::SyncId(_) 97 impl radroots_sync::policy::SyncId 98 pub const fn radroots_sync::policy::SyncId::as_bytes(&self) -> &[u8; 16] 99 pub const fn radroots_sync::policy::SyncId::new([u8; 16]) -> core::result::Result<Self, radroots_sync::policy::Error> 100 impl<'de> serde_core::de::Deserialize<'de> for radroots_sync::policy::SyncId 101 pub fn radroots_sync::policy::SyncId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 102 pub trait radroots_sync::policy::Clock: radroots_transport::host::HostBound 103 pub fn radroots_sync::policy::Clock::now_unix_ms(&self) -> core::result::Result<u64, radroots_sync::policy::Error> 104 pub trait radroots_sync::policy::IdSource: radroots_transport::host::HostBound 105 pub fn radroots_sync::policy::IdSource::next_id(&self, radroots_sync::policy::OperationKind) -> core::result::Result<radroots_sync::policy::SyncId, radroots_sync::policy::Error> 106 pub trait radroots_sync::policy::SyncStorage: radroots_storage::event::EventStore + radroots_storage::journal::Journal + radroots_storage::outbox::Outbox + radroots_storage::projection::ProjectionStore + radroots_storage::atomic::AtomicStorage + radroots_storage::authored_atomic::AuthoredAtomicStorage + radroots_storage::status::StorageStatusProvider 107 impl<T> radroots_sync::policy::SyncStorage for T where T: radroots_storage::event::EventStore + radroots_storage::journal::Journal + radroots_storage::outbox::Outbox + radroots_storage::projection::ProjectionStore + radroots_storage::atomic::AtomicStorage + radroots_storage::authored_atomic::AuthoredAtomicStorage + radroots_storage::status::StorageStatusProvider 108 pub mod radroots_sync::projection 109 pub enum radroots_sync::projection::RefreshKind 110 pub radroots_sync::projection::RefreshKind::Incremental 111 pub radroots_sync::projection::RefreshKind::Rebuild 112 pub enum radroots_sync::projection::RefreshState 113 pub radroots_sync::projection::RefreshState::Complete 114 pub radroots_sync::projection::RefreshState::Failed 115 pub radroots_sync::projection::RefreshState::Partial 116 pub struct radroots_sync::projection::ReducerError 117 pub struct radroots_sync::projection::RefreshReceipt 118 impl radroots_sync::projection::RefreshReceipt 119 pub const fn radroots_sync::projection::RefreshReceipt::batches(&self) -> u16 120 pub const fn radroots_sync::projection::RefreshReceipt::checkpoint(&self) -> core::option::Option<&radroots_storage::projection::ProjectionCheckpoint> 121 pub const fn radroots_sync::projection::RefreshReceipt::events_reduced(&self) -> usize 122 pub const fn radroots_sync::projection::RefreshReceipt::kind(&self) -> radroots_sync::projection::RefreshKind 123 pub const fn radroots_sync::projection::RefreshReceipt::rebuild_ticket(&self) -> core::option::Option<radroots_storage::projection::RebuildTicketId> 124 pub const fn radroots_sync::projection::RefreshReceipt::state(&self) -> radroots_sync::projection::RefreshState 125 pub struct radroots_sync::projection::RefreshRequest 126 impl radroots_sync::projection::RefreshRequest 127 pub const fn radroots_sync::projection::RefreshRequest::batch_limit(&self) -> u16 128 pub const fn radroots_sync::projection::RefreshRequest::generation(&self) -> radroots_storage::projection::ProjectionGeneration 129 pub const fn radroots_sync::projection::RefreshRequest::max_batches(&self) -> u16 130 pub fn radroots_sync::projection::RefreshRequest::new(radroots_storage::projection::ProjectionId, radroots_storage::projection::ProjectionGeneration, u16, u16) -> core::result::Result<Self, radroots_sync::policy::Error> 131 pub const fn radroots_sync::projection::RefreshRequest::projection_id(&self) -> &radroots_storage::projection::ProjectionId 132 impl<'de> serde_core::de::Deserialize<'de> for radroots_sync::projection::RefreshRequest 133 pub fn radroots_sync::projection::RefreshRequest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 134 pub const radroots_sync::projection::PROJECTION_RAW_SOURCE_MAX_EVENTS: u64 135 pub const radroots_sync::projection::PROJECTION_REFRESH_MAX_BATCHES: u16 136 pub trait radroots_sync::projection::Reducer: core::marker::Send + core::marker::Sync 137 pub fn radroots_sync::projection::Reducer::abort_rebuild(&self, radroots_storage::projection::RebuildTicketId, radroots_storage::projection::RebuildFailure) -> core::result::Result<(), radroots_sync::projection::ReducerError> 138 pub fn radroots_sync::projection::Reducer::begin_rebuild(&self, radroots_storage::projection::RebuildTicketId, radroots_storage::event::SourceGeneration, radroots_storage::projection::RawSourceDigest) -> core::result::Result<(), radroots_sync::projection::ReducerError> 139 pub fn radroots_sync::projection::Reducer::generation(&self) -> radroots_storage::projection::ProjectionGeneration 140 pub fn radroots_sync::projection::Reducer::projection_id(&self) -> &radroots_storage::projection::ProjectionId 141 pub fn radroots_sync::projection::Reducer::reduce(&self, &[radroots_storage::event::StoredVisibleEvent], u64, core::option::Option<radroots_storage::projection::RebuildTicketId>) -> core::result::Result<u64, radroots_sync::projection::ReducerError> 142 pub mod radroots_sync::pull 143 pub enum radroots_sync::pull::PullTermination 144 pub radroots_sync::pull::PullTermination::Cancelled 145 pub radroots_sync::pull::PullTermination::Complete 146 pub radroots_sync::pull::PullTermination::Deadline 147 pub radroots_sync::pull::PullTermination::PageLimit 148 pub radroots_sync::pull::PullTermination::SourceFailed 149 pub struct radroots_sync::pull::PullReceipt 150 impl radroots_sync::pull::PullReceipt 151 pub const fn radroots_sync::pull::PullReceipt::deadline_unix_ms(&self) -> u64 152 pub const fn radroots_sync::pull::PullReceipt::events_observed(&self) -> usize 153 pub fn radroots_sync::pull::PullReceipt::ingest_outcomes(&self) -> &[core::result::Result<radroots_sync::ingest::IngestReceipt, radroots_sync::policy::Error>] 154 pub const fn radroots_sync::pull::PullReceipt::pages_fetched(&self) -> u16 155 pub const fn radroots_sync::pull::PullReceipt::resume_from(&self) -> core::option::Option<&radroots_transport::source::FetchCursor> 156 pub const fn radroots_sync::pull::PullReceipt::sync_id(&self) -> radroots_sync::policy::SyncId 157 pub fn radroots_sync::pull::PullReceipt::target_outcomes(&self) -> &[radroots_transport::outcome::FetchTargetOutcome] 158 pub fn radroots_sync::pull::PullReceipt::target_summaries(&self) -> core::option::Option<&[radroots_sync::pull::PullTargetSummary]> 159 pub const fn radroots_sync::pull::PullReceipt::termination(&self) -> radroots_sync::pull::PullTermination 160 impl<'de> serde_core::de::Deserialize<'de> for radroots_sync::pull::PullReceipt 161 pub fn radroots_sync::pull::PullReceipt::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 162 pub struct radroots_sync::pull::PullRequest 163 impl radroots_sync::pull::PullRequest 164 pub const fn radroots_sync::pull::PullRequest::cursor(&self) -> core::option::Option<&radroots_transport::source::FetchCursor> 165 pub const fn radroots_sync::pull::PullRequest::max_pages(&self) -> u16 166 pub fn radroots_sync::pull::PullRequest::new(radroots_transport::target::TargetSet, u16, u16) -> core::result::Result<Self, radroots_sync::policy::Error> 167 pub const fn radroots_sync::pull::PullRequest::page_limit(&self) -> u16 168 pub const fn radroots_sync::pull::PullRequest::selector(&self) -> &radroots_transport::source::FetchSelector 169 pub const fn radroots_sync::pull::PullRequest::targets(&self) -> &radroots_transport::target::TargetSet 170 pub fn radroots_sync::pull::PullRequest::with_cursor(self, radroots_transport::source::FetchCursor) -> Self 171 pub fn radroots_sync::pull::PullRequest::with_selector(self, radroots_transport::source::FetchSelector) -> Self 172 impl<'de> serde_core::de::Deserialize<'de> for radroots_sync::pull::PullRequest 173 pub fn radroots_sync::pull::PullRequest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 174 pub struct radroots_sync::pull::PullTargetSummary 175 impl radroots_sync::pull::PullTargetSummary 176 pub const fn radroots_sync::pull::PullTargetSummary::all_pages_complete(&self) -> bool 177 pub const fn radroots_sync::pull::PullTargetSummary::incomplete_pages(&self) -> u16 178 pub const fn radroots_sync::pull::PullTargetSummary::last_incomplete(&self) -> core::option::Option<radroots_transport::outcome::FetchTargetState> 179 pub const fn radroots_sync::pull::PullTargetSummary::missing_outcome_pages(&self) -> u16 180 pub const fn radroots_sync::pull::PullTargetSummary::pages_observed(&self) -> u16 181 pub const fn radroots_sync::pull::PullTargetSummary::target(&self) -> &radroots_transport::target::TargetFingerprint 182 impl<'de> serde_core::de::Deserialize<'de> for radroots_sync::pull::PullTargetSummary 183 pub fn radroots_sync::pull::PullTargetSummary::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 184 pub const radroots_sync::pull::PULL_MAX_PAGES: u16 185 pub mod radroots_sync::push 186 pub struct radroots_sync::push::AdmissionRunReceipt 187 impl radroots_sync::push::AdmissionRunReceipt 188 pub const fn radroots_sync::push::AdmissionRunReceipt::artifact(&self) -> &radroots_storage::authored::AuthoredArtifact 189 pub const fn radroots_sync::push::AdmissionRunReceipt::is_replay(&self) -> bool 190 pub struct radroots_sync::push::DeliveryExecutionReceipt 191 impl radroots_sync::push::DeliveryExecutionReceipt 192 pub const fn radroots_sync::push::DeliveryExecutionReceipt::is_replay(&self) -> bool 193 pub const fn radroots_sync::push::DeliveryExecutionReceipt::plan(&self) -> &radroots_storage::authored_delivery::AuthoredDeliveryPlan 194 pub struct radroots_sync::push::PushCancellationReceipt 195 impl radroots_sync::push::PushCancellationReceipt 196 pub const fn radroots_sync::push::PushCancellationReceipt::changed(&self) -> bool 197 pub const fn radroots_sync::push::PushCancellationReceipt::status(&self) -> &radroots_sync::push::PushStatus 198 pub struct radroots_sync::push::PushPreparation 199 impl radroots_sync::push::PushPreparation 200 pub const fn radroots_sync::push::PushPreparation::artifact(&self) -> &radroots_storage::authored::AuthoredArtifact 201 pub const fn radroots_sync::push::PushPreparation::delivery_plan(&self) -> &radroots_storage::authored_delivery::AuthoredDeliveryPlan 202 pub const fn radroots_sync::push::PushPreparation::is_replay(&self) -> bool 203 pub const fn radroots_sync::push::PushPreparation::operation(&self) -> &radroots_storage::authored::AuthoredOperation 204 pub struct radroots_sync::push::PushRequest 205 impl radroots_sync::push::PushRequest 206 pub const fn radroots_sync::push::PushRequest::actor(&self) -> &radroots_signing::actor::Actor 207 pub fn radroots_sync::push::PushRequest::authored_preparation(&self, u64) -> core::result::Result<radroots_storage::authored_atomic::PrepareAuthoredOperation, radroots_sync::policy::Error> 208 pub const fn radroots_sync::push::PushRequest::cancellation(&self) -> radroots_signing::request::CancellationPolicy 209 pub const fn radroots_sync::push::PushRequest::delivery_deadline_unix_ms(&self) -> u64 210 pub const fn radroots_sync::push::PushRequest::idempotency_key(&self) -> &radroots_storage::journal::IdempotencyKey 211 pub fn radroots_sync::push::PushRequest::new(radroots_sync::policy::SyncId, radroots_storage::journal::IdempotencyKey, radroots_signing::actor::Actor, radroots_event_codec::authoring::AuthoredEventPlan, radroots_transport::target::TargetSet, radroots_transport::policy::SatisfactionPolicy, u64, radroots_signing::request::CancellationPolicy) -> core::result::Result<Self, radroots_sync::policy::Error> 212 pub const fn radroots_sync::push::PushRequest::operation_id(&self) -> radroots_sync::policy::SyncId 213 pub const fn radroots_sync::push::PushRequest::plan(&self) -> &radroots_event_codec::authoring::AuthoredEventPlan 214 pub const fn radroots_sync::push::PushRequest::satisfaction(&self) -> &radroots_transport::policy::SatisfactionPolicy 215 pub const fn radroots_sync::push::PushRequest::targets(&self) -> &radroots_transport::target::TargetSet 216 impl core::fmt::Debug for radroots_sync::push::PushRequest 217 pub fn radroots_sync::push::PushRequest::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 218 pub struct radroots_sync::push::PushStatus 219 impl radroots_sync::push::PushStatus 220 pub const fn radroots_sync::push::PushStatus::artifact(&self) -> &radroots_storage::authored::AuthoredArtifact 221 pub const fn radroots_sync::push::PushStatus::delivery_history(&self) -> &radroots_storage::authored_delivery::history::AuthoredDeliveryHistory 222 pub const fn radroots_sync::push::PushStatus::delivery_plan(&self) -> &radroots_storage::authored_delivery::AuthoredDeliveryPlan 223 pub const fn radroots_sync::push::PushStatus::operation(&self) -> &radroots_storage::authored::AuthoredOperation 224 pub const fn radroots_sync::push::PushStatus::settlement(&self) -> radroots_storage::authored::OperationSettlement 225 pub struct radroots_sync::push::SigningRunReceipt 226 impl radroots_sync::push::SigningRunReceipt 227 pub const fn radroots_sync::push::SigningRunReceipt::artifact(&self) -> &radroots_storage::authored::AuthoredArtifact 228 pub const fn radroots_sync::push::SigningRunReceipt::is_replay(&self) -> bool 229 pub mod radroots_sync::status 230 pub struct radroots_sync::status::CapabilityReport<T> 231 impl<T> radroots_sync::status::CapabilityReport<T> 232 pub const fn radroots_sync::status::CapabilityReport<T>::state(&self) -> radroots_protocol::runtime::v1::SyncCapabilityState 233 pub const fn radroots_sync::status::CapabilityReport<T>::status(&self) -> core::option::Option<&T> 234 pub struct radroots_sync::status::ProjectionReport 235 impl radroots_sync::status::ProjectionReport 236 pub const fn radroots_sync::status::ProjectionReport::projection_id(&self) -> &radroots_storage::projection::ProjectionId 237 pub const fn radroots_sync::status::ProjectionReport::status(&self) -> core::option::Option<&radroots_storage::projection::ProjectionStatus> 238 pub struct radroots_sync::status::SyncStatus 239 impl radroots_sync::status::SyncStatus 240 pub const fn radroots_sync::status::SyncStatus::events(&self) -> &radroots_storage::status::EventStoreStatus 241 pub const fn radroots_sync::status::SyncStatus::health(&self) -> radroots_protocol::runtime::v1::SyncHealth 242 pub const fn radroots_sync::status::SyncStatus::outbox(&self) -> radroots_storage::outbox::OutboxStatus 243 pub fn radroots_sync::status::SyncStatus::projections(&self) -> &[radroots_sync::status::ProjectionReport] 244 pub const fn radroots_sync::status::SyncStatus::signer(&self) -> &radroots_sync::status::CapabilityReport<radroots_signing::status::SignerStatus> 245 pub const fn radroots_sync::status::SyncStatus::sink(&self) -> &radroots_sync::status::CapabilityReport<radroots_transport::status::SinkStatus> 246 pub const fn radroots_sync::status::SyncStatus::source(&self) -> &radroots_sync::status::CapabilityReport<radroots_transport::status::SourceStatus> 247 pub const fn radroots_sync::status::SyncStatus::storage(&self) -> radroots_storage::status::StorageStatus 248 pub fn radroots_sync::status::SyncStatus::to_protocol(&self) -> radroots_protocol::runtime::v1::SyncStatusReceipt 249 #[non_exhaustive] pub enum radroots_sync::Error 250 pub radroots_sync::Error::AdmissionFailed 251 pub radroots_sync::Error::ClockUnavailable 252 pub radroots_sync::Error::DeadlineOverflow 253 pub radroots_sync::Error::DeliveryDeferred 254 pub radroots_sync::Error::InvalidDeadlinePolicy 255 pub radroots_sync::Error::InvalidDeliveryRequest 256 pub radroots_sync::Error::InvalidIngestReceipt 257 pub radroots_sync::Error::InvalidProjectionRequest 258 pub radroots_sync::Error::InvalidPullRequest 259 pub radroots_sync::Error::InvalidPushRequest 260 pub radroots_sync::Error::InvalidReducerOutput 261 pub radroots_sync::Error::InvalidSignerOutput 262 pub radroots_sync::Error::InvalidSourcePage 263 pub radroots_sync::Error::InvalidStatusRequest 264 pub radroots_sync::Error::InvalidSyncId 265 pub radroots_sync::Error::MissingSigner 266 pub radroots_sync::Error::MissingSink 267 pub radroots_sync::Error::MissingSource 268 pub radroots_sync::Error::MissingTransportCapability 269 pub radroots_sync::Error::PolicyRejected 270 pub radroots_sync::Error::ReducerFailed 271 pub radroots_sync::Error::SignerCapabilityUnavailable 272 pub radroots_sync::Error::SignerDeadlineExceeded 273 pub radroots_sync::Error::SignerFailed 274 pub radroots_sync::Error::SignerWithoutSink 275 pub radroots_sync::Error::SigningCancelled 276 pub radroots_sync::Error::SigningIndeterminate 277 pub radroots_sync::Error::StorageConflict 278 pub radroots_sync::Error::StorageFailed 279 pub radroots_sync::Error::StorageSpaceInsufficient 280 pub radroots_sync::Error::VerificationFailed 281 pub radroots_sync::Error::WorkClaimConflict 282 impl core::error::Error for radroots_sync::policy::Error 283 impl core::fmt::Display for radroots_sync::policy::Error 284 pub fn radroots_sync::policy::Error::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 285 pub struct radroots_sync::AdmissionRunReceipt 286 impl radroots_sync::push::AdmissionRunReceipt 287 pub const fn radroots_sync::push::AdmissionRunReceipt::artifact(&self) -> &radroots_storage::authored::AuthoredArtifact 288 pub const fn radroots_sync::push::AdmissionRunReceipt::is_replay(&self) -> bool 289 pub struct radroots_sync::DeliveryExecutionReceipt 290 impl radroots_sync::push::DeliveryExecutionReceipt 291 pub const fn radroots_sync::push::DeliveryExecutionReceipt::is_replay(&self) -> bool 292 pub const fn radroots_sync::push::DeliveryExecutionReceipt::plan(&self) -> &radroots_storage::authored_delivery::AuthoredDeliveryPlan 293 pub struct radroots_sync::Engine 294 impl radroots_sync::Engine 295 pub async fn radroots_sync::Engine::admit_signed(&self, radroots_sync::policy::SyncId) -> core::result::Result<radroots_sync::push::AdmissionRunReceipt, radroots_sync::policy::Error> 296 pub async fn radroots_sync::Engine::cancel_push(&self, radroots_sync::policy::SyncId) -> core::result::Result<radroots_sync::push::PushCancellationReceipt, radroots_sync::policy::Error> 297 pub async fn radroots_sync::Engine::prepare_push(&self, radroots_sync::push::PushRequest) -> core::result::Result<radroots_sync::push::PushPreparation, radroots_sync::policy::Error> 298 pub async fn radroots_sync::Engine::push_status(&self, radroots_sync::policy::SyncId) -> core::result::Result<core::option::Option<radroots_sync::push::PushStatus>, radroots_sync::policy::Error> 299 pub async fn radroots_sync::Engine::sign_prepared(&self, radroots_sync::push::PushRequest) -> core::result::Result<radroots_sync::push::SigningRunReceipt, radroots_sync::policy::Error> 300 impl radroots_sync::Engine 301 pub fn radroots_sync::Engine::builder(radroots_transport::host::Shared<dyn radroots_sync::policy::SyncStorage>, radroots_transport::host::Shared<dyn radroots_sync::policy::Clock>, radroots_transport::host::Shared<dyn radroots_sync::policy::IdSource>, radroots_sync::policy::DeadlinePolicy) -> radroots_sync::policy::EngineBuilder 302 pub fn radroots_sync::Engine::clock(&self) -> &dyn radroots_sync::policy::Clock 303 pub const fn radroots_sync::Engine::deadlines(&self) -> radroots_sync::policy::DeadlinePolicy 304 pub fn radroots_sync::Engine::ids(&self) -> &dyn radroots_sync::policy::IdSource 305 pub fn radroots_sync::Engine::signer(&self) -> core::option::Option<&dyn radroots_signing::signer::Signer> 306 pub fn radroots_sync::Engine::sink(&self) -> core::option::Option<&dyn radroots_transport::sink::EventSink> 307 pub fn radroots_sync::Engine::source(&self) -> core::option::Option<&dyn radroots_transport::source::EventSource> 308 pub fn radroots_sync::Engine::storage(&self) -> &dyn radroots_sync::policy::SyncStorage 309 impl radroots_sync::Engine 310 pub async fn radroots_sync::Engine::deliver_push(&self, radroots_sync::policy::SyncId) -> core::result::Result<radroots_sync::push::DeliveryExecutionReceipt, radroots_sync::policy::Error> 311 pub async fn radroots_sync::Engine::deliver_push_selected(&self, radroots_sync::policy::SyncId, radroots_transport::target::TargetSet) -> core::result::Result<radroots_sync::push::DeliveryExecutionReceipt, radroots_sync::policy::Error> 312 impl radroots_sync::Engine 313 pub async fn radroots_sync::Engine::ingest(&self, radroots_transport::source::ObservedEvent, &dyn radroots_sync::ingest::AdmissionPolicy) -> core::result::Result<radroots_sync::ingest::IngestReceipt, radroots_sync::policy::Error> 314 pub async fn radroots_sync::Engine::ingest_batch(&self, alloc::vec::Vec<radroots_transport::source::ObservedEvent>, &dyn radroots_sync::ingest::AdmissionPolicy) -> radroots_sync::ingest::IngestBatchReceipt 315 impl radroots_sync::Engine 316 pub async fn radroots_sync::Engine::pull(&self, radroots_sync::pull::PullRequest, &dyn radroots_sync::ingest::AdmissionPolicy) -> core::result::Result<radroots_sync::pull::PullReceipt, radroots_sync::policy::Error> 317 impl radroots_sync::Engine 318 pub async fn radroots_sync::Engine::refresh_projection(&self, radroots_sync::projection::RefreshRequest, &dyn radroots_sync::projection::Reducer) -> core::result::Result<radroots_sync::projection::RefreshReceipt, radroots_sync::policy::Error> 319 impl radroots_sync::Engine 320 pub fn radroots_sync::Engine::retry_decision(&self, &radroots_storage::authored_delivery::AuthoredDeliveryPlan, u64) -> core::result::Result<radroots_protocol::runtime::v1::SyncRetryDecision, radroots_sync::policy::Error> 321 pub async fn radroots_sync::Engine::status(&self, &[radroots_storage::projection::ProjectionId]) -> core::result::Result<radroots_sync::status::SyncStatus, radroots_sync::policy::Error> 322 impl core::fmt::Debug for radroots_sync::Engine 323 pub fn radroots_sync::Engine::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 324 pub struct radroots_sync::PullReceipt 325 impl radroots_sync::pull::PullReceipt 326 pub const fn radroots_sync::pull::PullReceipt::deadline_unix_ms(&self) -> u64 327 pub const fn radroots_sync::pull::PullReceipt::events_observed(&self) -> usize 328 pub fn radroots_sync::pull::PullReceipt::ingest_outcomes(&self) -> &[core::result::Result<radroots_sync::ingest::IngestReceipt, radroots_sync::policy::Error>] 329 pub const fn radroots_sync::pull::PullReceipt::pages_fetched(&self) -> u16 330 pub const fn radroots_sync::pull::PullReceipt::resume_from(&self) -> core::option::Option<&radroots_transport::source::FetchCursor> 331 pub const fn radroots_sync::pull::PullReceipt::sync_id(&self) -> radroots_sync::policy::SyncId 332 pub fn radroots_sync::pull::PullReceipt::target_outcomes(&self) -> &[radroots_transport::outcome::FetchTargetOutcome] 333 pub fn radroots_sync::pull::PullReceipt::target_summaries(&self) -> core::option::Option<&[radroots_sync::pull::PullTargetSummary]> 334 pub const fn radroots_sync::pull::PullReceipt::termination(&self) -> radroots_sync::pull::PullTermination 335 impl<'de> serde_core::de::Deserialize<'de> for radroots_sync::pull::PullReceipt 336 pub fn radroots_sync::pull::PullReceipt::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 337 pub struct radroots_sync::PullRequest 338 impl radroots_sync::pull::PullRequest 339 pub const fn radroots_sync::pull::PullRequest::cursor(&self) -> core::option::Option<&radroots_transport::source::FetchCursor> 340 pub const fn radroots_sync::pull::PullRequest::max_pages(&self) -> u16 341 pub fn radroots_sync::pull::PullRequest::new(radroots_transport::target::TargetSet, u16, u16) -> core::result::Result<Self, radroots_sync::policy::Error> 342 pub const fn radroots_sync::pull::PullRequest::page_limit(&self) -> u16 343 pub const fn radroots_sync::pull::PullRequest::selector(&self) -> &radroots_transport::source::FetchSelector 344 pub const fn radroots_sync::pull::PullRequest::targets(&self) -> &radroots_transport::target::TargetSet 345 pub fn radroots_sync::pull::PullRequest::with_cursor(self, radroots_transport::source::FetchCursor) -> Self 346 pub fn radroots_sync::pull::PullRequest::with_selector(self, radroots_transport::source::FetchSelector) -> Self 347 impl<'de> serde_core::de::Deserialize<'de> for radroots_sync::pull::PullRequest 348 pub fn radroots_sync::pull::PullRequest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 349 pub struct radroots_sync::PushCancellationReceipt 350 impl radroots_sync::push::PushCancellationReceipt 351 pub const fn radroots_sync::push::PushCancellationReceipt::changed(&self) -> bool 352 pub const fn radroots_sync::push::PushCancellationReceipt::status(&self) -> &radroots_sync::push::PushStatus 353 pub struct radroots_sync::PushPreparation 354 impl radroots_sync::push::PushPreparation 355 pub const fn radroots_sync::push::PushPreparation::artifact(&self) -> &radroots_storage::authored::AuthoredArtifact 356 pub const fn radroots_sync::push::PushPreparation::delivery_plan(&self) -> &radroots_storage::authored_delivery::AuthoredDeliveryPlan 357 pub const fn radroots_sync::push::PushPreparation::is_replay(&self) -> bool 358 pub const fn radroots_sync::push::PushPreparation::operation(&self) -> &radroots_storage::authored::AuthoredOperation 359 pub struct radroots_sync::PushRequest 360 impl radroots_sync::push::PushRequest 361 pub const fn radroots_sync::push::PushRequest::actor(&self) -> &radroots_signing::actor::Actor 362 pub fn radroots_sync::push::PushRequest::authored_preparation(&self, u64) -> core::result::Result<radroots_storage::authored_atomic::PrepareAuthoredOperation, radroots_sync::policy::Error> 363 pub const fn radroots_sync::push::PushRequest::cancellation(&self) -> radroots_signing::request::CancellationPolicy 364 pub const fn radroots_sync::push::PushRequest::delivery_deadline_unix_ms(&self) -> u64 365 pub const fn radroots_sync::push::PushRequest::idempotency_key(&self) -> &radroots_storage::journal::IdempotencyKey 366 pub fn radroots_sync::push::PushRequest::new(radroots_sync::policy::SyncId, radroots_storage::journal::IdempotencyKey, radroots_signing::actor::Actor, radroots_event_codec::authoring::AuthoredEventPlan, radroots_transport::target::TargetSet, radroots_transport::policy::SatisfactionPolicy, u64, radroots_signing::request::CancellationPolicy) -> core::result::Result<Self, radroots_sync::policy::Error> 367 pub const fn radroots_sync::push::PushRequest::operation_id(&self) -> radroots_sync::policy::SyncId 368 pub const fn radroots_sync::push::PushRequest::plan(&self) -> &radroots_event_codec::authoring::AuthoredEventPlan 369 pub const fn radroots_sync::push::PushRequest::satisfaction(&self) -> &radroots_transport::policy::SatisfactionPolicy 370 pub const fn radroots_sync::push::PushRequest::targets(&self) -> &radroots_transport::target::TargetSet 371 impl core::fmt::Debug for radroots_sync::push::PushRequest 372 pub fn radroots_sync::push::PushRequest::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 373 pub struct radroots_sync::PushStatus 374 impl radroots_sync::push::PushStatus 375 pub const fn radroots_sync::push::PushStatus::artifact(&self) -> &radroots_storage::authored::AuthoredArtifact 376 pub const fn radroots_sync::push::PushStatus::delivery_history(&self) -> &radroots_storage::authored_delivery::history::AuthoredDeliveryHistory 377 pub const fn radroots_sync::push::PushStatus::delivery_plan(&self) -> &radroots_storage::authored_delivery::AuthoredDeliveryPlan 378 pub const fn radroots_sync::push::PushStatus::operation(&self) -> &radroots_storage::authored::AuthoredOperation 379 pub const fn radroots_sync::push::PushStatus::settlement(&self) -> radroots_storage::authored::OperationSettlement 380 pub struct radroots_sync::SigningRunReceipt 381 impl radroots_sync::push::SigningRunReceipt 382 pub const fn radroots_sync::push::SigningRunReceipt::artifact(&self) -> &radroots_storage::authored::AuthoredArtifact 383 pub const fn radroots_sync::push::SigningRunReceipt::is_replay(&self) -> bool 384 pub struct radroots_sync::SyncStatus 385 impl radroots_sync::status::SyncStatus 386 pub const fn radroots_sync::status::SyncStatus::events(&self) -> &radroots_storage::status::EventStoreStatus 387 pub const fn radroots_sync::status::SyncStatus::health(&self) -> radroots_protocol::runtime::v1::SyncHealth 388 pub const fn radroots_sync::status::SyncStatus::outbox(&self) -> radroots_storage::outbox::OutboxStatus 389 pub fn radroots_sync::status::SyncStatus::projections(&self) -> &[radroots_sync::status::ProjectionReport] 390 pub const fn radroots_sync::status::SyncStatus::signer(&self) -> &radroots_sync::status::CapabilityReport<radroots_signing::status::SignerStatus> 391 pub const fn radroots_sync::status::SyncStatus::sink(&self) -> &radroots_sync::status::CapabilityReport<radroots_transport::status::SinkStatus> 392 pub const fn radroots_sync::status::SyncStatus::source(&self) -> &radroots_sync::status::CapabilityReport<radroots_transport::status::SourceStatus> 393 pub const fn radroots_sync::status::SyncStatus::storage(&self) -> radroots_storage::status::StorageStatus 394 pub fn radroots_sync::status::SyncStatus::to_protocol(&self) -> radroots_protocol::runtime::v1::SyncStatusReceipt