Trait time::server::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§
sourcefn bind(&self, timer: ThreadSafeTimer) -> Result<()>
fn bind(&self, timer: ThreadSafeTimer) -> Result<()>
Describe how the server should bind to accept connections from clients.
Implementors§
impl ServerBind for TcpBind
Available on crate feature
tcp-binder only.