chiark / gitweb /
errors: No longer impl Error for ESVU
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 13 Jul 2021 15:02:28 +0000 (16:02 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 13 Jul 2021 15:02:38 +0000 (16:02 +0100)
Not sure why this was ever needed but it isn't any more.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/error.rs

index 0ee5933210a45c5bcd224ca0c3469c88d2f8a5d0..dc0de331c924b90c9bbeeeaf94e73e6c8ea859ac 100644 (file)
@@ -141,7 +141,7 @@ impl From<InternalError> for ApiPieceOpError {
   }
 }
 
-#[derive(Error,Debug,Serialize,Clone)]
+#[derive(Debug,Serialize,Clone)]
 pub enum ErrorSignaledViaUpdate<POEPU: Debug> {
   InternalError,
   PlayerRemoved, // appears only in streams for applicable player
@@ -152,7 +152,7 @@ pub enum ErrorSignaledViaUpdate<POEPU: Debug> {
     state: POEPU,
   },
 }
-display_as_debug!{ErrorSignaledViaUpdate<T>, <T:Debug>}
+//display_as_debug!{ErrorSignaledViaUpdate<T>, <T:Debug>}
 
 #[derive(Error,Debug,Serialize,Copy,Clone,Eq,PartialEq)]
 pub enum PieceOpErrorPartiallyProcessed {