pub struct RateEntry {
pub last: f64,
pub rate_violations: u32,
pub blocked_until: f64,
pub timestamps: Vec<f64>,
}Expand description
Entry in the announce rate table, keyed by destination_hash.
Fields§
§last: f64§rate_violations: u32§blocked_until: f64§timestamps: Vec<f64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RateEntry
impl RefUnwindSafe for RateEntry
impl Send for RateEntry
impl Sync for RateEntry
impl Unpin for RateEntry
impl UnwindSafe for RateEntry
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