Available on crate features
clients or servers only.Expand description
A series of “common” networking related utilities.
These types, and structs, and logic aren’t related to anything specific to cat-dev’s at all. But are simply utilities that allow us to actually implement the rest of things like a “TCP Server”, or “TCP Client”.
Modules§
- additions
- A series of extra types that we attach to every single request to make it a little more pleasent to work with.
- client
clients - Common Network Related Client Utilities.
- errors
- Error types specifically related to common network utilities.
- handlers
- These “handler” types, are a way of turning raw rust functions
into a
tower::Service. - models
- Common models for all L4 Services.
- server
servers - Common Network Related Server Utilities.
Structs§
- Extensions
- A type map of protocol extensions.
Constants§
- DEFAULT_
CAT_ DEV_ CHUNK_ SIZE - The default amount to chunk write calls as to not overwhelm the cat-dev.
- DEFAULT_
CAT_ DEV_ SLOWDOWN - The default slowdown to use for cat-dev units that seems to work.