mirror of
https://github.com/NixOS/nix
synced 2025-06-25 23:11:16 +02:00
Rust cleanup
This commit is contained in:
parent
343ebcc048
commit
8110b4ebb2
6 changed files with 74 additions and 63 deletions
5
nix-rust/src/error.rs
Normal file
5
nix-rust/src/error.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
Misc(String),
|
||||
Foreign(libc::c_void), // == std::exception_ptr
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue