1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
use crate::{ client_channel::AC_Sender, client_responds::{Respond, SessionCreateConsumerRespond, SessionCreateProducerRespond}, }; use super::{ConsumerSendHandlerChannelMessage, ProducerSendHandlerChannelMessage}; pub type HandlerReplySessionCreateProducerChannelMessage = Result< ( <SessionCreateProducerRespond as Respond>::Request, <SessionCreateProducerRespond as Respond>::Response, AC_Sender<ProducerSendHandlerChannelMessage>, ), <SessionCreateProducerRespond as Respond>::Error, >; pub type HandlerReplySessionCreateConsumerChannelMessage = Result< ( <SessionCreateConsumerRespond as Respond>::Request, <SessionCreateConsumerRespond as Respond>::Response, AC_Sender<ConsumerSendHandlerChannelMessage>, ), <SessionCreateConsumerRespond as Respond>::Error, >; pub enum HandlerReplySessionChannelMessage { ReplyCreateProducer(HandlerReplySessionCreateProducerChannelMessage), ReplyCreateConsumer(HandlerReplySessionCreateConsumerChannelMessage), }