pub enum DesktopError {
ChannelSend,
WindowClosed,
}Expand description
Errors that can occur when using the Desktop driver.
Variants§
ChannelSend
Sending to the render thread failed because it has already hung up.
WindowClosed
Window has been closed.
Trait Implementations§
Source§impl Debug for DesktopError
impl Debug for DesktopError
Source§impl Display for DesktopError
impl Display for DesktopError
Source§impl Error for DesktopError
impl Error for DesktopError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for DesktopError
impl RefUnwindSafe for DesktopError
impl Send for DesktopError
impl Sync for DesktopError
impl Unpin for DesktopError
impl UnwindSafe for DesktopError
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
Source§impl<T> FromColor<T> for T
impl<T> FromColor<T> for T
Source§fn from_color(color: T) -> T
fn from_color(color: T) -> T
Converts from the source color type
Source§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Converts into the target color type