hakoniwa 1.3.2

Process isolation for Linux using namespaces, resource limits, cgroups, landlock and seccomp.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub(crate) type Result<T> = std::result::Result<T, Error>;

/// Error type.
#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error(transparent)]
    AnyManagerError(#[from] libcgroups::common::AnyManagerError),
    #[error(transparent)]
    CreateCgroupSetupError(#[from] libcgroups::common::CreateCgroupSetupError),
    #[error(transparent)]
    OciSpecError(#[from] oci_spec::OciSpecError),
}