pub struct DestinationEncoder { /* private fields */ }
Implementations§
source§impl DestinationEncoder
impl DestinationEncoder
pub fn invoke_with_pkhash(&self, id: &PKHash) -> String
pub fn invoke_with_scripthash(&self, id: &ScriptHash) -> String
pub fn invoke_with_witnessv0_keyhash(&self, id: &WitnessV0KeyHash) -> String
pub fn invoke_with_witnessv0_scripthash( &self, id: &WitnessV0ScriptHash ) -> String
pub fn invoke_with_witnessv1_taproot(&self, tap: &WitnessV1Taproot) -> String
pub fn invoke_with_witness_unknown(&self, id: &WitnessUnknown) -> String
pub fn invoke_with_no_destination(&self, no: &NoDestination) -> String
Trait Implementations§
source§impl From<ChainParams> for DestinationEncoder
impl From<ChainParams> for DestinationEncoder
source§fn from(params: ChainParams) -> Self
fn from(params: ChainParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DestinationEncoder
impl !Send for DestinationEncoder
impl !Sync for DestinationEncoder
impl Unpin for DestinationEncoder
impl !UnwindSafe for DestinationEncoder
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more