Trait time::ServerBind

source ·
pub trait ServerBind: Sync + Send {
    // Required method
    fn bind(&self, timer: ThreadSafeTimer) -> Result<()>;
}
Available on crate feature server only.
Expand description

The server bind trait.

ServerBinders must implement this trait.

Required Methods§

source

fn bind(&self, timer: ThreadSafeTimer) -> Result<()>

Describe how the server should bind to accept connections from clients.

Implementors§

source§

impl ServerBind for TcpBind

Available on crate feature tcp-binder only.