pub enum NearInstant {}Expand description
Indicates that a cloning operation is:
- constant time
- nonblocking (atomic operations may be fine, but acquiring a lock is not)
- at most the overhead of a few atomic operations
- generally, deserving of being called near-instant in speed.
The nightly-only UseCloned trait
provides additional constraints, that may be worth considering.
Trait Implementations§
impl Speed for NearInstant
Auto Trait Implementations§
impl Freeze for NearInstant
impl RefUnwindSafe for NearInstant
impl Send for NearInstant
impl Sync for NearInstant
impl Unpin for NearInstant
impl UnwindSafe for NearInstant
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