feat(util): introduce
Sender::{capacity, max_capacity}(#147)this commit introduces two methods, allowing callers to inspect the capacity, both available and maximum, of the channel-backed body.
this allows callers to observe when the channel is full.
X-Ref: #140
Signed-off-by: katelyn martin me+cratelyn@katelyn.world
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
HTTP Body
A trait representing asynchronous operations on an HTTP body.
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in
http-bodyby you, shall be licensed as MIT, without any additional terms or conditions.