Struct bitcoin_qt::WalletController
source · pub struct WalletController { /* private fields */ }
Expand description
| Controller between typename NodeInterface, | WalletModel instances and the GUI. |
Implementations§
source§impl WalletController
impl WalletController
pub fn wallet_added(&mut self, wallet_model: *mut WalletModel)
pub fn wallet_removed(&mut self, wallet_model: *mut WalletModel)
pub fn coins_sent( &mut self, wallet_model: *mut WalletModel, recipient: SendCoinsRecipient, transaction: u32 )
source§impl WalletController
impl WalletController
pub fn new( client_model: &mut ClientModel, platform_style: *const PlatformStyle, parent: *mut u32 ) -> Self
sourcepub fn list_wallet_dir(&self) -> HashMap<String, bool>
pub fn list_wallet_dir(&self) -> HashMap<String, bool>
| Returns all wallet names in the wallet | dir mapped to whether the wallet is loaded. |
pub fn close_wallet(&mut self, wallet_model: *mut WalletModel, parent: *mut u32)
pub fn close_all_wallets(&mut self, parent: *mut u32)
pub fn get_or_create_wallet( &mut self, wallet: Box<dyn WalletInterface> ) -> *mut WalletModel
pub fn remove_and_delete_wallet(&mut self, wallet_model: *mut WalletModel)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WalletController
impl !Send for WalletController
impl !Sync for WalletController
impl Unpin for WalletController
impl !UnwindSafe for WalletController
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