Skip to main content

Module indexing

Module indexing 

Source
Expand description

Opt-in local indexing for synchronized folders.

The indexer deliberately owns its database and event consumers. The core synchronization path does not depend on the index being enabled or healthy.

Re-exports§

pub use catalog::Catalog;
pub use catalog::CatalogMetadata;
pub use catalog::CatalogRecord;
pub use catalog::CatalogService;
pub use denylist::Denied;
pub use denylist::DenyReason;
pub use denylist::Denylist;
pub use denylist::DenylistRule;
pub use denylist::DenylistService;
pub use denylist::FilterContext;
pub use denylist::FilterList;
pub use links::LinkResolution;
pub use links::LinkResolver;
pub use links::Mirror;
pub use links::MutablePointer;
pub use links::ProviderFetch;
pub use links::REVOCATION_GOSSIP_TOPIC;
pub use links::ResolveOptions;
pub use links::SignedMutablePointer;
pub use links::current_epoch_seconds;
pub use links::fetch_from_mirrors;
pub use links::revocation_topic_id;
pub use parallel::ParallelDownloadConfig;
pub use parallel::TryParallelResult;
pub use reputation::ProviderReputation;
pub use reputation::ProviderReputationStore;
pub use reputation::ProviderTrustSignal;
pub use reputation::ReputationConfig;
pub use reputation::TrustSignalKind;
pub use reputation::trust_stream_topic;
pub use resilience::AvailabilityHealth;
pub use resilience::BanRecord;
pub use resilience::BanSource;
pub use resilience::FailureRecord;
pub use resilience::FetchFailure;
pub use resilience::FetchFailureKind;
pub use resilience::FetchWait;
pub use resilience::LeaseUpdate;
pub use resilience::ProviderLease;
pub use resilience::ProviderLeaseTracker;
pub use resilience::ReplicationBudget;
pub use resilience::ReplicationResult;
pub use resilience::ResilienceConfig;
pub use resilience::ResilienceService;
pub use resilience::consistent_hashing_selection;
pub use resilience::jitter_delay;
pub use resilience::resilience_topic;
pub use resilience::validate_bounded_fetch;
pub use resilience::validate_bounded_stream;
pub use resilience::validate_fetch_stream;
pub use resilience::xor_distance;
pub use wot::Attestation;
pub use wot::AttestationKind;
pub use wot::MetadataEntry;
pub use wot::ModerationAction;
pub use wot::ModerationContext;
pub use wot::ModerationDecision;
pub use wot::ModerationRecord;
pub use wot::ModerationScope;
pub use wot::ProviderTrustAction;
pub use wot::ProviderTrustDecision;
pub use wot::ProviderTrustRecord;
pub use wot::RevocationRecord;
pub use wot::TrustDecision;
pub use wot::TrustDelegation;
pub use wot::TrustPolicy;
pub use wot::WotMetadata;
pub use wot::WotService;

Modules§

catalog
Public metadata catalogs for the opt-in indexing service.
denylist
Local and federated content filtering for the indexing service.
links
Stable content links, signed mutable names, capabilities, and mirrors.
parallel
reputation
Historical provider reputation and signed trust observations.
resilience
Lease-based availability and replication for the indexing service.
wot
Local Web-of-Trust policy and signed metadata for indexed content.

Structs§

IndexedEntry
A content entry known to the local indexing service.
IndexingDatabase
Thread-safe SQLite database used by the indexing service.
IndexingHandle
A folder opt-in returned by IndexingService::enable_folder.
IndexingService
The opt-in indexing service for synchronized folders.
ReportRecord
A signed content report stored in the indexing database.

Enums§

CoreIndexingEvent
Core synchronization events that do not add or remove an indexed entry.
IndexingEvent
Events emitted by an IndexingService.

Constants§

REPORT_GOSSIP_TOPIC
Deterministic gossip topic for broadcasting signed moderation reports.
SCHEMA_VERSION
Current indexing database schema version.