rsblkid 0.4.1

Safe Rust wrapper around the `util-linux/libblkid` C library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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

/// [`Topology`](crate::probe::Topology) runtime errors.
#[derive(Clone, Debug, Error, Hash, Eq, PartialEq, Ord, PartialOrd)]
#[non_exhaustive]
pub enum TopologyError {
    /// Error while creating a new [`Topology`](crate::probe::Topology) instance.
    #[error("{}", .0)]
    Creation(String),
}