pub struct WebRTCStoreConfig {
pub relays: Vec<String>,
pub roots: Vec<Hash>,
pub request_timeout_ms: u64,
pub hello_interval_ms: u64,
pub debug: bool,
pub pools: PoolSettings,
pub classifier_tx: Option<ClassifierTx>,
pub request_selection_strategy: SelectionStrategy,
pub request_fairness_enabled: bool,
pub request_dispatch: RequestDispatchConfig,
}Expand description
Configuration for the default mesh-backed store composition.
Fields§
§relays: Vec<String>Nostr relays for signaling
roots: Vec<Hash>Root hashes to advertise
request_timeout_ms: u64Timeout for data requests (ms)
hello_interval_ms: u64Interval for sending hello messages (ms)
debug: boolEnable verbose logging
pools: PoolSettingsPool settings for follows and other peers
classifier_tx: Option<ClassifierTx>Channel for peer classification (optional) If None, all peers go to “Other” pool
request_selection_strategy: SelectionStrategyRetrieval peer selection strategy (shared with GenericStore/CLI/sim).
request_fairness_enabled: boolWhether fairness constraints are enabled for retrieval selection.
request_dispatch: RequestDispatchConfigHedged request dispatch policy for retrieval.
Trait Implementations§
Source§impl Clone for WebRTCStoreConfig
impl Clone for WebRTCStoreConfig
Source§fn clone(&self) -> WebRTCStoreConfig
fn clone(&self) -> WebRTCStoreConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WebRTCStoreConfig
impl RefUnwindSafe for WebRTCStoreConfig
impl Send for WebRTCStoreConfig
impl Sync for WebRTCStoreConfig
impl Unpin for WebRTCStoreConfig
impl UnsafeUnpin for WebRTCStoreConfig
impl UnwindSafe for WebRTCStoreConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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