Struct holo_hash::hash_type::NetId [−][src]
pub struct NetId;
Expand description
The $name PrimitiveHashType
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Get the 3 byte prefix, which is statically known for primitive hash types
Auto Trait Implementations
impl RefUnwindSafe for NetId
impl UnwindSafe for NetId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Get the 3-byte prefix for the underlying primitive hash type
Given a 3-byte prefix, return the corresponding HashType, or error if mismatched. Trivial for PrimitiveHashType, but useful for composite types Read more