pub trait ConduitTxPermit {
type Msg: MsgFamily;
type Error: Error + MaybeSend + 'static;
// Required method
fn send(
self,
item: <Self::Msg as MsgFamily>::Msg<'_>,
) -> Result<(), Self::Error>;
}Expand description
Permit for sending exactly one message through a ConduitTx.