pub fn delete_wallet(&self, name: Option<&str>) -> Result<(), Error> {
		let mut w_lock = self.wallet_inst.lock();
		let lc = w_lock.lc_provider()?;
		lc.delete_wallet(name)
	}
/// Deletes a wallet, removing the config file, seed file and all data files.
/// Obviously, use with extreme caution and plenty of user warning
///
/// Highly recommended that the wallet be explicitly closed first via the `close_wallet`
/// function.
///
/// # Arguments
///
/// * `name`: Reserved for future use, use `None` for the time being.
///
/// # Returns
/// * Ok if successful
/// * or [`libwallet::Error`](../mimble_wallet_libwallet/struct.Error.html) if an error is encountered.
///
/// # Example
/// Set up as in [`new`](struct.Owner.html#method.new) method above.
/// ```
/// # mimble_wallet_api::doctest_helper_setup_doc_env!(wallet, wallet_config);
///
/// use mimble_core::global::ChainTypes;
///
/// // Set up as above
/// # let api_owner = Owner::new(wallet.clone(), None, None);
///
/// let res = api_owner.delete_wallet(None);
///
/// if let Ok(_) = res {
///     // ...
/// }
/// ```
Deletes a wallet, removing the config file, seed file and all data files.
Obviously, use with extreme caution and plenty of user warning

Highly recommended that the wallet be explicitly closed first via the `close_wallet`
function.
Deletes a wallet removing the config file seed file and all data files . Obviously use with extreme caution and plenty of user warning Highly recommended that the wallet be explicitly closed first via the ` close_wallet ` function .
pub fn delete_wallet(&self, name: Option<&str>) -> Result<(), Error> {
		let mut w_lock = self.wallet_inst.lock();
		let lc = w_lock.lc_provider()?;
		lc.delete_wallet(name)
	}
pub fn delete_wallet ( & self , name : Option < & str > ) -> Result < ( ) , Error > { let mut w_lock = self . wallet_inst . lock ( ) ; let lc = w_lock . lc_provider ( ) ? ; lc . delete_wallet ( name ) }
Deletes a wallet, removing the config file, seed file and all data files.
Deletes a wallet removing the config file seed file and all data files .
&self
name
Option<&str>
Ok if successful
or [`libwallet::Error`](../mimble_wallet_libwallet/struct.Error.html) if an error is encountered.
Ok if successful or [ ` libwallet :: Error ` ] ( .. / mimble_wallet_libwallet / struct . Error . html ) if an error is encountered .
&self
name
Option<&str>
example
Set up as in [`new`](struct.Owner.html#method.new) method above.
Set up as in [ ` new ` ] ( struct . Owner . html#method . new ) method above .
mimble_wallet_api::doctest_helper_setup_doc_env!(wallet, wallet_config);
use mimble_core::global::ChainTypes.

Set up as above
use mimble_core :: global :: ChainTypes . Set up as above
let api_owner = owner::new(wallet.clone(), none, none);
let res = api_owner.delete_wallet(None).


let res = api_owner . delete_wallet ( None ) .