pub enum GhosttyError {
Unavailable,
HostInit,
Tick,
SurfaceInit,
InvalidString(&'static str),
LibraryLoad {
path: PathBuf,
message: String,
},
LibraryPathUnavailable,
}Variants§
Trait Implementations§
Source§impl Debug for GhosttyError
impl Debug for GhosttyError
Source§impl Display for GhosttyError
impl Display for GhosttyError
Source§impl Error for GhosttyError
impl Error for GhosttyError
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 GhosttyError
impl RefUnwindSafe for GhosttyError
impl Send for GhosttyError
impl Sync for GhosttyError
impl Unpin for GhosttyError
impl UnsafeUnpin for GhosttyError
impl UnwindSafe for GhosttyError
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