pub struct MemoryFailure {
pub boundary: Cow<'static, str>,
pub operation: Cow<'static, str>,
pub usage: Option<MemoryUsage>,
}Expand description
The budget scope a failing operation ran in.
A snapshot shows the scope the error passed through; it does not prove a query-limit rejection. The error code carries the allocation attribution.
Fields§
§boundary: Cow<'static, str>Stage boundary label of the budget request.
operation: Cow<'static, str>Operation that ran under the budget scope.
usage: Option<MemoryUsage>Allocator counters of the scope’s member, when sampling succeeded.
Trait Implementations§
Source§impl Clone for MemoryFailure
impl Clone for MemoryFailure
Source§impl Debug for MemoryFailure
impl Debug for MemoryFailure
impl Eq for MemoryFailure
Source§impl PartialEq for MemoryFailure
impl PartialEq for MemoryFailure
impl StructuralPartialEq for MemoryFailure
Auto Trait Implementations§
impl Freeze for MemoryFailure
impl RefUnwindSafe for MemoryFailure
impl Send for MemoryFailure
impl Sync for MemoryFailure
impl Unpin for MemoryFailure
impl UnsafeUnpin for MemoryFailure
impl UnwindSafe for MemoryFailure
Blanket Implementations§
impl<T> Allocation for T
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