1//! 2//! Generic connection trait representing a connection to a client (where available). 3//! 4 5use std::sync::Arc; 6 7pub trait RpcConnection: Send + Sync { 8 fn id(&self) -> u64; 9} 10 11pub type DynRpcConnection = Arc<dyn RpcConnection>;