Enum vulkano::library::LoadingError
source · [−]pub enum LoadingError {
LibraryLoadFailure(LibloadingError),
OomError(OomError),
}
Expand description
Error that can happen when loading a Vulkan library.
Variants
LibraryLoadFailure(LibloadingError)
Failed to load the Vulkan shared library.
OomError(OomError)
Not enough memory.
Trait Implementations
sourceimpl Debug for LoadingError
impl Debug for LoadingError
sourceimpl Display for LoadingError
impl Display for LoadingError
sourceimpl Error for LoadingError
impl Error for LoadingError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<VulkanError> for LoadingError
impl From<VulkanError> for LoadingError
sourcefn from(err: VulkanError) -> Self
fn from(err: VulkanError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for LoadingError
impl Send for LoadingError
impl Sync for LoadingError
impl Unpin for LoadingError
impl !UnwindSafe for LoadingError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more