pub struct TypedStateWritableCoAPOverUDPMessage<
OPTION: typenum::Unsigned,
STORAGE: typenum::Unsigned,
> {
_phantom: core::marker::PhantomData<(OPTION, STORAGE)>,
}
trait OptionAppendableMessage<OPTION: typenum::Unsigned, OPTLEN: typenum::Unsigned> {
type AfterAppend;
}
impl<OPTOLD, OPTNEW, OPTLEN, STORAGEBEFORE> OptionAppendableMessage<OPTNEW, OPTLEN>
for TypedStateWritableCoAPOverUDPMessage<OPTOLD, STORAGEBEFORE>
where
OPTOLD: typenum::Unsigned,
OPTNEW: typenum::Unsigned + typenum::type_operators::IsGreaterOrEqual<OPTOLD>,
OPTLEN: typenum::Unsigned,
STORAGEBEFORE: typenum::Unsigned + core::ops::Sub<OPTLEN>,
<OPTNEW as typenum::type_operators::IsGreaterOrEqual<OPTOLD>>::Output: typenum::NonZero,
<STORAGEBEFORE as core::ops::Sub<OPTLEN>>::Output: typenum::Unsigned,
{
type AfterAppend = TypedStateWritableCoAPOverUDPMessage<
OPTNEW,
<STORAGEBEFORE as core::ops::Sub<OPTLEN>>::Output,
>;
}