Sha256: 4eb0b4cdd0a9b089d1c9f6a25ad1ca97be28a38b7b07a705ec605b773f63f880
Contents?: true
Size: 659 Bytes
Versions: 19
Compression:
Stored size: 659 Bytes
Contents
#[cfg(linux_kernel)] use crate::backend::c; #[cfg(linux_kernel)] use bitflags::bitflags; #[cfg(linux_kernel)] bitflags! { /// `GRND_*` flags for use with [`getrandom`]. /// /// [`getrandom`]: crate::rand::getrandom #[repr(transparent)] #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)] 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; /// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags> const _ = !0; } }
Version data entries
19 entries across 19 versions & 1 rubygems