Struct io_uring::opcode::Splice [−][src]
pub struct Splice { /* fields omitted */ }Expand description
Splice data to/from a pipe, equivalent to splice(2).
if fd_in refers to a pipe, off_in must be -1;
The description of off_in also applied to off_out.
Implementations
pub fn new(
fd_in: impl UseFixed,
off_in: i64,
fd_out: impl UseFixed,
off_out: i64,
len: u32
) -> Self
The opcode of the operation. This can be passed to
Probe::is_supported to check if this operation is
supported with the current kernel.