pub enum RecipeEntryError {
IoError(Error),
InvalidPath(Utf8PathBuf),
ParseError(String),
MetadataError(String),
}Expand description
Errors that can occur when working with recipe entries.
Variants§
Trait Implementations§
Source§impl Debug for RecipeEntryError
impl Debug for RecipeEntryError
Source§impl Display for RecipeEntryError
impl Display for RecipeEntryError
Source§impl Error for RecipeEntryError
impl Error for RecipeEntryError
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 RecipeEntryError
impl From<Error> for RecipeEntryError
Source§impl From<RecipeEntryError> for FetchError
impl From<RecipeEntryError> for FetchError
Source§fn from(source: RecipeEntryError) -> Self
fn from(source: RecipeEntryError) -> Self
Converts to this type from the input type.
Source§impl From<RecipeEntryError> for CooklangError
impl From<RecipeEntryError> for CooklangError
Source§fn from(e: RecipeEntryError) -> Self
fn from(e: RecipeEntryError) -> Self
Converts to this type from the input type.
Source§impl From<RecipeEntryError> for SearchError
impl From<RecipeEntryError> for SearchError
Source§fn from(source: RecipeEntryError) -> Self
fn from(source: RecipeEntryError) -> Self
Converts to this type from the input type.
Source§impl From<RecipeEntryError> for TreeError
impl From<RecipeEntryError> for TreeError
Source§fn from(source: RecipeEntryError) -> Self
fn from(source: RecipeEntryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RecipeEntryError
impl !UnwindSafe for RecipeEntryError
impl Freeze for RecipeEntryError
impl Send for RecipeEntryError
impl Sync for RecipeEntryError
impl Unpin for RecipeEntryError
impl UnsafeUnpin for RecipeEntryError
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