pub struct IngressLimit { /* private fields */ }Expand description
The ingress limit: a bucket of datagrams, refilled continuously at the configured rate.
The bucket holds a tenth of a minute’s allowance, and never less than one datagram, so a quiet LAN can deliver a short burst and a busy one is held to the rate.
Implementations§
Trait Implementations§
Source§impl Clone for IngressLimit
impl Clone for IngressLimit
Source§fn clone(&self) -> IngressLimit
fn clone(&self) -> IngressLimit
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IngressLimit
impl Debug for IngressLimit
impl Copy for IngressLimit
Auto Trait Implementations§
impl Freeze for IngressLimit
impl RefUnwindSafe for IngressLimit
impl Send for IngressLimit
impl Sync for IngressLimit
impl Unpin for IngressLimit
impl UnwindSafe for IngressLimit
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)