Sha256: 85f72babe82857d4e47067ddc11525ab290208050fb8f5e5190975c0fdda9b7c
Contents?: true
Size: 583 Bytes
Versions: 3
Compression:
Stored size: 583 Bytes
Contents
#[cfg(any(target_os = "android", target_os = "linux"))] use super::super::c; #[cfg(any(target_os = "android", target_os = "linux"))] use bitflags::bitflags; #[cfg(any(target_os = "android", target_os = "linux"))] bitflags! { /// `GRND_*` flags for use with [`getrandom`]. /// /// [`getrandom`]: crate::rand::getrandom pub struct GetRandomFlags: u32 { /// `GRND_RANDOM` const RANDOM = c::GRND_RANDOM; /// `GRND_NONBLOCK` const NONBLOCK = c::GRND_NONBLOCK; /// `GRND_INSECURE` const INSECURE = c::GRND_INSECURE; } }
Version data entries
3 entries across 3 versions & 1 rubygems