pub struct InventoryPacing {
pub min_interval: Duration,
}Expand description
Dynamic delay enforced before each bounded native inventory operation.
Fields§
§min_interval: DurationMinimum interval between the starts of bounded native operations.
Trait Implementations§
Source§impl Clone for InventoryPacing
impl Clone for InventoryPacing
Source§fn clone(&self) -> InventoryPacing
fn clone(&self) -> InventoryPacing
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 moreimpl Copy for InventoryPacing
Source§impl Debug for InventoryPacing
impl Debug for InventoryPacing
Source§impl Default for InventoryPacing
impl Default for InventoryPacing
impl Eq for InventoryPacing
Source§impl PartialEq for InventoryPacing
impl PartialEq for InventoryPacing
impl StructuralPartialEq for InventoryPacing
Auto Trait Implementations§
impl Freeze for InventoryPacing
impl RefUnwindSafe for InventoryPacing
impl Send for InventoryPacing
impl Sync for InventoryPacing
impl Unpin for InventoryPacing
impl UnsafeUnpin for InventoryPacing
impl UnwindSafe for InventoryPacing
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