pub type TokioClient = Client<Error, Tokio>;Expand description
Tokio base CoAP client
Aliased Type§
pub struct TokioClient { /* private fields */ }Implementations§
Source§impl TokioClient
impl TokioClient
Sourcepub async fn connect<H>(host: H, opts: &ClientOptions) -> Result<Self, Error>
pub async fn connect<H>(host: H, opts: &ClientOptions) -> Result<Self, Error>
Create a new client with the provided host and client options