Struct remi_fs::DefaultContentTypeResolver
source · pub struct DefaultContentTypeResolver;👎Deprecated since 0.5.0: please use the new
default_resolver fn to implement ContentTypeResolverExpand description
A default implementation of a ContentTypeResolver that uses
the infer and file-format crates if the file-format
crate feature is enabled.
This doesn’t include checking for JSON or YAML formats (if the respected crate features are enabled),
please use the new default_resolver function to do so.
Trait Implementations§
source§impl Clone for DefaultContentTypeResolver
impl Clone for DefaultContentTypeResolver
source§fn clone(&self) -> DefaultContentTypeResolver
fn clone(&self) -> DefaultContentTypeResolver
Returns a copy 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 DefaultContentTypeResolver
impl Debug for DefaultContentTypeResolver
impl Copy for DefaultContentTypeResolver
Auto Trait Implementations§
impl RefUnwindSafe for DefaultContentTypeResolver
impl Send for DefaultContentTypeResolver
impl Sync for DefaultContentTypeResolver
impl Unpin for DefaultContentTypeResolver
impl UnwindSafe for DefaultContentTypeResolver
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