pub struct RangeAllocationError<T> {
pub fragmented_free_length: T,
}Expand description
The error returned when an allocation cannot be satisfied.
Contains the total free space that is available but fragmented across non-contiguous ranges.
Fields§
§fragmented_free_length: TThe total length of all free ranges combined. When this is greater than or equal to the requested length, the allocation failed due to fragmentation rather than insufficient space.
Trait Implementations§
Source§impl<T: Clone> Clone for RangeAllocationError<T>
impl<T: Clone> Clone for RangeAllocationError<T>
Source§fn clone(&self) -> RangeAllocationError<T>
fn clone(&self) -> RangeAllocationError<T>
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<T: Debug> Debug for RangeAllocationError<T>
impl<T: Debug> Debug for RangeAllocationError<T>
Source§impl<T: PartialEq> PartialEq for RangeAllocationError<T>
impl<T: PartialEq> PartialEq for RangeAllocationError<T>
impl<T> StructuralPartialEq for RangeAllocationError<T>
Auto Trait Implementations§
impl<T> Freeze for RangeAllocationError<T>where
T: Freeze,
impl<T> RefUnwindSafe for RangeAllocationError<T>where
T: RefUnwindSafe,
impl<T> Send for RangeAllocationError<T>where
T: Send,
impl<T> Sync for RangeAllocationError<T>where
T: Sync,
impl<T> Unpin for RangeAllocationError<T>where
T: Unpin,
impl<T> UnsafeUnpin for RangeAllocationError<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RangeAllocationError<T>where
T: UnwindSafe,
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