pub struct ResourceVersion(/* private fields */);Expand description
Opaque change token. Equal known tokens let the warm pass skip reading. Filesystem tokens are cheap change hints, not proof of unchanged bytes. Unknown tokens force a reread and hash check.
Unstable: may change before 1.0; filesystem is the only supported provider.
Implementations§
Trait Implementations§
Source§impl Clone for ResourceVersion
impl Clone for ResourceVersion
Source§impl Debug for ResourceVersion
impl Debug for ResourceVersion
Source§impl Default for ResourceVersion
impl Default for ResourceVersion
Source§impl<'de> Deserialize<'de> for ResourceVersion
impl<'de> Deserialize<'de> for ResourceVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResourceVersion
Source§impl PartialEq for ResourceVersion
impl PartialEq for ResourceVersion
Source§impl Serialize for ResourceVersion
impl Serialize for ResourceVersion
impl StructuralPartialEq for ResourceVersion
Auto Trait Implementations§
impl Freeze for ResourceVersion
impl RefUnwindSafe for ResourceVersion
impl Send for ResourceVersion
impl Sync for ResourceVersion
impl Unpin for ResourceVersion
impl UnsafeUnpin for ResourceVersion
impl UnwindSafe for ResourceVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.