DataDog / glommio

Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.
Other
3.06k stars 162 forks source link

Some WeakDmaFile fixes #661

Closed vlovich closed 5 months ago

vlovich commented 5 months ago

What does this PR do?

WeakDmaFile is exported as was intended. Additionally expose strong_count for debug logging.

Motivation

Tried to reference WeakDmaFile explicitly but the type can only be used implicitly via downgrade.

Related issues

Additional Notes

Checklist

[X] I have added unit tests to the code I am submitting [X] My unit tests cover both failure and success scenarios [] If applicable, I have discussed my architecture