Struct emulator_connect::CTVAvailable
source · pub struct CTVAvailable;
Expand description
a type tag that can be tossed inside an Arc to get CTV
Trait Implementations§
source§impl CTVEmulator for CTVAvailable
impl CTVEmulator for CTVAvailable
source§fn get_signer_for(
&self,
h: Hash
) -> Result<Policy<XOnlyPublicKey>, EmulatorError>
fn get_signer_for( &self, h: Hash ) -> Result<Policy<XOnlyPublicKey>, EmulatorError>
For a given transaction hash, gets the corresponding Clause that the
Emulator would satisfy.
source§fn sign(
&self,
b: PartiallySignedTransaction
) -> Result<PartiallySignedTransaction, EmulatorError>
fn sign( &self, b: PartiallySignedTransaction ) -> Result<PartiallySignedTransaction, EmulatorError>
Adds the Emulators signature to the PSBT, if any.
Auto Trait Implementations§
impl RefUnwindSafe for CTVAvailable
impl Send for CTVAvailable
impl Sync for CTVAvailable
impl Unpin for CTVAvailable
impl UnwindSafe for CTVAvailable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more