Crate cobalt_async
source ·Expand description
The Cobalt Async wrapper library
This library provides a collection of helpful functions for working with async Rust.
About harrison.ai
This crate is maintained by the Data Engineering team at harrison.ai.
At harrison.ai our mission is to create AI-as-a-medical-device solutions through ventures and ultimately improve the standard of healthcare for 1 million lives every day.
Modules
checksum
checksum
Module for checksum calculation.
Module holding utilities related to counts
of bytes passed to [AsyncWrite].
Enums
The return value of chunker functions used with
apply_chunker
.Functions
Converts a [
Stream
] of type T
to a Stream
of type Chunk
by applying the function chunker
to each item in the stream in turn.Converts a [
TryStream
] of type T
to a TryStream
of type Chunk
by applying the function chunker
to each item in the stream in turn.An approximation of a “try/finally” block for async Result-returning code.