Module backend

Source
Expand description

The backend trait, to connect a client to some server.

Modules§

mock
A mock backend which can be used in tests or examples.

Traits§

BackendReceiver
Something that can receive bytes.
BackendSender
Something that can be handed bytes to send out. WHen every copy of the crate::Client is dropped, this will be too.

Type Aliases§

BackendError
An error that can occur from the backend.