Sha256: b966e0a3a018ca2ce507371be900fc73b2814cca450b784583207ad2df473f13
Contents?: true
Size: 1.02 KB
Versions: 19
Compression:
Stored size: 1.02 KB
Contents
#[cfg(any(linux_kernel, target_os = "freebsd", target_os = "illumos"))] use crate::backend::c; #[cfg(any( linux_kernel, target_os = "freebsd", target_os = "illumos", target_os = "espidf" ))] use bitflags::bitflags; #[cfg(any( linux_kernel, target_os = "freebsd", target_os = "illumos", target_os = "espidf" ))] bitflags! { /// `EFD_*` flags for use with [`eventfd`]. /// /// [`eventfd`]: crate::event::eventfd #[repr(transparent)] #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)] pub struct EventfdFlags: u32 { /// `EFD_CLOEXEC` #[cfg(not(target_os = "espidf"))] const CLOEXEC = bitcast!(c::EFD_CLOEXEC); /// `EFD_NONBLOCK` #[cfg(not(target_os = "espidf"))] const NONBLOCK = bitcast!(c::EFD_NONBLOCK); /// `EFD_SEMAPHORE` #[cfg(not(target_os = "espidf"))] const SEMAPHORE = bitcast!(c::EFD_SEMAPHORE); /// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags> const _ = !0; } }
Version data entries
19 entries across 19 versions & 1 rubygems