Type Definition coap_client::TokioClient [−][src]
Expand description
Tokio base CoAP client
Implementations
pub async fn connect<H>(host: H, opts: &ClientOptions) -> Result<Self, Error> where
H: TryInto<HostOptions>,
<H as TryInto<HostOptions>>::Error: Debug,
pub async fn connect<H>(host: H, opts: &ClientOptions) -> Result<Self, Error> where
H: TryInto<HostOptions>,
<H as TryInto<HostOptions>>::Error: Debug,
Create a new client with the provided host and client options