pub struct TxInEncoder<'e>(/* private fields */);Expand description
The encoder for the TxIn type.
Implementations§
Source§impl<'e> TxInEncoder<'e>
impl<'e> TxInEncoder<'e>
Sourcepub fn new(
encoder: Encoder3<OutPointEncoder<'e>, ScriptEncoder<'e>, SequenceEncoder<'e>>,
) -> TxInEncoder<'e>
pub fn new( encoder: Encoder3<OutPointEncoder<'e>, ScriptEncoder<'e>, SequenceEncoder<'e>>, ) -> TxInEncoder<'e>
Construct a new instance of the newtype encoder
Trait Implementations§
Auto Trait Implementations§
impl<'e> Freeze for TxInEncoder<'e>
impl<'e> RefUnwindSafe for TxInEncoder<'e>
impl<'e> Send for TxInEncoder<'e>
impl<'e> Sync for TxInEncoder<'e>
impl<'e> Unpin for TxInEncoder<'e>
impl<'e> UnsafeUnpin for TxInEncoder<'e>
impl<'e> UnwindSafe for TxInEncoder<'e>
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