pub struct ConcurrencyAdjustment {
pub timestamp: Instant,
pub old_value: usize,
pub new_value: usize,
pub reason: String,
}
Expand description
并发调整记录
Fields§
§timestamp: Instant
§old_value: usize
§new_value: usize
§reason: String
Trait Implementations§
Source§impl Clone for ConcurrencyAdjustment
impl Clone for ConcurrencyAdjustment
Source§fn clone(&self) -> ConcurrencyAdjustment
fn clone(&self) -> ConcurrencyAdjustment
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 moreAuto Trait Implementations§
impl Freeze for ConcurrencyAdjustment
impl RefUnwindSafe for ConcurrencyAdjustment
impl Send for ConcurrencyAdjustment
impl Sync for ConcurrencyAdjustment
impl Unpin for ConcurrencyAdjustment
impl UnwindSafe for ConcurrencyAdjustment
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