Struct io_uring::opcode::MsgRingData
source · pub struct MsgRingData { /* private fields */ }Expand description
Send a message (with data) to a target ring.
Implementations§
source§impl MsgRingData
impl MsgRingData
pub fn new( ring_fd: impl UseFd, result: i32, user_data: u64, user_flags: Option<u32> ) -> Self
sourcepub const CODE: u8 = 40u8
pub const CODE: u8 = 40u8
The opcode of the operation. This can be passed to
Probe::is_supported to check if this operation is
supported with the current kernel.
pub const fn opcode_flags(self, opcode_flags: u32) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl RefUnwindSafe for MsgRingData
impl Send for MsgRingData
impl Sync for MsgRingData
impl Unpin for MsgRingData
impl UnwindSafe for MsgRingData
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