pub enum IsoError {
Io(Error),
NoBootEntries(String),
MountFailed(String),
PathTraversal(String),
}Expand description
Errors that can occur during ISO parsing
Variants§
Io(Error)
Underlying I/O failure — path read, file stat, or directory
listing. Wraps std::io::Error transparently.
NoBootEntries(String)
Scan completed but no recognized boot entries were found inside the ISO. The inner string names the ISO path for context.
MountFailed(String)
mount (or the configured IsoEnvironment’s mount_iso) failed
— inner string is the mounter’s stderr or a descriptive message.
PathTraversal(String)
Requested path escaped the expected base directory (contains
.. components or doesn’t live under the mount root). Inner
string is the offending path.
Trait Implementations§
Source§impl Error for IsoError
impl Error for IsoError
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 IsoError
impl !RefUnwindSafe for IsoError
impl Send for IsoError
impl Sync for IsoError
impl Unpin for IsoError
impl UnsafeUnpin for IsoError
impl !UnwindSafe for IsoError
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