Skip to main content

Crate busylib

Crate busylib 

Source
Expand description

Rust client for the BUSY Bar HTTP API

Modules§

api
Api endpoints
model
Request and response schemas
types
Values the API accepts, validated on construction

Structs§

ApiError
Error reported by the device
Body
The body of a response, specifivally for error messages
Client
Client for a single device
ClientBuilder
Builder for a Client
HttpTransportError
Failure from the underlying transport
ReqwestHttpTransport
Transport backed by reqwest
Timeout
How long a request may take, until it times out

Enums§

ApiPrefix
Path the API is mounted under.
BaseUrlError
Why a base URL is unusable
BuildRequestError
Why a request could not be built
Error
Busylib’s top level error

Traits§

HttpTransport
The HTTP transport which the client sends its requests over

Type Aliases§

BoxFuture
HttpTransportResult
Result