pub struct MemoryRateLimitBackend { /* private fields */ }Expand description
Shared in-memory backend used for local development and backend contract tests.
Implementations§
Source§impl MemoryRateLimitBackend
impl MemoryRateLimitBackend
pub fn new() -> MemoryRateLimitBackend
Trait Implementations§
Source§impl Clone for MemoryRateLimitBackend
impl Clone for MemoryRateLimitBackend
Source§fn clone(&self) -> MemoryRateLimitBackend
fn clone(&self) -> MemoryRateLimitBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryRateLimitBackend
impl Debug for MemoryRateLimitBackend
Source§impl Default for MemoryRateLimitBackend
impl Default for MemoryRateLimitBackend
Source§fn default() -> MemoryRateLimitBackend
fn default() -> MemoryRateLimitBackend
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemoryRateLimitBackend
impl RefUnwindSafe for MemoryRateLimitBackend
impl Send for MemoryRateLimitBackend
impl Sync for MemoryRateLimitBackend
impl Unpin for MemoryRateLimitBackend
impl UnsafeUnpin for MemoryRateLimitBackend
impl UnwindSafe for MemoryRateLimitBackend
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