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§
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.