pub struct EntityTag(/* private fields */);Expand description
Represents an Entity Tag for a CacheableResource.
An EntityTag is an opaque token that can be used to determine if a
cached resource has changed. The specific format of this tag is an
implementation detail.
As the name indicates, these are inspired by the ETags prevalent in HTTP caching protocols. Their implementation is very different, and are only intended for use within a single program.
Implementations§
Trait Implementations§
impl StructuralPartialEq for EntityTag
Auto Trait Implementations§
impl Freeze for EntityTag
impl RefUnwindSafe for EntityTag
impl Send for EntityTag
impl Sync for EntityTag
impl Unpin for EntityTag
impl UnwindSafe for EntityTag
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