sync: add Clone to RecvError types (#4560)

This commit is contained in:
Stepan Koltsov
2022-04-06 15:26:45 +02:00
committed by GitHub
parent b98a7e4d07
commit 3652f71ade
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ pub struct BroadcastStream<T> {
}
/// An error returned from the inner stream of a [`BroadcastStream`].
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Clone)]
pub enum BroadcastStreamRecvError {
/// The receiver lagged too far behind. Attempting to receive again will
/// return the oldest message still retained by the channel.