Trait quic_rpc::transport::ConnectionErrors

source ·
pub trait ConnectionErrors: Debug + Clone + Send + Sync + 'static {
    type OpenError: RpcError;
    type SendError: RpcError;
    type RecvError: RpcError;
}
Expand description

Errors that can happen when creating and using a Connection or ServerEndpoint.

Required Associated Types§

source

type OpenError: RpcError

Error when opening or accepting a channel

source

type SendError: RpcError

Error when sending a message via a channel

source

type RecvError: RpcError

Error when receiving a message via a channel

Object Safety§

This trait is not object safe.

Implementors§