Enum vulkano::OomError [] [src]

pub enum OomError {
    OutOfHostMemory,
    OutOfDeviceMemory,
}

Error type returned by most Vulkan functions.

Variants

OutOfHostMemory

There is no memory available on the host (ie. the CPU, RAM, etc.).

OutOfDeviceMemory

There is no memory available on the device (ie. video memory).

Trait Implementations

impl Eq for OomError
[src]

impl PartialEq for OomError
[src]

fn eq(&self, __arg_0: &OomError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for OomError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for OomError
[src]

fn clone(&self) -> OomError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for OomError
[src]

impl Error for OomError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more

impl Display for OomError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl From<Error> for OomError
[src]

fn from(err: Error) -> OomError

Performs the conversion.