pub enum DeleteHeadersRecursivelyError {
IoError(PathBuf, Error),
WalkdirError(Error),
UnrecognizedExtension(PathBuf),
}
Expand description
Errors that can occur when adding a header recursively
Variants§
IoError(PathBuf, Error)
An I/O error occurred while removing the header from the path
WalkdirError(Error)
walkdir
could not navigate the directory structure
UnrecognizedExtension(PathBuf)
A file with an unrecognized extension was encountered at the path
Trait Implementations§
Source§impl Error for DeleteHeadersRecursivelyError
impl Error for DeleteHeadersRecursivelyError
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<DeleteHeaderError> for DeleteHeadersRecursivelyError
impl From<DeleteHeaderError> for DeleteHeadersRecursivelyError
Source§fn from(value: DeleteHeaderError) -> Self
fn from(value: DeleteHeaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeleteHeadersRecursivelyError
impl !RefUnwindSafe for DeleteHeadersRecursivelyError
impl Send for DeleteHeadersRecursivelyError
impl Sync for DeleteHeadersRecursivelyError
impl Unpin for DeleteHeadersRecursivelyError
impl !UnwindSafe for DeleteHeadersRecursivelyError
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