pub struct MemoryUsageLimitExceeded { /* private fields */ }
Expand description
A connection limit has been exceeded.
Implementations§
source§impl MemoryUsageLimitExceeded
impl MemoryUsageLimitExceeded
pub fn process_physical_memory_bytes(&self) -> usize
pub fn max_allowed_bytes(&self) -> usize
Trait Implementations§
source§impl Clone for MemoryUsageLimitExceeded
impl Clone for MemoryUsageLimitExceeded
source§fn clone(&self) -> MemoryUsageLimitExceeded
fn clone(&self) -> MemoryUsageLimitExceeded
Returns a copy 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 MemoryUsageLimitExceeded
impl Debug for MemoryUsageLimitExceeded
source§impl Display for MemoryUsageLimitExceeded
impl Display for MemoryUsageLimitExceeded
source§impl Error for MemoryUsageLimitExceeded
impl Error for MemoryUsageLimitExceeded
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for MemoryUsageLimitExceeded
Auto Trait Implementations§
impl RefUnwindSafe for MemoryUsageLimitExceeded
impl Send for MemoryUsageLimitExceeded
impl Sync for MemoryUsageLimitExceeded
impl Unpin for MemoryUsageLimitExceeded
impl UnwindSafe for MemoryUsageLimitExceeded
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