pub enum FileType<P>{
Json(P),
Toml(P),
Yaml(P),
}Expand description
Enum representing the supported file types, based on the enabled features.
Variants§
Json(P)
JSON file type, only available with the json feature.
Toml(P)
TOML file type, only available with the toml feature.
Yaml(P)
YAML file type, only available with the yaml feature.
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for FileType<P>where
P: Freeze,
impl<P> RefUnwindSafe for FileType<P>where
P: RefUnwindSafe,
impl<P> Send for FileType<P>where
P: Send,
impl<P> Sync for FileType<P>where
P: Sync,
impl<P> Unpin for FileType<P>where
P: Unpin,
impl<P> UnwindSafe for FileType<P>where
P: UnwindSafe,
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