#[repr(i32)]pub enum SigInfoCodePoll {
POLL_IN = 1,
POLL_OUT = 2,
POLL_MSG = 3,
POLL_ERR = 4,
POLL_PRI = 5,
POLL_HUP = 6,
}
Expand description
Codes for SIGIO/SIGPOLL
Variants§
Trait Implementations§
source§impl Clone for SigInfoCodePoll
impl Clone for SigInfoCodePoll
source§fn clone(&self) -> SigInfoCodePoll
fn clone(&self) -> SigInfoCodePoll
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SigInfoCodePoll
impl Debug for SigInfoCodePoll
source§impl From<SigInfoCodePoll> for i32
impl From<SigInfoCodePoll> for i32
source§fn from(enum_value: SigInfoCodePoll) -> Self
fn from(enum_value: SigInfoCodePoll) -> Self
Converts to this type from the input type.
source§impl PartialEq for SigInfoCodePoll
impl PartialEq for SigInfoCodePoll
source§impl TryFrom<i32> for SigInfoCodePoll
impl TryFrom<i32> for SigInfoCodePoll
source§type Error = TryFromPrimitiveError<SigInfoCodePoll>
type Error = TryFromPrimitiveError<SigInfoCodePoll>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SigInfoCodePoll
impl TryFromPrimitive for SigInfoCodePoll
const NAME: &'static str = "SigInfoCodePoll"
type Primitive = i32
type Error = TryFromPrimitiveError<SigInfoCodePoll>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SigInfoCodePoll
impl Eq for SigInfoCodePoll
impl StructuralPartialEq for SigInfoCodePoll
Auto Trait Implementations§
impl Freeze for SigInfoCodePoll
impl RefUnwindSafe for SigInfoCodePoll
impl Send for SigInfoCodePoll
impl Sync for SigInfoCodePoll
impl Unpin for SigInfoCodePoll
impl UnwindSafe for SigInfoCodePoll
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)