Fix warnings

This commit is contained in:
Dominik Werder
2025-03-07 11:46:51 +01:00
parent ab84858e1b
commit f8b3c1533b
39 changed files with 1208 additions and 886 deletions

View File

@@ -62,6 +62,7 @@ pub async fn x_processed_event_blobs_stream_from_node_tcp(
Ok(Box::pin(items))
}
#[allow(unused)]
async fn open_event_data_streams_tcp<T>(subq: EventsSubQuery, cluster: &Cluster) -> Result<Vec<BoxedStream<T>>, Error>
where
// TODO group bounds in new trait

View File

@@ -5,11 +5,12 @@ use std::task::Context;
use std::task::Poll;
use tokio::io::AsyncRead;
#[derive(Debug, thiserror::Error)]
#[cstm(name = "TcpReadAsBytes")]
pub enum Error {
IO(#[from] std::io::Error),
}
autoerr::create_error_v1!(
name(Error, "TcpReadAsBytes"),
enum variants {
IO(#[from] std::io::Error),
},
);
pub struct TcpReadAsBytes<INP> {
inp: INP,