1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// pub struct Error; // impl Error { // pub const UNKNOWN: Error = Error; // pub const UNAVAILABLE: Error = Error; // pub const INTERNAL_START: u32 = 0; // pub const CUSTOM_START: u32 = 0; // pub fn raw_os_error(self) -> Option<i32> { // None // } // pub fn code(self) -> u32 { // 0 // } // } // pub fn getrandom(dest: &mut [u8]) -> Result<(), Error> { // Ok(()) // }