pub struct TxGraph { /* private fields */ }Implementations§
Source§impl TxGraph
impl TxGraph
pub fn new(chunks: Vec<TxGraphChunk>) -> Result<Self, Error>
pub fn nb_of_nodes(&self) -> usize
pub fn apply<F>(&mut self, f: F) -> Result<(), Error>
pub fn find(&self, txid: &Txid) -> Option<&Self>
pub fn as_map(&self) -> HashMap<Txid, &Psbt>
pub fn set_signature(&mut self, sig: Signature)
pub fn root(&self) -> &Psbt
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TxGraph
impl RefUnwindSafe for TxGraph
impl Send for TxGraph
impl Sync for TxGraph
impl Unpin for TxGraph
impl UnsafeUnpin for TxGraph
impl UnwindSafe for TxGraph
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