pub enum FileManifestError {
IllegalRelativePath(String),
IllegalAbsolutePath(String),
NoParentDirectory,
IoError(Error),
StripPrefix(StripPrefixError),
LinkNotAllowed,
}
Variants
IllegalRelativePath(String)
IllegalAbsolutePath(String)
NoParentDirectory
IoError(Error)
StripPrefix(StripPrefixError)
LinkNotAllowed
Trait Implementations
sourceimpl Debug for FileManifestError
impl Debug for FileManifestError
sourceimpl Display for FileManifestError
impl Display for FileManifestError
sourceimpl Error for FileManifestError
impl Error for FileManifestError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for FileManifestError
impl From<Error> for FileManifestError
sourceimpl From<StripPrefixError> for FileManifestError
impl From<StripPrefixError> for FileManifestError
sourcefn from(err: StripPrefixError) -> Self
fn from(err: StripPrefixError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for FileManifestError
impl Send for FileManifestError
impl Sync for FileManifestError
impl Unpin for FileManifestError
impl !UnwindSafe for FileManifestError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more