Struct bitcoin_txmempool::TxInUndoFormatter
source · pub struct TxInUndoFormatter {}Expand description
| Formatter for undo information for | a CTxIn | | Contains the prevout’s CTxOut being | spent, and its metadata as well (coinbase | or not, height). The serialization | contains a dummy value of zero. This | is compatible with older versions which | expect to see the transaction version | there. |
Implementations§
source§impl TxInUndoFormatter
impl TxInUndoFormatter
pub fn ser<Stream>(&mut self, s: &mut Stream, txout: &Coin)
pub fn unser<Stream>(&mut self, s: &mut Stream, txout: &mut Coin)
Auto Trait Implementations§
impl RefUnwindSafe for TxInUndoFormatter
impl Send for TxInUndoFormatter
impl Sync for TxInUndoFormatter
impl Unpin for TxInUndoFormatter
impl UnwindSafe for TxInUndoFormatter
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