Skip to main content

GeographicDistributor

Trait GeographicDistributor 

Source
pub trait GeographicDistributor {
    // Required method
    fn distribute_with_manifest(
        &self,
        payload: &Payload,
        covers: Vec<CoverMedia>,
        manifest: &GeographicManifest,
        embedder: &dyn EmbedTechnique,
    ) -> Result<Vec<CoverMedia>, OpsecError>;
}
Expand description

Geographic threshold distribution port.

Annotates shards with jurisdictional metadata, producing a GeographicManifest that makes legal compulsion across jurisdictions impractical.

Required Methods§

Source

fn distribute_with_manifest( &self, payload: &Payload, covers: Vec<CoverMedia>, manifest: &GeographicManifest, embedder: &dyn EmbedTechnique, ) -> Result<Vec<CoverMedia>, OpsecError>

Distribute payload across covers and annotate each shard with jurisdictional metadata from manifest.

§Errors

Returns OpsecError::ManifestError.

Implementors§