pub enum RuntimeBootstrapError {
CreateDir {
path: PathBuf,
message: String,
},
RemovePath {
path: PathBuf,
message: String,
},
RenamePath {
from: PathBuf,
to: PathBuf,
message: String,
},
OpenBundle {
path: PathBuf,
message: String,
},
DownloadBundle {
url: String,
message: String,
},
UnpackBundle {
path: PathBuf,
message: String,
},
MissingBundlePath {
path: &'static str,
},
WriteVersion {
path: PathBuf,
message: String,
},
}Variants§
CreateDir
RemovePath
RenamePath
OpenBundle
DownloadBundle
UnpackBundle
MissingBundlePath
WriteVersion
Trait Implementations§
Source§impl Debug for RuntimeBootstrapError
impl Debug for RuntimeBootstrapError
Source§impl Display for RuntimeBootstrapError
impl Display for RuntimeBootstrapError
Source§impl Error for RuntimeBootstrapError
impl Error for RuntimeBootstrapError
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 RuntimeBootstrapError
impl RefUnwindSafe for RuntimeBootstrapError
impl Send for RuntimeBootstrapError
impl Sync for RuntimeBootstrapError
impl Unpin for RuntimeBootstrapError
impl UnsafeUnpin for RuntimeBootstrapError
impl UnwindSafe for RuntimeBootstrapError
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