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> { ... }
}
Expand description

Uuid code derived from type hash code

Provided Methods§

source

fn type_hash_native<REF>() -> u128
where Self: HashedTypeDef<REF>,

return native type hash

source

fn type_hash_le<REF>() -> u128
where Self: HashedTypeDef<REF>,

return little endianess type hash

source

fn type_hash_be<REF>() -> u128
where Self: HashedTypeDef<REF>,

return big endianess type hash

source

fn type_uuid<REF>() -> Uuid
where Self: HashedTypeDef<REF>,

return uuid derived from type hash

source

fn type_uuid_hyphenated<REF>() -> String
where Self: HashedTypeDef<REF>,

return uuid hyphenated string

source

fn self_type_hash_native<REF>(&self) -> u128
where Self: HashedTypeDef<REF>,

return native type hash from instance

source

fn self_type_hash_le<REF>(&self) -> u128
where Self: HashedTypeDef<REF>,

return little endianess type hash from instance

source

fn self_type_hash_be<REF>(&self) -> u128
where Self: HashedTypeDef<REF>,

return big endianess type hash from instance

source

fn self_type_uuid<REF>(&self) -> Uuid
where Self: HashedTypeDef<REF>,

return type hash-derived uuid from instance

source

fn self_type_uuid_hyphenated<REF>(&self) -> String
where Self: HashedTypeDef<REF>,

return uuid hyphenated string from instance

Object Safety§

This trait is not object safe.

Implementors§