librarium 0.6.0

Library for the reading, creating, and modification of cpio file systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

/// Errors returned by this library.
#[derive(Error, Debug)]
pub enum CpioError {
    /// An I/O error occurred.
    #[error("std io error: {0}")]
    StdIo(#[from] no_std_io2::io::Error),

    /// A parsing or serialization error from deku.
    #[error("deku error: {0:?}")]
    Deku(#[from] deku::DekuError),
}