Fix warnings
This commit is contained in:
@@ -20,7 +20,6 @@ crc32fast = "1.4.2"
|
||||
byteorder = "1.5.0"
|
||||
async-channel = "1.9.0"
|
||||
rand_xoshiro = "0.6.0"
|
||||
thiserror = "=0.0.1"
|
||||
autoerr = "0.0.3"
|
||||
chrono = { version = "0.4.39", features = ["serde"] }
|
||||
netpod = { path = "../../../daqbuf-netpod", package = "daqbuf-netpod" }
|
||||
@@ -35,6 +34,3 @@ http-body-util = "0.1.2"
|
||||
|
||||
[dev-dependencies]
|
||||
taskrun = { path = "../taskrun" }
|
||||
|
||||
[patch.crates-io]
|
||||
thiserror = { git = "https://github.com/dominikwerder/thiserror.git", branch = "cstm" }
|
||||
|
||||
@@ -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