pub enum FileProjectionError {
PathNotFound(PathBuf),
ExclPathNotFound(PathBuf),
Enumeration(String),
SrcPathExcluded {
src_path: PathBuf,
excl_path: PathBuf,
},
}Expand description
Errors encountered during the file enumeration process.
Variants§
PathNotFound(PathBuf)
A src_path or excl_path could not be read from the filesystem.
ExclPathNotFound(PathBuf)
Enumeration(String)
Any Io error that occurred during file enumeration.
SrcPathExcluded
a src_path is excluded by an excl_path.
Trait Implementations§
Source§impl Clone for FileProjectionError
impl Clone for FileProjectionError
Source§fn clone(&self) -> FileProjectionError
fn clone(&self) -> FileProjectionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileProjectionError
impl Debug for FileProjectionError
Source§impl<'de> Deserialize<'de> for FileProjectionError
impl<'de> Deserialize<'de> for FileProjectionError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FileProjectionError
impl Display for FileProjectionError
Source§impl Error for FileProjectionError
impl Error for FileProjectionError
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 FileProjectionError
impl From<&Error> for FileProjectionError
Source§impl From<Error> for FileProjectionError
impl From<Error> for FileProjectionError
Source§impl Hash for FileProjectionError
impl Hash for FileProjectionError
Source§impl PartialEq for FileProjectionError
impl PartialEq for FileProjectionError
Source§impl Serialize for FileProjectionError
impl Serialize for FileProjectionError
impl Eq for FileProjectionError
impl StructuralPartialEq for FileProjectionError
Auto Trait Implementations§
impl Freeze for FileProjectionError
impl RefUnwindSafe for FileProjectionError
impl Send for FileProjectionError
impl Sync for FileProjectionError
impl Unpin for FileProjectionError
impl UnwindSafe for FileProjectionError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more