Module medea::utils[][src]

Helper utils used in project.

Structs

MpscOneshotSender

Cloneable oneshot sender backed by [UnboundedSender].

Functions

actix_try_join_all

Creates a future which represents either a collection of the results of the futures given or an error. The returned future will drive execution for all of its underlying futures, collecting the results into a destination Vec<T> in the same order as they were provided.

generate_token

Generates random alphanumeric string of the specified length.

instant_into_utc

Converts provided Instant into chrono::DateTime.