Module net

Module net 

Source
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.
clientclients
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.
serverservers
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.