644 |
#[cfg(feature = "read-http")]
|
645 |
#[allow(clippy::read_zero_byte_vec)] // https://github.com/rust-lang/rust-clippy/issues/9274
|
646 |
pub fn read_http<T, R>(r: &mut T) -> Res<Self>
|
179 |
// Blocking
|
180 |
#[allow(clippy::read_zero_byte_vec, unused_variables)]
|
181 |
fn run_handshake(&mut self, stream: &mut impl NetStream) -> io::Result<()> {
|
65 |
/// ```
|
66 |
#[allow(clippy::read_zero_byte_vec)]
|
67 |
pub fn read_count<R>(data: &mut R, count: isize) -> Result<Self>
|
30 |
#[allow(clippy::read_zero_byte_vec)]
|
31 |
async fn _etag_of_reader_with_parts(
|
111 |
#[allow(clippy::read_zero_byte_vec)]
|
112 |
fn _etag_of_reader_with_parts(mut reader: impl Read, parts: &[usize], out: &mut GenericArray<u8, U28>) -> Result<()> {
|
39 |
{
|
40 |
#[allow(clippy::read_zero_byte_vec)] // See https://github.com/rust-lang/rust-clippy/issues/9274
|
41 |
async fn read_message(&mut self, max_message_size: usize) -> Result<Vec<u8>, ReadError> {
|
333 |
#[allow(clippy::read_zero_byte_vec)]
|
334 |
fn next(&mut self) -> Option<Result<Vec<u8>>> {
|
196 |
// clippy false positive: https://github.com/rust-lang/rust-clippy/issues/9274
|
197 |
#[allow(clippy::read_zero_byte_vec)] {
|
198 |
let mut buf = Vec::new();
|