Struct twilight_gateway_queue::NoOpQueue
source · pub struct NoOpQueue;
Expand description
An implementation of Queue
that instantly allows requests.
Useful when running behind a proxy gateway. Running without a functional queue will get you ratelimited.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NoOpQueue
impl Send for NoOpQueue
impl Sync for NoOpQueue
impl Unpin for NoOpQueue
impl UnwindSafe for NoOpQueue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more