qubit-mime 0.7.1

MIME type detection utilities for Rust based on filename glob rules and content magic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// =============================================================================
//    Copyright (c) 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Result type used by MIME database parsing and detection.

use crate::MimeError;

/// A convenient alias for results returned by MIME-related functions.
pub type MimeResult<T> = Result<T, MimeError>;