Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/getrandom/src/error_impls.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / getrandom / src / error_impls.rs` 15 lines ยท 335 bytes Raw Blame History 1 extern crate std; 2 3 use crate::Error; 4 use std::io; 5 6 impl From for io::Error { 7 fn from(err: Error) -> Self { 8 match err.raw_os_error() { 9 Some(errno) => io::Error::from_raw_os_error(errno), 10 None => io::Error::new(io::ErrorKind::Other, err), 11 } 12 } 13 } 14 15 impl std::error::Error for Error {}