rsmount 0.2.2

Safe Rust wrapper around the `util-linux/libmount` 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
use std::ffi::NulError;

// From this library

/// `version` module runtime errors.
#[derive(Debug, Error)]
#[non_exhaustive]
pub enum VersionError {
    /// Error while converting a value to [`CString`](std::ffi::CString).
    #[error("error converting to `CString`: {0}")]
    CStringConversion(#[from] NulError),

    /// Error while accessing library features.
    #[error("{0}")]
    FeaturesAccess(String),
}