[][src]Enum cart_tmp_gmem::HeapsError

pub enum HeapsError {
    AllocationError(AllocationError),
    NoSuitableMemory {
        mask: u64,
        properties: Properties,
    },
}

Possible errors returned by Heaps.

Variants

AllocationError(AllocationError)

Memory allocation failure.

NoSuitableMemory

No memory types among required for resource were found.

Fields of NoSuitableMemory

mask: u64

Mask of the allowed memory types.

properties: Properties

Requested properties.

Trait Implementations

impl Clone for HeapsError[src]

impl Debug for HeapsError[src]

impl Display for HeapsError[src]

impl Error for HeapsError[src]

impl From<AllocationError> for HeapsError[src]

impl From<OutOfMemory> for HeapsError[src]

impl PartialEq<HeapsError> for HeapsError[src]

impl StructuralPartialEq for HeapsError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.