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.