pub struct RangeAllocationError<T> {
pub fragmented_free_length: T,
}Expand description
Error type returned when a range allocation fails.
This error indicates that there is not enough contiguous space available to satisfy the allocation request, although there may be enough total free space if it were defragmented.
Fields§
§fragmented_free_length: TThe total length of all free ranges combined.
This value represents how much space would be available if all fragmented free ranges could be combined into one contiguous range.
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