irpc 1.0.0

A streaming rpc system based on quic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! No channels, used when no communication is needed

use crate::sealed::Sealed;

/// A sender that does nothing. This is used when no communication is needed.
#[derive(Debug)]
pub struct NoSender;
impl Sealed for NoSender {}
impl crate::Sender for NoSender {}

/// A receiver that does nothing. This is used when no communication is needed.
#[derive(Debug)]
pub struct NoReceiver;

impl Sealed for NoReceiver {}
impl crate::Receiver for NoReceiver {}