CSConfig

Trait CSConfig 

Source
pub trait CSConfig:
    Clone
    + Send
    + Sync {
    type Client: CSTraitClient;
    type Server: CSTraitServer;

    // Required methods
    fn client(&self) -> Self::Client;
    fn server(&self, local_socket: SocketAddr) -> Self::Server;
}

Required Associated Types§

Required Methods§

Source

fn client(&self) -> Self::Client

Source

fn server(&self, local_socket: SocketAddr) -> Self::Server

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§