use super::*;
use num_enum::TryFromPrimitiveError;
use thiserror::Error;
-use tokio::sync::mpsc::error::SendError;
#[derive(Error, Debug)]
pub enum Error {
Self::InvalidCtlType(err.number)
}
}
-
-impl From<SendError<InPkt>> for Error {
- fn from(_err: SendError<InPkt>) -> Self {
- Self::LocalDisco
- }
-}