pub struct InputHash(/* private fields */);Expand description
The CAS key: the single digest derived from a BuildIdentity.
Opaque newtype so a caller cannot pass a raw string where a verified key is
expected. The reduction BuildIdentity → InputHash is performed by the CAS
owner; cargoless-proto only guarantees that equal BuildIdentity ⇒ equal
InputHash is the invariant every consumer may rely on.
Implementations§
Trait Implementations§
Source§impl Ord for InputHash
impl Ord for InputHash
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for InputHash
impl PartialOrd for InputHash
impl Eq for InputHash
impl StructuralPartialEq for InputHash
Auto Trait Implementations§
impl Freeze for InputHash
impl RefUnwindSafe for InputHash
impl Send for InputHash
impl Sync for InputHash
impl Unpin for InputHash
impl UnsafeUnpin for InputHash
impl UnwindSafe for InputHash
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