pub enum RendererError {
Vulkan(Result),
Io(Error),
Init(String),
BadTexture(TextureId),
Allocator(String),
}
Expand description
Crates error type.
Variants§
Vulkan(Result)
Errors coming from calls to Vulkan functions.
Io(Error)
Io errors.
Init(String)
Initialization errors.
BadTexture(TextureId)
Texture lookup error.
Allocator(String)
Allocator error
Trait Implementations§
source§impl Debug for RendererError
impl Debug for RendererError
source§impl Display for RendererError
impl Display for RendererError
source§impl Error for RendererError
impl Error for RendererError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for RendererError
impl From<Error> for RendererError
Auto Trait Implementations§
impl !RefUnwindSafe for RendererError
impl Send for RendererError
impl Sync for RendererError
impl Unpin for RendererError
impl !UnwindSafe for RendererError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more