pub enum SysError {
Show 14 variants
LoadLibrary {
path: PathBuf,
source: Error,
},
MissingSymbol {
name: String,
source: Error,
},
MissingEnvPath(PathBuf),
LibraryNotFound(Vec<PathBuf>),
LibraryNotFoundAfterAutoFetch {
searched: Vec<PathBuf>,
auto_fetch_error: String,
},
AutoFetchUnsupportedTarget(String),
AutoFetchCacheDirUnavailable,
AutoFetchCommandSpawn {
command: String,
source: Error,
},
AutoFetchCommandFailed {
command: String,
status: Option<i32>,
stderr: String,
},
AutoFetchJson(Error),
AutoFetchIo(Error),
AutoFetchWheel(ZipError),
AutoFetchWheelAssetNotFound {
version: String,
platform_tag: String,
},
AutoFetchNoStandaloneRuntime {
cache_dir: PathBuf,
},
}Variants§
LoadLibrary
MissingSymbol
MissingEnvPath(PathBuf)
LibraryNotFound(Vec<PathBuf>)
LibraryNotFoundAfterAutoFetch
AutoFetchUnsupportedTarget(String)
AutoFetchCommandSpawn
AutoFetchCommandFailed
AutoFetchJson(Error)
AutoFetchIo(Error)
AutoFetchWheel(ZipError)
AutoFetchWheelAssetNotFound
AutoFetchNoStandaloneRuntime
Trait Implementations§
Source§impl Error for SysError
impl Error for SysError
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 SysError
impl !RefUnwindSafe for SysError
impl Send for SysError
impl Sync for SysError
impl Unpin for SysError
impl UnsafeUnpin for SysError
impl !UnwindSafe for SysError
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