Enum config_more_formats::FormatError
source · pub enum FormatError {
NoExtensionFound,
UnsupportedFormat(String),
}Expand description
Error type for format parsing.
This error type is used when parsing by file extension fails.
Variants§
NoExtensionFound
There was no file extension found.
UnsupportedFormat(String)
The file format is not supported.
Trait Implementations§
source§impl Debug for FormatError
impl Debug for FormatError
Auto Trait Implementations§
impl Freeze for FormatError
impl RefUnwindSafe for FormatError
impl Send for FormatError
impl Sync for FormatError
impl Unpin for FormatError
impl UnwindSafe for FormatError
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