Trait time::ServerBind
source · pub trait ServerBind: Sync + Send {
// Required method
fn bind(&self, timer: ThreadSafeTimer) -> Result<()>;
}Expand description
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.