Enum vulkano::memory::allocator::suballocator::SuballocatorError
source · pub enum SuballocatorError {
OutOfRegionMemory,
FragmentedRegion,
}
Expand description
Error that can be returned when creating an allocation using a suballocator.
Variants§
OutOfRegionMemory
There is no more space available in the region.
FragmentedRegion
The region has enough free space to satisfy the request but is too fragmented.
Trait Implementations§
source§impl Clone for SuballocatorError
impl Clone for SuballocatorError
source§fn clone(&self) -> SuballocatorError
fn clone(&self) -> SuballocatorError
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 SuballocatorError
impl Debug for SuballocatorError
source§impl Display for SuballocatorError
impl Display for SuballocatorError
source§impl Error for SuballocatorError
impl Error for SuballocatorError
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()
source§impl PartialEq for SuballocatorError
impl PartialEq for SuballocatorError
source§fn eq(&self, other: &SuballocatorError) -> bool
fn eq(&self, other: &SuballocatorError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SuballocatorError
impl StructuralEq for SuballocatorError
impl StructuralPartialEq for SuballocatorError
Auto Trait Implementations§
impl RefUnwindSafe for SuballocatorError
impl Send for SuballocatorError
impl Sync for SuballocatorError
impl Unpin for SuballocatorError
impl UnwindSafe for SuballocatorError
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