disket 0.1.0

Cross-platform abstractions for disks/volumes management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::result;

pub type Result<T> = result::Result<T, Error>;

// TODO: write actual messages
#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[cfg(windows)]
    #[error("")]
    Platform(#[from] windows::core::Error),
    #[cfg(unix)]
    #[error("")]
    Platform(#[from] nix::Error),
}