Enum vk_alloc::AllocatorError [−][src]
pub enum AllocatorError { TryFromIntError(TryFromIntError), OutOfMemory, FailedToMap, NotSlotsAvailable, NoCompatibleMemoryTypeFound, InvalidAlignment, CantFindChunk, CantFindBlock, Internal(String), }
Errors that the allocators can throw.
Variants
TryFromIntError(TryFromIntError)
A TryFromIntError
.
General out of memory error.
Failed to map the memory.
No free slots ara available.
No compatible memory type was found.
Alignment is not a power of 2.
Can’t find referenced chunk in chunk list.
Can’t find referenced block in block list.
Internal(String)
An allocator implementation error.
Trait Implementations
impl Debug for AllocatorError
[src]
impl Display for AllocatorError
[src]
impl Eq for AllocatorError
[src]
impl Error for AllocatorError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<TryFromIntError> for AllocatorError
[src]
fn from(err: TryFromIntError) -> AllocatorError
[src]
impl PartialEq<AllocatorError> for AllocatorError
[src]
fn eq(&self, other: &AllocatorError) -> bool
[src]
fn ne(&self, other: &AllocatorError) -> bool
[src]
impl StructuralEq for AllocatorError
[src]
impl StructuralPartialEq for AllocatorError
[src]
Auto Trait Implementations
impl RefUnwindSafe for AllocatorError
impl Send for AllocatorError
impl Sync for AllocatorError
impl Unpin for AllocatorError
impl UnwindSafe for AllocatorError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,