Struct tikv::config::StorageReadPoolConfig [−][src]
Fields
use_unified_pool: Option<bool>
high_concurrency: usize
normal_concurrency: usize
low_concurrency: usize
max_tasks_per_worker_high: usize
max_tasks_per_worker_normal: usize
max_tasks_per_worker_low: usize
stack_size: ReadableSize
Implementations
impl StorageReadPoolConfig
[src][−]
pub fn to_yatp_pool_configs(self) -> Vec<Config>
[src][−]
Builds configurations for low, normal and high priority pools.
pub fn default_for_test() -> Self
[src]
pub fn use_unified_pool(&self) -> bool
[src]
pub fn adjust_use_unified_pool(&mut self)
[src]
pub fn validate(&self) -> Result<(), Box<dyn Error>>
[src]
Trait Implementations
impl Clone for StorageReadPoolConfig
[src][+]
impl Copy for StorageReadPoolConfig
[src]
impl Debug for StorageReadPoolConfig
[src][+]
impl Default for StorageReadPoolConfig
[src][+]
impl<'de> Deserialize<'de> for StorageReadPoolConfig where
StorageReadPoolConfig: Default,
[src][+]
StorageReadPoolConfig: Default,
impl PartialEq<StorageReadPoolConfig> for StorageReadPoolConfig
[src][+]
impl Serialize for StorageReadPoolConfig
[src][+]
impl StructuralPartialEq for StorageReadPoolConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for StorageReadPoolConfig
impl Send for StorageReadPoolConfig
impl Sync for StorageReadPoolConfig
impl Unpin for StorageReadPoolConfig
impl UnwindSafe for StorageReadPoolConfig
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,
impl<V, W> ConvertFrom<W> for V where
W: ConvertTo<V>,
[src][+]
W: ConvertTo<V>,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Pointable for T
[src][+]
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,