pub trait Tag {
    // Required method
    fn engine() -> HashEngine ;
}
Expand description

Trait representing a tag that can be used as a context for SHA256t hashes.

Required Methods§

fn engine() -> HashEngine

Returns a hash engine that is pre-tagged and is ready to be used for the data.

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.

Implementations on Foreign Types§

§

impl Tag for Elip151Tag

§

impl Tag for TapBranchTag

§

impl Tag for TapLeafTag

§

impl Tag for TapSighashTag

§

impl Tag for TapTweakTag

§

impl Tag for TapTweakTag

Implementors§

§

impl Tag for breez_sdk_liquid::lightning_with_bolt12::bitcoin::TapBranchTag

§

impl Tag for breez_sdk_liquid::lightning_with_bolt12::bitcoin::TapLeafTag

§

impl Tag for breez_sdk_liquid::lightning_with_bolt12::bitcoin::TapSighashTag

§

impl Tag for breez_sdk_liquid::lightning_with_bolt12::bitcoin::TapTweakTag