[][src]Trait flv_future_aio::zero_copy::ZeroCopyWrite

pub trait ZeroCopyWrite {
#[must_use]    fn zero_copy_write<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        source: &'life1 AsyncFileSlice
    ) -> Pin<Box<dyn Future<Output = Result<usize, SendFileError>> + Send + 'async_trait>>

Notable traits for Pin<P>

impl<P> Future for Pin<P> where
    P: Unpin + DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;

    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

zero copy write

Required methods

#[must_use]fn zero_copy_write<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    source: &'life1 AsyncFileSlice
) -> Pin<Box<dyn Future<Output = Result<usize, SendFileError>> + Send + 'async_trait>>

Notable traits for Pin<P>

impl<P> Future for Pin<P> where
    P: Unpin + DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;
where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl<T> ZeroCopyWrite for T where
    T: AsRawFd + Send
[src]

Loading content...