struct SealedBag {
epoch: Epoch,
_bag: Bag,
}Expand description
A pair of an epoch and a bag.
Fields§
§epoch: Epoch§_bag: BagImplementations§
Trait Implementations§
impl Sync for SealedBag
It is safe to share SealedBag because is_expired only inspects the epoch.
Auto Trait Implementations§
impl Freeze for SealedBag
impl RefUnwindSafe for SealedBag
impl Send for SealedBag
impl Unpin for SealedBag
impl UnwindSafe for SealedBag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more