Trait gitoid::HashAlgorithm
source · pub trait HashAlgorithm: Sealed { }
Expand description
Hash algorithms that can be used to make a GitOid
.
This is a sealed trait to ensure it’s only used for hash algorithms which are actually supported by Git.
For more information on sealed traits, read Predrag Gruevski’s “A Definitive Guide to Sealed Traits in Rust”.
Object Safety§
This trait is not object safe.