pub trait ConnectionErrors:
Debug
+ Clone
+ Send
+ Sync
+ 'static {
type SendError: RpcError;
type RecvError: RpcError;
type OpenError: RpcError;
type AcceptError: RpcError;
}
Required Associated Types§
Sourcetype AcceptError: RpcError
type AcceptError: RpcError
Error when accepting a channel
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl<A: ConnectionErrors, B: ConnectionErrors> ConnectionErrors for CombinedConnector<A, B>
impl<A: ConnectionErrors, B: ConnectionErrors> ConnectionErrors for CombinedConnector<A, B>
Source§impl<A: ConnectionErrors, B: ConnectionErrors> ConnectionErrors for CombinedListener<A, B>
impl<A: ConnectionErrors, B: ConnectionErrors> ConnectionErrors for CombinedListener<A, B>
Source§impl<In, Out, C> ConnectionErrors for MappedConnector<In, Out, C>
impl<In, Out, C> ConnectionErrors for MappedConnector<In, Out, C>
type RecvError = ErrorOrMapError<<C as ConnectionErrors>::RecvError>
type SendError = <C as ConnectionErrors>::SendError
type OpenError = <C as ConnectionErrors>::OpenError
type AcceptError = <C as ConnectionErrors>::AcceptError
Source§impl<In, Out, C> ConnectionErrors for MappedStreamTypes<In, Out, C>
impl<In, Out, C> ConnectionErrors for MappedStreamTypes<In, Out, C>
type RecvError = ErrorOrMapError<<C as ConnectionErrors>::RecvError>
type SendError = <C as ConnectionErrors>::SendError
type OpenError = <C as ConnectionErrors>::OpenError
type AcceptError = <C as ConnectionErrors>::AcceptError
Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for BoxedConnector<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for BoxedConnector<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for BoxedListener<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for BoxedListener<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for BoxedStreamTypes<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for BoxedStreamTypes<In, Out>
Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeConnector<In, Out>
Available on crate feature flume-transport
only.
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeConnector<In, Out>
Available on crate feature
flume-transport
only.Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeListener<In, Out>
Available on crate feature flume-transport
only.
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for FlumeListener<In, Out>
Available on crate feature
flume-transport
only.Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for HyperConnector<In, Out>
Available on crate feature hyper-transport
only.
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for HyperConnector<In, Out>
Available on crate feature
hyper-transport
only.Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for HyperListener<In, Out>
Available on crate feature hyper-transport
only.
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for HyperListener<In, Out>
Available on crate feature
hyper-transport
only.Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for IrohConnector<In, Out>
Available on crate feature iroh-transport
only.
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for IrohConnector<In, Out>
Available on crate feature
iroh-transport
only.Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for IrohListener<In, Out>
Available on crate feature iroh-transport
only.
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for IrohListener<In, Out>
Available on crate feature
iroh-transport
only.Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for DummyListener<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for DummyListener<In, Out>
type RecvError = Infallible
type SendError = Infallible
type OpenError = Infallible
type AcceptError = Infallible
Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for QuinnConnector<In, Out>
Available on crate feature quinn-transport
only.
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for QuinnConnector<In, Out>
Available on crate feature
quinn-transport
only.Source§impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for QuinnListener<In, Out>
Available on crate feature quinn-transport
only.
impl<In: RpcMessage, Out: RpcMessage> ConnectionErrors for QuinnListener<In, Out>
Available on crate feature
quinn-transport
only.