Struct io_uring::opcode::Splice [−][src]
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
impl Splice[src]
pub fn new(
fd_in: impl UseFixed,
off_in: i64,
fd_out: impl UseFixed,
off_out: i64,
len: u32
) -> Self[src]
fd_in: impl UseFixed,
off_in: i64,
fd_out: impl UseFixed,
off_out: i64,
len: u32
) -> Self
pub const CODE: u8[src]
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 flags(self, flags: u32) -> Self[src]
see man splice(2) for description of flags.
pub fn build(self) -> Entry[src]
Auto Trait Implementations
impl RefUnwindSafe for Splice
impl Send for Splice
impl Sync for Splice
impl Unpin for Splice
impl UnwindSafe for Splice
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,