mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-26 01:47:58 +00:00
Get a basic first test working, and lots of changes to supporting code to facilitate this
This commit is contained in:
@@ -47,7 +47,9 @@ pub struct Receiver {
|
||||
#[derive(thiserror::Error, Debug)]
|
||||
pub enum RecvError {
|
||||
#[error("Text message contains invalid UTF8: {0}")]
|
||||
InvalidUtf8(#[from] std::string::FromUtf8Error)
|
||||
InvalidUtf8(#[from] std::string::FromUtf8Error),
|
||||
#[error("Stream finished")]
|
||||
StreamFinished
|
||||
}
|
||||
|
||||
impl Stream for Receiver {
|
||||
|
||||
Reference in New Issue
Block a user