Convert

Trait Convert 

Source
pub trait Convert {
    type Input;

    // Required method
    fn convert<'life0, 'life1, 'async_trait>(
        &'life0 self,
        source: Self::Input,
        vault: Vault,
        key: &'life1 AccessKey,
    ) -> Pin<Box<dyn Future<Output = Result<Vault, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Trait for implementations that can convert data from a third-party provider.

Required Associated Types§

Source

type Input

Input type for the conversion.

Required Methods§

Source

fn convert<'life0, 'life1, 'async_trait>( &'life0 self, source: Self::Input, vault: Vault, key: &'life1 AccessKey, ) -> Pin<Box<dyn Future<Output = Result<Vault, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Write the input secrets to the given vault.

Implementors§

Source§

impl Convert for BitwardenCsv

Available on crate feature import only.
Source§

impl Convert for ChromePasswordCsv

Available on crate feature import only.
Source§

impl Convert for DashlaneCsvZip

Available on crate feature import only.
Source§

impl Convert for FirefoxPasswordCsv

Available on crate feature import only.
Source§

impl Convert for MacPasswordCsv

Available on crate feature import only.
Source§

impl Convert for OnePasswordCsv

Available on crate feature import only.
Source§

impl Convert for GenericCsvConvert

Available on crate feature import only.