pub enum ShroudError {
Show 15 variants
IntoStringError(IntoStringError),
StdNulError(NulError),
OpenHandleError(String),
Window,
Expectation(&'static str),
DirectX9Create(HRESULT),
DirectX9CreateDevice(HRESULT),
DirectX11CreateDeviceAndSwapchain(HRESULT),
DirectX12CreateFactory(HRESULT),
DirectX12EnumAdapters(HRESULT),
DirectX12CreateDevice(HRESULT),
DirectX12CreateCommandQueue(HRESULT),
DirectX12CreateCommandAllocator(HRESULT),
DirectX12CreateCommandList(HRESULT),
DirectX12CreateSwapchain(HRESULT),
}Variants§
IntoStringError(IntoStringError)
StdNulError(NulError)
OpenHandleError(String)
Window
Expectation(&'static str)
DirectX9Create(HRESULT)
DirectX9CreateDevice(HRESULT)
DirectX11CreateDeviceAndSwapchain(HRESULT)
DirectX12CreateFactory(HRESULT)
DirectX12EnumAdapters(HRESULT)
DirectX12CreateDevice(HRESULT)
DirectX12CreateCommandQueue(HRESULT)
DirectX12CreateCommandAllocator(HRESULT)
DirectX12CreateCommandList(HRESULT)
DirectX12CreateSwapchain(HRESULT)
Trait Implementations§
Source§impl Debug for ShroudError
impl Debug for ShroudError
Source§impl Display for ShroudError
impl Display for ShroudError
Source§impl Error for ShroudError
impl Error for ShroudError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<IntoStringError> for ShroudError
impl From<IntoStringError> for ShroudError
Source§fn from(source: IntoStringError) -> Self
fn from(source: IntoStringError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShroudError
impl RefUnwindSafe for ShroudError
impl Send for ShroudError
impl Sync for ShroudError
impl Unpin for ShroudError
impl UnwindSafe for ShroudError
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