Enum vulkano_win::CreationError
source · pub enum CreationError {
Surface(Validated<VulkanError>),
Window(OsError),
}
👎Deprecated since 0.34.0: vulkano-win is deprecated, use
Surface::required_extensions
and Surface::from_window
insteadExpand description
Error that can happen when creating a window.
Variants§
Surface(Validated<VulkanError>)
👎Deprecated since 0.34.0: vulkano-win is deprecated, use
Surface::required_extensions
and Surface::from_window
insteadError when creating the surface.
Window(OsError)
👎Deprecated since 0.34.0: vulkano-win is deprecated, use
Surface::required_extensions
and Surface::from_window
insteadError when creating the window.
Trait Implementations§
source§impl Debug for CreationError
impl Debug for CreationError
source§impl Display for CreationError
impl Display for CreationError
source§impl Error for CreationError
impl Error for CreationError
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<OsError> for CreationError
impl From<OsError> for CreationError
source§fn from(err: WindowCreationError) -> CreationError
fn from(err: WindowCreationError) -> CreationError
Converts to this type from the input type.
source§impl From<Validated<VulkanError>> for CreationError
impl From<Validated<VulkanError>> for CreationError
source§fn from(err: Validated<VulkanError>) -> CreationError
fn from(err: Validated<VulkanError>) -> CreationError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CreationError
impl Send for CreationError
impl Sync for CreationError
impl Unpin for CreationError
impl UnwindSafe for CreationError
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