Enum cardano_serialization_lib::ScriptHashNamespace [−][src]
pub enum ScriptHashNamespace {
NativeScript,
}
Expand description
Each new language uses a different namespace for hashing its script This is because you could have a language where the same bytes have different semantics So this avoids scripts in different languages mapping to the same hash Note that the enum value here is different than the enum value for deciding the cost model of a script
Variants
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ScriptHashNamespace
impl Send for ScriptHashNamespace
impl Sync for ScriptHashNamespace
impl Unpin for ScriptHashNamespace
impl UnwindSafe for ScriptHashNamespace
Blanket Implementations
Mutably borrows from an owned value. Read more