pub struct GeographicDistributorImpl;Expand description
Geographic threshold distribution adapter.
Validates the manifest, then embeds payload shards into covers annotated with jurisdictional metadata.
Implementations§
Trait Implementations§
Source§impl Default for GeographicDistributorImpl
impl Default for GeographicDistributorImpl
Source§impl GeographicDistributor for GeographicDistributorImpl
impl GeographicDistributor for GeographicDistributorImpl
Source§fn distribute_with_manifest(
&self,
payload: &Payload,
covers: Vec<CoverMedia>,
manifest: &GeographicManifest,
embedder: &dyn EmbedTechnique,
) -> Result<Vec<CoverMedia>, OpsecError>
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. Read moreAuto Trait Implementations§
impl Freeze for GeographicDistributorImpl
impl RefUnwindSafe for GeographicDistributorImpl
impl Send for GeographicDistributorImpl
impl Sync for GeographicDistributorImpl
impl Unpin for GeographicDistributorImpl
impl UnsafeUnpin for GeographicDistributorImpl
impl UnwindSafe for GeographicDistributorImpl
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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