Fix warnings
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user