pub struct BnRatelimiter { /* private fields */ }Implementations§
Source§impl BnRatelimiter
impl BnRatelimiter
pub fn new(rules: &Vec<BnRateLimit>) -> Self
Trait Implementations§
Source§impl Default for BnRatelimiter
impl Default for BnRatelimiter
Auto Trait Implementations§
impl Freeze for BnRatelimiter
impl RefUnwindSafe for BnRatelimiter
impl Send for BnRatelimiter
impl Sync for BnRatelimiter
impl Unpin for BnRatelimiter
impl UnwindSafe for BnRatelimiter
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