Enum asche::AscheError[][src]

pub enum AscheError {
    IoError(Error),
    NulError(NulError),
    Utf8Error(Utf8Error),
    EntryLoaderError(EntryLoaderError),
    LoaderError(LoaderError),
    VkAllocError(AllocatorError),
    VkResult(Result),
    DebugUtilsMissing,
    RequestDeviceError,
    QueueFamilyNotFound(String),
    SwapchainFormatIncompatible,
    DeviceFeatureMissing,
    PresentationModeUnsupported,
    SwapchainNotInitialized,
    BufferZeroSize,
    NoQueueConfigured,
}

Errors that asche can throw.

Variants

IoError(Error)

A std::io::Error.

NulError(NulError)

A std::ffi::NulError.

Utf8Error(Utf8Error)

A std::str::Utf8Error.

EntryLoaderError(EntryLoaderError)

A erupt::utils::loading::EntryLoaderError.

LoaderError(LoaderError)

A erupt::LoaderError.

VkAllocError(AllocatorError)

A vk_alloc::AllocatorError.

VkResult(Result)

A VKResult error.

DebugUtilsMissing

Can’t load the debug utils extension.

RequestDeviceError

The requested device type couldn’t be found.

QueueFamilyNotFound(String)

Can’t find a queue family.

SwapchainFormatIncompatible

The selected format / color space for the swapchain is not supported by the device.

DeviceFeatureMissing

The requested device feature couldn’t be found.

PresentationModeUnsupported

The selected presentation mode is unsupported.

SwapchainNotInitialized

Swapchain is not initialized.

BufferZeroSize

The requested buffer has a size of zero.

NoQueueConfigured

No queue was configured.

Trait Implementations

impl Debug for AscheError[src]

impl Display for AscheError[src]

impl Error for AscheError[src]

impl From<AllocatorError> for AscheError[src]

impl From<EntryLoaderError> for AscheError[src]

impl From<Error> for AscheError[src]

impl From<LoaderError> for AscheError[src]

impl From<NulError> for AscheError[src]

impl From<Result> for AscheError[src]

impl From<Utf8Error> for AscheError[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> Instrument for T[src]

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

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.