Enum asche::AscheError[][src]

pub enum AscheError {
Show variants IoError(Error), NulError(NulError), Utf8Error(Utf8Error), TryFromIntError(TryFromIntError), EntryLoaderError(EntryLoaderError), LoaderError(LoaderError), VkAllocError(AllocatorError), VkResult(Result), DebugUtilsMissing, RequestDeviceError, QueueFamilyNotFound(String), SwapchainFormatIncompatible, DeviceFeatureMissing, PresentationModeUnsupported, SwapchainNotInitialized, BufferZeroSize, NoQueueConfigured, QueueCountTooHigh(usize), MissingWaitSemaphore, MissingSignalSemaphore,
}
Expand description

Errors that asche can throw.

Variants

IoError(Error)

A std::io::Error.

NulError(NulError)

A std::ffi::NulError.

Utf8Error(Utf8Error)

A std::str::Utf8Error.

TryFromIntError(TryFromIntError)

A TryFromIntError.

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.

QueueCountTooHigh(usize)

Queue count too high.

MissingWaitSemaphore

Missing wait semaphore,

MissingSignalSemaphore

Missing signal semaphore,

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.