pub trait AsyncReadCacheTimeoutExt: AsyncCacheRead {
    // Provided methods
    fn read_until_timeout<'a, T: AsRef<[u8]>>(
        &'a mut self,
        delim: T,
        buf: &'a mut Vec<u8>,
        timeout: Duration
    ) -> ReadUntilTimeout<'a, Self, T> 
       where Self: Unpin { ... }
    fn read_until_regex_timeout<'a>(
        &'a mut self,
        pattern: &str,
        buf: &'a mut Vec<u8>,
        timeout: Duration
    ) -> Result<ReadUntilRegexTimeout<'a, Self>, Error>
       where Self: Unpin { ... }
    fn read_line_timeout<'a>(
        &'a mut self,
        buf: &'a mut Vec<u8>,
        timeout: Duration
    ) -> ReadUntilTimeout<'a, Self, &'static [u8]> 
       where Self: Unpin { ... }
    fn read_line_crlf_timeout<'a>(
        &'a mut self,
        buf: &'a mut Vec<u8>,
        timeout: Duration
    ) -> ReadUntilTimeout<'a, Self, &'static [u8]> 
       where Self: Unpin { ... }
}

Provided Methods§

source

fn read_until_timeout<'a, T: AsRef<[u8]>>( &'a mut self, delim: T, buf: &'a mut Vec<u8>, timeout: Duration ) -> ReadUntilTimeout<'a, Self, T>
where Self: Unpin,

source

fn read_until_regex_timeout<'a>( &'a mut self, pattern: &str, buf: &'a mut Vec<u8>, timeout: Duration ) -> Result<ReadUntilRegexTimeout<'a, Self>, Error>
where Self: Unpin,

source

fn read_line_timeout<'a>( &'a mut self, buf: &'a mut Vec<u8>, timeout: Duration ) -> ReadUntilTimeout<'a, Self, &'static [u8]>
where Self: Unpin,

source

fn read_line_crlf_timeout<'a>( &'a mut self, buf: &'a mut Vec<u8>, timeout: Duration ) -> ReadUntilTimeout<'a, Self, &'static [u8]>
where Self: Unpin,

Object Safety§

This trait is not object safe.

Implementors§