pub struct ModuleHash {
pub path: PathBuf,
pub hash: ContentHash,
}Expand description
The hash of one module a task program loads.
Fields§
§path: PathBufThe absolute path of the module.
hash: ContentHashThe BLAKE3 hash of its source.
Trait Implementations§
Source§impl Clone for ModuleHash
impl Clone for ModuleHash
Source§impl Debug for ModuleHash
impl Debug for ModuleHash
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for ModuleHash
impl<'bytes, Ctx> Decode<'bytes, Ctx> for ModuleHash
Source§impl<Ctx> Encode<Ctx> for ModuleHash
impl<Ctx> Encode<Ctx> for ModuleHash
impl Eq for ModuleHash
Source§impl PartialEq for ModuleHash
impl PartialEq for ModuleHash
impl StructuralPartialEq for ModuleHash
Auto Trait Implementations§
impl Freeze for ModuleHash
impl RefUnwindSafe for ModuleHash
impl Send for ModuleHash
impl Sync for ModuleHash
impl Unpin for ModuleHash
impl UnsafeUnpin for ModuleHash
impl UnwindSafe for ModuleHash
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.