pub struct ShmRateLimitConfig {
pub max_bytes_per_sec: u64,
pub burst_bytes: u64,
}Fields§
§max_bytes_per_sec: u64§burst_bytes: u64Implementations§
Trait Implementations§
Source§impl Clone for ShmRateLimitConfig
impl Clone for ShmRateLimitConfig
Source§fn clone(&self) -> ShmRateLimitConfig
fn clone(&self) -> ShmRateLimitConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ShmRateLimitConfig
impl Debug for ShmRateLimitConfig
Source§impl PartialEq for ShmRateLimitConfig
impl PartialEq for ShmRateLimitConfig
impl Eq for ShmRateLimitConfig
impl StructuralPartialEq for ShmRateLimitConfig
Auto Trait Implementations§
impl Freeze for ShmRateLimitConfig
impl RefUnwindSafe for ShmRateLimitConfig
impl Send for ShmRateLimitConfig
impl Sync for ShmRateLimitConfig
impl Unpin for ShmRateLimitConfig
impl UnsafeUnpin for ShmRateLimitConfig
impl UnwindSafe for ShmRateLimitConfig
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