//! Utility functions that might be useful when working with Objectstore.
/// Attempts to guess the MIME type from the given contents.
pubfnguess_mime_type<T:AsRef<[u8]>>(contents: T)->Option<&'staticstr>{infer::get(contents.as_ref()).map(|kind|kind.mime_type())}