Module raze::utils [−][src]
Expand description
Various helper functions to assist with common tasks
Structs
Wraps an [Stream] of Result<Bytes, std::io::Error>, computing the Sha1 hash along the way and returning it when the inner stream is done
Wraps an [Stream] of Result<Bytes, std::io::Error>, limiting the bandwidth it can use.
Useful for limiting upload bandwidth.
Functions
Get a stream of all file infos in the bucket using b2_list_file_names
Wrap an AsyncRead into a [Stream] of Result<Bytes, IoError>.