pub struct ChangeSet { /* private fields */ }Implementations§
Source§impl ChangeSet
impl ChangeSet
pub fn from_aggregate( descriptor: Option<Arc<Descriptor>>, change_descriptor: Option<Arc<Descriptor>>, network: Option<Network>, local_chain: LocalChainChangeSet, tx_graph: TxGraphChangeSet, indexer: IndexerChangeSet, ) -> Self
pub fn from_descriptor_and_network( descriptor: Option<Arc<Descriptor>>, change_descriptor: Option<Arc<Descriptor>>, network: Option<Network>, ) -> Self
Sourcepub fn from_local_chain_changes(
local_chain_changes: LocalChainChangeSet,
) -> Self
pub fn from_local_chain_changes( local_chain_changes: LocalChainChangeSet, ) -> Self
Start a wallet ChangeSet from local chain changes.
Sourcepub fn from_indexer_changeset(indexer_changes: IndexerChangeSet) -> Self
pub fn from_indexer_changeset(indexer_changes: IndexerChangeSet) -> Self
Start a wallet ChangeSet from indexer changes.
Sourcepub fn from_tx_graph_changeset(tx_graph_changeset: TxGraphChangeSet) -> Self
pub fn from_tx_graph_changeset(tx_graph_changeset: TxGraphChangeSet) -> Self
Start a wallet ChangeSet from transaction graph changes.
Sourcepub fn from_merge(left: Arc<ChangeSet>, right: Arc<ChangeSet>) -> Self
pub fn from_merge(left: Arc<ChangeSet>, right: Arc<ChangeSet>) -> Self
Build a ChangeSet by merging together two ChangeSet.
Sourcepub fn descriptor(&self) -> Option<Arc<Descriptor>>
pub fn descriptor(&self) -> Option<Arc<Descriptor>>
Get the receiving Descriptor.
Sourcepub fn change_descriptor(&self) -> Option<Arc<Descriptor>>
pub fn change_descriptor(&self) -> Option<Arc<Descriptor>>
Get the change Descriptor
Sourcepub fn localchain_changeset(&self) -> LocalChainChangeSet
pub fn localchain_changeset(&self) -> LocalChainChangeSet
Get the changes to the local chain.
Sourcepub fn tx_graph_changeset(&self) -> TxGraphChangeSet
pub fn tx_graph_changeset(&self) -> TxGraphChangeSet
Get the changes to the transaction graph.
Sourcepub fn indexer_changeset(&self) -> IndexerChangeSet
pub fn indexer_changeset(&self) -> IndexerChangeSet
Get the changes to the indexer.
Trait Implementations§
Source§impl<UT> LowerError<UT> for ChangeSet
impl<UT> LowerError<UT> for ChangeSet
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Lower this value for scaffolding function return Read more
Source§impl<UT> LowerReturn<UT> for ChangeSet
impl<UT> LowerReturn<UT> for ChangeSet
Source§type ReturnType = <Arc<ChangeSet> as LowerReturn<UniFfiTag>>::ReturnType
type ReturnType = <Arc<ChangeSet> as LowerReturn<UniFfiTag>>::ReturnType
The type that should be returned by scaffolding functions for this type. Read more
Source§fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
Lower the return value from an scaffolding call Read more
§fn handle_failed_lift(
error: LiftArgsError,
) -> Result<Self::ReturnType, RustCallError>
fn handle_failed_lift( error: LiftArgsError, ) -> Result<Self::ReturnType, RustCallError>
Lower the return value for failed argument lifts Read more
Auto Trait Implementations§
impl Freeze for ChangeSet
impl RefUnwindSafe for ChangeSet
impl Send for ChangeSet
impl Sync for ChangeSet
impl Unpin for ChangeSet
impl UnwindSafe for ChangeSet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more