pub struct LegacyRateLimitStorageAdapter { /* private fields */ }Implementations§
Source§impl LegacyRateLimitStorageAdapter
impl LegacyRateLimitStorageAdapter
pub fn new(storage: Arc<dyn RateLimitStorage>) -> Self
Trait Implementations§
Source§impl RateLimitStore for LegacyRateLimitStorageAdapter
impl RateLimitStore for LegacyRateLimitStorageAdapter
fn consume<'a>(&'a self, input: RateLimitConsumeInput) -> RateLimitFuture<'a>
Auto Trait Implementations§
impl !RefUnwindSafe for LegacyRateLimitStorageAdapter
impl !UnwindSafe for LegacyRateLimitStorageAdapter
impl Freeze for LegacyRateLimitStorageAdapter
impl Send for LegacyRateLimitStorageAdapter
impl Sync for LegacyRateLimitStorageAdapter
impl Unpin for LegacyRateLimitStorageAdapter
impl UnsafeUnpin for LegacyRateLimitStorageAdapter
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