pub struct Splice<S1, S2> { /* private fields */ }Available on
linux_all only.Expand description
Splice data between two file descriptors.
Implementations§
Trait Implementations§
Source§impl<S1: AsFd, S2: AsFd> OpCode for Splice<S1, S2>
impl<S1: AsFd, S2: AsFd> OpCode for Splice<S1, S2>
Source§impl<S1: AsFd, S2: AsFd> OpCode for Splice<S1, S2>
impl<S1: AsFd, S2: AsFd> OpCode for Splice<S1, S2>
Source§fn create_entry(self: Pin<&mut Self>) -> OpEntry
fn create_entry(self: Pin<&mut Self>) -> OpEntry
Create submission entry.
Source§fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
Call the operation in a blocking way. This method will only be called if
create_entry returns OpEntry::Blocking.Auto Trait Implementations§
impl<S1, S2> Freeze for Splice<S1, S2>
impl<S1, S2> RefUnwindSafe for Splice<S1, S2>where
S1: RefUnwindSafe,
S2: RefUnwindSafe,
impl<S1, S2> Send for Splice<S1, S2>
impl<S1, S2> Sync for Splice<S1, S2>
impl<S1, S2> Unpin for Splice<S1, S2>
impl<S1, S2> UnwindSafe for Splice<S1, S2>where
S1: UnwindSafe,
S2: UnwindSafe,
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