pub enum CandlError {
CreationError(CreationError),
ContextError(ContextError),
InternalError(&'static str),
}Expand description
The error of Candelabre Windowing
All the possible errors you can meet with this crate are from this type. One type to rule them all, one type to find them.
Variants§
CreationError(CreationError)
OpenGL context creation error
ContextError(ContextError)
OpenGL context usage error
InternalError(&'static str)
Candelabre internal error
Trait Implementations§
Source§impl Debug for CandlError
impl Debug for CandlError
Source§impl Display for CandlError
impl Display for CandlError
Source§impl From<ContextError> for CandlError
impl From<ContextError> for CandlError
Source§fn from(e: ContextError) -> Self
fn from(e: ContextError) -> Self
Converts to this type from the input type.
Source§impl From<CreationError> for CandlError
impl From<CreationError> for CandlError
Source§fn from(e: CreationError) -> Self
fn from(e: CreationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CandlError
impl !RefUnwindSafe for CandlError
impl Send for CandlError
impl Sync for CandlError
impl Unpin for CandlError
impl UnsafeUnpin for CandlError
impl !UnwindSafe for CandlError
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