Tests pass for reqnot

This commit is contained in:
2025-12-16 00:02:45 +01:00
parent 0b2b05d44e
commit 06debb3636
4 changed files with 105 additions and 91 deletions

View File

@@ -1,5 +1,7 @@
use core::fmt;
use never::Never;
use super::coding::Coding;
use crate::helpers::enc_vec;
@@ -13,8 +15,16 @@ pub trait Channel: 'static {
type Req: Coding + Sized + 'static;
type Notif: Coding + Sized + 'static;
}
impl Channel for Never {
type Notif = Never;
type Req = Never;
}
pub trait MsgSet: Sync + 'static {
type In: Channel;
type Out: Channel;
}
impl MsgSet for Never {
type In = Never;
type Out = Never;
}