pub struct BytesWeak(_);
Expand description
A weak reference of Bytes
.
A weak reference means that it doesn’t prevent Bytes
from being dropped because
it holds a non-owning reference to the associated Bytes
object. With Self::upgrade
it
is possible to upgrade it again to Bytes
if the reference is still valid.