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§
Source§impl Debug for FileManifestError
impl Debug for FileManifestError
Source§impl Display for FileManifestError
impl Display for FileManifestError
Source§impl Error for FileManifestError
impl Error for FileManifestError
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()
Source§impl From<Error> for FileManifestError
impl From<Error> for FileManifestError
Source§impl From<StripPrefixError> for FileManifestError
impl From<StripPrefixError> for FileManifestError
Source§fn from(err: StripPrefixError) -> Self
fn from(err: StripPrefixError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileManifestError
impl !RefUnwindSafe for FileManifestError
impl Send for FileManifestError
impl Sync for FileManifestError
impl Unpin for FileManifestError
impl !UnwindSafe for FileManifestError
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