Enum fungus::FuError [−][src]
Define common error wrapper type
Variants
File(FileError)
GlobPattern(PatternError)
Io(Error)
Iter(IterError)
Nul(NulError)
Os(OsError)
Path(PathError)
Regex(Error)
String(StringError)
User(UserError)
Var(VarError)
WalkDir(Error)
Implementations
impl FuError
[src]
pub fn is<T: StdError + 'static>(&self) -> bool
[src]
Implemented directly on the Error
type to reduce casting required
pub fn downcast_ref<T: StdError + 'static>(&self) -> Option<&T>
[src]
Implemented directly on the Error
type to reduce casting required
pub fn downcast_mut<T: StdError + 'static>(&mut self) -> Option<&mut T>
[src]
Implemented directly on the Error
type to reduce casting required
pub fn source(&self) -> Option<&(dyn StdError + 'static)>
[src]
Implemented directly on the Error
type to reduce casting required
Trait Implementations
impl AsMut<dyn Error + 'static> for FuError
[src]
impl AsRef<dyn Error + 'static> for FuError
[src]
impl Debug for FuError
[src]
impl Display for FuError
[src]
impl From<Error> for FuError
[src]
impl From<Error> for FuError
[src]
impl From<Error> for FuError
[src]
impl From<FileError> for FuError
[src]
impl From<IterError> for FuError
[src]
impl From<NulError> for FuError
[src]
impl From<OsError> for FuError
[src]
impl From<PathError> for FuError
[src]
impl From<PatternError> for FuError
[src]
fn from(err: PatternError) -> FuError
[src]
impl From<StringError> for FuError
[src]
fn from(err: StringError) -> FuError
[src]
impl From<UserError> for FuError
[src]
impl From<VarError> for FuError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FuError
[src]
impl Send for FuError
[src]
impl Sync for FuError
[src]
impl Unpin for FuError
[src]
impl !UnwindSafe for FuError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,