pub struct ReplicationWorkerCounts {
pub workers: usize,
pub mrf_workers: usize,
}Fields§
§workers: usize§mrf_workers: usizeImplementations§
Source§impl ReplicationWorkerCounts
impl ReplicationWorkerCounts
pub const fn new(workers: usize, mrf_workers: usize) -> Self
pub fn capped_by_worker_limit(self, max_workers: usize) -> Self
pub fn mrf_workers_i32(self) -> i32
Trait Implementations§
Source§impl Clone for ReplicationWorkerCounts
impl Clone for ReplicationWorkerCounts
impl Copy for ReplicationWorkerCounts
Source§impl Debug for ReplicationWorkerCounts
impl Debug for ReplicationWorkerCounts
impl Eq for ReplicationWorkerCounts
Source§impl PartialEq for ReplicationWorkerCounts
impl PartialEq for ReplicationWorkerCounts
impl StructuralPartialEq for ReplicationWorkerCounts
Auto Trait Implementations§
impl Freeze for ReplicationWorkerCounts
impl RefUnwindSafe for ReplicationWorkerCounts
impl Send for ReplicationWorkerCounts
impl Sync for ReplicationWorkerCounts
impl Unpin for ReplicationWorkerCounts
impl UnsafeUnpin for ReplicationWorkerCounts
impl UnwindSafe for ReplicationWorkerCounts
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.