Trait gitoid::ObjectType

source ·
pub trait ObjectType: Sealed { }
Expand description

Object types usable to construct 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.

Implementors§