rsblkid 0.4.1

Safe Rust wrapper around the `util-linux/libblkid` C library
Documentation
// Copyright (c) 2023 Nick Piaddo
// SPDX-License-Identifier: Apache-2.0 OR MIT

// From dependency library
use thiserror::Error;

// From standard library

// From this library
use crate::cache::CacheError;

/// [`CacheBuilder`](crate::cache::CacheBuilder) runtime errors.
#[derive(Clone, Debug, Error, Hash, Eq, PartialEq, Ord, PartialOrd)]
#[non_exhaustive]
pub enum CacheBuilderError {
    #[error(transparent)]
    Cache(#[from] CacheError),

    #[error("{}", .0)]
    MutuallyExclusive(String),
}