Enum rustix_uring::types::IoringMsgringCmds
source · #[non_exhaustive]
pub enum IoringMsgringCmds {
Data,
SendFd,
}
Expand description
IORING_MSG_*
constants which represent commands for use with
IoringOp::MsgRing
, (seq.addr
)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for IoringMsgringCmds
impl Clone for IoringMsgringCmds
source§fn clone(&self) -> IoringMsgringCmds
fn clone(&self) -> IoringMsgringCmds
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 IoringMsgringCmds
impl Debug for IoringMsgringCmds
source§impl Hash for IoringMsgringCmds
impl Hash for IoringMsgringCmds
source§impl PartialEq<IoringMsgringCmds> for IoringMsgringCmds
impl PartialEq<IoringMsgringCmds> for IoringMsgringCmds
source§fn eq(&self, other: &IoringMsgringCmds) -> bool
fn eq(&self, other: &IoringMsgringCmds) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.