pub enum BundledBinaryError {
EmptyVersion,
EmptyPlatform,
BundleRootUnreadable {
bundle_root: PathBuf,
source: Error,
},
BundleRootNotDirectory {
bundle_root: PathBuf,
},
PlatformUnreadable {
platform: String,
platform_dir: PathBuf,
source: Error,
},
PlatformNotDirectory {
platform: String,
platform_dir: PathBuf,
},
VersionUnreadable {
version: String,
version_dir: PathBuf,
source: Error,
},
VersionNotDirectory {
version: String,
version_dir: PathBuf,
},
BinaryUnreadable {
binary: PathBuf,
source: Error,
},
BinaryNotFile {
binary: PathBuf,
},
BinaryNotExecutable {
binary: PathBuf,
},
Canonicalize {
path: PathBuf,
source: Error,
},
}Expand description
Errors that may occur while resolving a bundled Codex binary.
Variants§
EmptyVersion
EmptyPlatform
BundleRootUnreadable
BundleRootNotDirectory
PlatformUnreadable
PlatformNotDirectory
VersionUnreadable
VersionNotDirectory
BinaryUnreadable
BinaryNotFile
BinaryNotExecutable
Canonicalize
Trait Implementations§
Source§impl Debug for BundledBinaryError
impl Debug for BundledBinaryError
Source§impl Display for BundledBinaryError
impl Display for BundledBinaryError
Source§impl Error for BundledBinaryError
impl Error for BundledBinaryError
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 BundledBinaryError
impl !RefUnwindSafe for BundledBinaryError
impl Send for BundledBinaryError
impl Sync for BundledBinaryError
impl Unpin for BundledBinaryError
impl UnsafeUnpin for BundledBinaryError
impl !UnwindSafe for BundledBinaryError
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