read_until_slice

Trait AsyncBufReadUntilSliceExt

Source
pub trait AsyncBufReadUntilSliceExt: AsyncBufRead {
    // Provided method
    fn read_until_slice<'a, 'b>(
        &'a mut self,
        delimiter: &'b [u8],
        buf: &'a mut Vec<u8>,
    ) -> ReadUntilSlice<'a, 'b, Self>
       where Self: Unpin { ... }
}

Provided Methods§

Source

fn read_until_slice<'a, 'b>( &'a mut self, delimiter: &'b [u8], buf: &'a mut Vec<u8>, ) -> ReadUntilSlice<'a, 'b, Self>
where Self: Unpin,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§