From 718e8618544c4cdde78138655305eee7c08058ee Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Sat, 18 Feb 2023 03:03:40 +0100 Subject: Don't spawn tasks --- src/error.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/error.rs') 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> for Error { Self::InvalidCtlType(err.number) } } - -impl From> for Error { - fn from(_err: SendError) -> Self { - Self::LocalDisco - } -} -- cgit v1.2.3