#[non_exhaustive]pub enum BackendErrorKind {
DllNotFound,
MissingExport,
OpenConsoleMissing,
VersionMismatch,
Unsupported,
}Expand description
The failure class reported by a BackendError.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DllNotFound
A requested conpty.dll could not be found or loaded.
MissingExport
A loaded DLL did not export a required function.
OpenConsoleMissing
A bundled DLL had no accompanying OpenConsole.exe.
VersionMismatch
The DLL and console host were not a validated matching pair.
Unsupported
The system does not provide the required ConPTY API.
Trait Implementations§
Source§impl Clone for BackendErrorKind
impl Clone for BackendErrorKind
Source§fn clone(&self) -> BackendErrorKind
fn clone(&self) -> BackendErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BackendErrorKind
Source§impl Debug for BackendErrorKind
impl Debug for BackendErrorKind
impl Eq for BackendErrorKind
Source§impl Hash for BackendErrorKind
impl Hash for BackendErrorKind
Source§impl PartialEq for BackendErrorKind
impl PartialEq for BackendErrorKind
impl StructuralPartialEq for BackendErrorKind
Auto Trait Implementations§
impl Freeze for BackendErrorKind
impl RefUnwindSafe for BackendErrorKind
impl Send for BackendErrorKind
impl Sync for BackendErrorKind
impl Unpin for BackendErrorKind
impl UnsafeUnpin for BackendErrorKind
impl UnwindSafe for BackendErrorKind
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