[−][src]Struct thingvellir::ServiceBuilder
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]
self,
shard_persist_queue_capacity: usize
) -> Self
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]
self,
shard_sender_channel_buffer_size: usize
) -> Self
pub fn cache_expiration_probe_interval(
self,
cache_expiration_probe_interval: Duration
) -> Self
[src]
self,
cache_expiration_probe_interval: Duration
) -> Self
pub fn cache_expiration_probe_keys_per_tick(
self,
cache_expiration_probe_keys_per_tick: usize
) -> Self
[src]
self,
cache_expiration_probe_keys_per_tick: usize
) -> Self
pub fn build<UpstreamFactoryT: UpstreamFactory<Key, Data>>(
self,
upstream_factory: UpstreamFactoryT
) -> ServiceHandle<Key, Data>
[src]
self,
upstream_factory: UpstreamFactoryT
) -> ServiceHandle<Key, Data>
pub fn build_mutable<UpstreamFactoryT: MutableUpstreamFactory<Key, Data>>(
self,
upstream_factory: UpstreamFactoryT,
default_commit_policy: DefaultCommitPolicy
) -> MutableServiceHandle<Key, Data>
[src]
self,
upstream_factory: UpstreamFactoryT,
default_commit_policy: DefaultCommitPolicy
) -> MutableServiceHandle<Key, Data>
Auto Trait Implementations
impl<Key, Data> RefUnwindSafe for ServiceBuilder<Key, Data> where
Data: RefUnwindSafe,
Key: RefUnwindSafe,
Data: RefUnwindSafe,
Key: RefUnwindSafe,
impl<Key, Data> Send for ServiceBuilder<Key, Data> where
Data: Send,
Key: Send,
Data: Send,
Key: Send,
impl<Key, Data> Sync for ServiceBuilder<Key, Data> where
Data: Sync,
Key: Sync,
Data: Sync,
Key: Sync,
impl<Key, Data> Unpin for ServiceBuilder<Key, Data> where
Data: Unpin,
Key: Unpin,
Data: Unpin,
Key: Unpin,
impl<Key, Data> UnwindSafe for ServiceBuilder<Key, Data> where
Data: UnwindSafe,
Key: UnwindSafe,
Data: UnwindSafe,
Key: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,