Struct ConcurrencyConfig
pub struct ConcurrencyConfig {
pub lock_free: bool,
pub atomic_stats: bool,
pub thread_safety: ThreadSafety,
}Expand description
Concurrency configuration
Fields§
§lock_free: boolUse lock-free implementations
atomic_stats: boolUse atomic operations for statistics
thread_safety: ThreadSafetyThread safety level
Trait Implementations§
§impl Clone for ConcurrencyConfig
impl Clone for ConcurrencyConfig
§fn clone(&self) -> ConcurrencyConfig
fn clone(&self) -> ConcurrencyConfig
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 more§impl Debug for ConcurrencyConfig
impl Debug for ConcurrencyConfig
§impl Default for ConcurrencyConfig
impl Default for ConcurrencyConfig
§fn default() -> ConcurrencyConfig
fn default() -> ConcurrencyConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConcurrencyConfig
impl RefUnwindSafe for ConcurrencyConfig
impl Send for ConcurrencyConfig
impl Sync for ConcurrencyConfig
impl Unpin for ConcurrencyConfig
impl UnwindSafe for ConcurrencyConfig
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