pub struct Guess { /* private fields */ }
Expand description
The result of the guess
method of GuessBuilder
.
Implementations§
source§impl Guess
impl Guess
sourcepub fn uncertain(&self) -> bool
pub fn uncertain(&self) -> bool
Whether the guessed MIME type is uncertain.
If the MIME type was guessed only from its file name there can be
multiple matches, but the mime_type
method will return just the
first match.
If you only have a file name, and you want to gather all potential
matches, you should use the get_mime_types_from_file_name
method
instead of performing a guess.
Auto Trait Implementations§
impl Freeze for Guess
impl RefUnwindSafe for Guess
impl Send for Guess
impl Sync for Guess
impl Unpin for Guess
impl UnwindSafe for Guess
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