pub trait Connector: Send + Sync {
// Required methods
fn url(&self) -> &Url;
fn connect(&self) -> BoxedConnect;
}
Expand description
Backend connector interface
Required Methods§
sourcefn connect(&self) -> BoxedConnect
fn connect(&self) -> BoxedConnect
Establish connection to device