diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/error.rs b/src/error.rs index 7cfc057..28233e8 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,7 +1,6 @@ use super::*; use num_enum::TryFromPrimitiveError; use thiserror::Error; -use tokio::sync::mpsc::error::SendError; #[derive(Error, Debug)] pub enum Error { @@ -38,9 +37,3 @@ impl From<TryFromPrimitiveError<CtlType>> for Error { Self::InvalidCtlType(err.number) } } - -impl From<SendError<InPkt>> for Error { - fn from(_err: SendError<InPkt>) -> Self { - Self::LocalDisco - } -} |