Type Definition coap_client::TokioClient
source · [−]Expand description
Tokio base CoAP client
Implementations
sourceimpl TokioClient
impl TokioClient
sourcepub 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