pub enum AddHeadersRecursivelyError {
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 adding the header to 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 Debug for AddHeadersRecursivelyError
impl Debug for AddHeadersRecursivelyError
Source§impl Display for AddHeadersRecursivelyError
impl Display for AddHeadersRecursivelyError
Source§impl Error for AddHeadersRecursivelyError
impl Error for AddHeadersRecursivelyError
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<AddHeaderError> for AddHeadersRecursivelyError
impl From<AddHeaderError> for AddHeadersRecursivelyError
Source§fn from(value: AddHeaderError) -> Self
fn from(value: AddHeaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddHeadersRecursivelyError
impl !RefUnwindSafe for AddHeadersRecursivelyError
impl Send for AddHeadersRecursivelyError
impl Sync for AddHeadersRecursivelyError
impl Unpin for AddHeadersRecursivelyError
impl !UnwindSafe for AddHeadersRecursivelyError
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