[][src]Struct thingvellir::ServiceBuilder

pub struct ServiceBuilder<Key, Data> { /* fields omitted */ }

Implementations

impl<Key: Send + Clone + Hash + Eq + Display + 'static, Data: ServiceData> ServiceBuilder<Key, Data>[src]

pub fn num_shards(self, num_shards: u8) -> Self[src]

pub fn shard_persist_queue_capacity(
    self,
    shard_persist_queue_capacity: usize
) -> Self
[src]

pub fn lru_candidates_num_probes(self, lru_candidates_num_probes: u16) -> Self[src]

pub fn shard_sender_channel_buffer_size(
    self,
    shard_sender_channel_buffer_size: usize
) -> Self
[src]

pub fn cache_expiration_probe_interval(
    self,
    cache_expiration_probe_interval: Duration
) -> Self
[src]

pub fn cache_expiration_probe_keys_per_tick(
    self,
    cache_expiration_probe_keys_per_tick: usize
) -> Self
[src]

pub fn build<UpstreamFactoryT: UpstreamFactory<Key, Data>>(
    self,
    upstream_factory: UpstreamFactoryT
) -> ServiceHandle<Key, Data>
[src]

pub fn build_mutable<UpstreamFactoryT: MutableUpstreamFactory<Key, Data>>(
    self,
    upstream_factory: UpstreamFactoryT,
    default_commit_policy: DefaultCommitPolicy
) -> MutableServiceHandle<Key, Data>
[src]

Auto Trait Implementations

impl<Key, Data> RefUnwindSafe for ServiceBuilder<Key, Data> where
    Data: RefUnwindSafe,
    Key: RefUnwindSafe

impl<Key, Data> Send for ServiceBuilder<Key, Data> where
    Data: Send,
    Key: Send

impl<Key, Data> Sync for ServiceBuilder<Key, Data> where
    Data: Sync,
    Key: Sync

impl<Key, Data> Unpin for ServiceBuilder<Key, Data> where
    Data: Unpin,
    Key: Unpin

impl<Key, Data> UnwindSafe for ServiceBuilder<Key, Data> where
    Data: UnwindSafe,
    Key: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,