pub trait HashedTypeUuid {
// Provided methods
fn type_hash_native<REF>() -> u128
where Self: HashedTypeDef<REF> { ... }
fn type_hash_le<REF>() -> u128
where Self: HashedTypeDef<REF> { ... }
fn type_hash_be<REF>() -> u128
where Self: HashedTypeDef<REF> { ... }
fn type_uuid<REF>() -> Uuid
where Self: HashedTypeDef<REF> { ... }
fn type_uuid_hyphenated<REF>() -> String
where Self: HashedTypeDef<REF> { ... }
fn self_type_hash_native<REF>(&self) -> u128
where Self: HashedTypeDef<REF> { ... }
fn self_type_hash_le<REF>(&self) -> u128
where Self: HashedTypeDef<REF> { ... }
fn self_type_hash_be<REF>(&self) -> u128
where Self: HashedTypeDef<REF> { ... }
fn self_type_uuid<REF>(&self) -> Uuid
where Self: HashedTypeDef<REF> { ... }
fn self_type_uuid_hyphenated<REF>(&self) -> String
where Self: HashedTypeDef<REF> { ... }
}
๐Deprecated since 0.1.2: please use
HashedTypeMethods
traitExpand description
(Deprecated) Methods for getting type hash under different forms
- Use trait
HashedTypeMethods
instead
Provided Methodsยง
Sourcefn type_hash_native<REF>() -> u128where
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn type_hash_native<REF>() -> u128where
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn native type hash
Sourcefn type_hash_le<REF>() -> u128where
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn type_hash_le<REF>() -> u128where
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn little endianess type hash
Sourcefn type_hash_be<REF>() -> u128where
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn type_hash_be<REF>() -> u128where
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn big endianess type hash
Sourcefn type_uuid<REF>() -> Uuidwhere
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn type_uuid<REF>() -> Uuidwhere
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn uuid derived from type hash
Sourcefn type_uuid_hyphenated<REF>() -> Stringwhere
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn type_uuid_hyphenated<REF>() -> Stringwhere
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn uuid hyphenated string
Sourcefn self_type_hash_native<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn self_type_hash_native<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn native type hash from instance
Sourcefn self_type_hash_le<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn self_type_hash_le<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn little endianess type hash from instance
Sourcefn self_type_hash_be<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn self_type_hash_be<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn big endianess type hash from instance
Sourcefn self_type_uuid<REF>(&self) -> Uuidwhere
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn self_type_uuid<REF>(&self) -> Uuidwhere
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn type hash-derived uuid from instance
Sourcefn self_type_uuid_hyphenated<REF>(&self) -> Stringwhere
Self: HashedTypeDef<REF>,
๐Deprecated since 0.1.2: please use HashedTypeMethods
trait
fn self_type_uuid_hyphenated<REF>(&self) -> Stringwhere
Self: HashedTypeDef<REF>,
HashedTypeMethods
traitreturn uuid hyphenated string from instance
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.