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§
- Backend
Receiver - Something that can receive bytes.
- Backend
Sender - Something that can be handed bytes to send out. WHen every copy of the
crate::Client
is dropped, this will be too.
Type Aliases§
- Backend
Error - An error that can occur from the backend.