Struct recvmsg::msgbuf::QuotaExceeded
source · pub struct QuotaExceeded {
pub quota: usize,
pub attempted_alloc: NonZeroUsize,
}
Expand description
Error indicating that a buffer’s memory allocation quota was exceeded during an operation that had to perform a memory allocation.
Fields§
§quota: usize
The quota the buffer had at the time of the error.
attempted_alloc: NonZeroUsize
The size which the buffer was to attain.
Trait Implementations§
source§impl Clone for QuotaExceeded
impl Clone for QuotaExceeded
source§fn clone(&self) -> QuotaExceeded
fn clone(&self) -> QuotaExceeded
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 QuotaExceeded
impl Debug for QuotaExceeded
source§impl Display for QuotaExceeded
impl Display for QuotaExceeded
source§impl Error for QuotaExceeded
impl Error for QuotaExceeded
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 QuotaExceeded
Auto Trait Implementations§
impl RefUnwindSafe for QuotaExceeded
impl Send for QuotaExceeded
impl Sync for QuotaExceeded
impl Unpin for QuotaExceeded
impl UnwindSafe for QuotaExceeded
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