pub struct PlaceholderSecretManager;
Expand description
Secret manager that is only useful to prevent accidental address generation in a wallet that has an offline counterpart for address generation and signing.
Trait Implementations
impl SecretManage for PlaceholderSecretManager
impl SecretManage for PlaceholderSecretManager
fn generate_addresses<'life0, 'async_trait>(
&'life0 self,
_coin_type: u32,
_account_index: u32,
_address_indexes: Range<u32>,
_internal: bool,
__arg5: GenerateAddressMetadata
) -> Pin<Box<dyn Future<Output = Result<Vec<Address, Global>, Error>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
PlaceholderSecretManager: 'async_trait,
fn generate_addresses<'life0, 'async_trait>(
&'life0 self,
_coin_type: u32,
_account_index: u32,
_address_indexes: Range<u32>,
_internal: bool,
__arg5: GenerateAddressMetadata
) -> Pin<Box<dyn Future<Output = Result<Vec<Address, Global>, Error>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
PlaceholderSecretManager: 'async_trait,
Generates addresses. Read more
fn signature_unlock<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_input: &'life1 InputSigningData,
_essence_hash: &'life2 [u8; 32],
__arg3: &'life3 Option<RemainderData>
) -> Pin<Box<dyn Future<Output = Result<Unlock, Error>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
PlaceholderSecretManager: 'async_trait,
fn signature_unlock<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_input: &'life1 InputSigningData,
_essence_hash: &'life2 [u8; 32],
__arg3: &'life3 Option<RemainderData>
) -> Pin<Box<dyn Future<Output = Result<Unlock, Error>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
PlaceholderSecretManager: 'async_trait,
Sign on essence
, unlock input
by returning an [Unlock].
impl SecretManageExt for PlaceholderSecretManager
impl SecretManageExt for PlaceholderSecretManager
fn sign_transaction_essence<'life0, 'life1, 'async_trait>(
&'life0 self,
_prepared_transaction_data: &'life1 PreparedTransactionData
) -> Pin<Box<dyn Future<Output = Result<Unlocks, Error>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
PlaceholderSecretManager: 'async_trait,
fn sign_transaction_essence<'life0, 'life1, 'async_trait>(
&'life0 self,
_prepared_transaction_data: &'life1 PreparedTransactionData
) -> Pin<Box<dyn Future<Output = Result<Unlocks, Error>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
PlaceholderSecretManager: 'async_trait,
Signs transaction essence. Read more
Auto Trait Implementations
impl RefUnwindSafe for PlaceholderSecretManager
impl Send for PlaceholderSecretManager
impl Sync for PlaceholderSecretManager
impl Unpin for PlaceholderSecretManager
impl UnwindSafe for PlaceholderSecretManager
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more