[−][src]Struct grin_wallet_impls::DefaultLCProvider
Methods
impl<'a, C, K> DefaultLCProvider<'a, C, K> where
C: NodeClient + 'a,
K: Keychain + 'a,
[src]
C: NodeClient + 'a,
K: Keychain + 'a,
Trait Implementations
impl<'a, C, K> WalletLCProvider<'a, C, K> for DefaultLCProvider<'a, C, K> where
C: NodeClient + 'a,
K: Keychain + 'a,
[src]
C: NodeClient + 'a,
K: Keychain + 'a,
fn set_top_level_directory(&mut self, dir: &str) -> Result<(), Error>
[src]
fn get_top_level_directory(&self) -> Result<String, Error>
[src]
fn create_config(
&self,
chain_type: &ChainTypes,
file_name: &str,
wallet_config: Option<WalletConfig>,
logging_config: Option<LoggingConfig>,
tor_config: Option<TorConfig>
) -> Result<(), Error>
[src]
&self,
chain_type: &ChainTypes,
file_name: &str,
wallet_config: Option<WalletConfig>,
logging_config: Option<LoggingConfig>,
tor_config: Option<TorConfig>
) -> Result<(), Error>
fn create_wallet(
&mut self,
_name: Option<&str>,
mnemonic: Option<ZeroingString>,
mnemonic_length: usize,
password: ZeroingString,
test_mode: bool
) -> Result<(), Error>
[src]
&mut self,
_name: Option<&str>,
mnemonic: Option<ZeroingString>,
mnemonic_length: usize,
password: ZeroingString,
test_mode: bool
) -> Result<(), Error>
fn open_wallet(
&mut self,
_name: Option<&str>,
password: ZeroingString,
create_mask: bool,
use_test_rng: bool
) -> Result<Option<SecretKey>, Error>
[src]
&mut self,
_name: Option<&str>,
password: ZeroingString,
create_mask: bool,
use_test_rng: bool
) -> Result<Option<SecretKey>, Error>
fn close_wallet(&mut self, _name: Option<&str>) -> Result<(), Error>
[src]
fn wallet_exists(&self, _name: Option<&str>) -> Result<bool, Error>
[src]
fn get_mnemonic(
&self,
_name: Option<&str>,
password: ZeroingString
) -> Result<ZeroingString, Error>
[src]
&self,
_name: Option<&str>,
password: ZeroingString
) -> Result<ZeroingString, Error>
fn validate_mnemonic(&self, mnemonic: ZeroingString) -> Result<(), Error>
[src]
fn recover_from_mnemonic(
&self,
mnemonic: ZeroingString,
password: ZeroingString
) -> Result<(), Error>
[src]
&self,
mnemonic: ZeroingString,
password: ZeroingString
) -> Result<(), Error>
fn change_password(
&self,
_name: Option<&str>,
old: ZeroingString,
new: ZeroingString
) -> Result<(), Error>
[src]
&self,
_name: Option<&str>,
old: ZeroingString,
new: ZeroingString
) -> Result<(), Error>
fn delete_wallet(&self, _name: Option<&str>) -> Result<(), Error>
[src]
fn wallet_inst(
&mut self
) -> Result<&mut Box<dyn WalletBackend<'a, C, K> + 'a>, Error>
[src]
&mut self
) -> Result<&mut Box<dyn WalletBackend<'a, C, K> + 'a>, Error>
Auto Trait Implementations
impl<'a, C, K> !RefUnwindSafe for DefaultLCProvider<'a, C, K>
impl<'a, C, K> Send for DefaultLCProvider<'a, C, K>
impl<'a, C, K> Sync for DefaultLCProvider<'a, C, K>
impl<'a, C, K> Unpin for DefaultLCProvider<'a, C, K> where
C: Unpin,
C: Unpin,
impl<'a, C, K> !UnwindSafe for DefaultLCProvider<'a, C, K>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,