pub enum ParallelSafety {
Safe,
CategoryExclusive,
Exclusive,
}Expand description
工具安全分级
Variants§
Trait Implementations§
Source§impl Clone for ParallelSafety
impl Clone for ParallelSafety
Source§fn clone(&self) -> ParallelSafety
fn clone(&self) -> ParallelSafety
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParallelSafety
impl Debug for ParallelSafety
Source§impl PartialEq for ParallelSafety
impl PartialEq for ParallelSafety
Source§fn eq(&self, other: &ParallelSafety) -> bool
fn eq(&self, other: &ParallelSafety) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ParallelSafety
impl StructuralPartialEq for ParallelSafety
Auto Trait Implementations§
impl Freeze for ParallelSafety
impl RefUnwindSafe for ParallelSafety
impl Send for ParallelSafety
impl Sync for ParallelSafety
impl Unpin for ParallelSafety
impl UnsafeUnpin for ParallelSafety
impl UnwindSafe for ParallelSafety
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.