Trait RuntimeChannel
pub trait RuntimeChannel: Runtime {
type Receiver<T: Debug + Send>: Stream<Item = T> + Send;
type Sender<T: Debug + Send>: TrySend<Message = T> + Debug;
// Required method
fn batch_message_channel<T>(
&self,
capacity: usize,
) -> (Self::Sender<T>, Self::Receiver<T>)
where T: Debug + Send;
}
Expand description
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.