pub struct SpinParams {
pub spin_counter_interval: SpinCounterInterval,
pub spin_counter_periodicity: SpinCounterPeriodicity,
pub spin_entropy: SpinEntropy,
}Expand description
The parameters for the spin operation
Fields§
§spin_counter_interval: SpinCounterIntervalThe number of ticks to drop from the UTC timestamp
spin_counter_periodicity: SpinCounterPeriodicityThe number of bits to use from the UTC timestamp
spin_entropy: SpinEntropyHow many entropy bytes to use
Trait Implementations§
Source§impl Clone for SpinParams
impl Clone for SpinParams
Source§fn clone(&self) -> SpinParams
fn clone(&self) -> SpinParams
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 moreSource§impl Debug for SpinParams
impl Debug for SpinParams
impl Copy for SpinParams
Auto Trait Implementations§
impl Freeze for SpinParams
impl RefUnwindSafe for SpinParams
impl Send for SpinParams
impl Sync for SpinParams
impl Unpin for SpinParams
impl UnwindSafe for SpinParams
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