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§
Required Methods§
Sourcefn 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,
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.
impl Convert for BitwardenCsv
Available on crate feature
import only.Source§impl Convert for ChromePasswordCsv
Available on crate feature import only.
impl Convert for ChromePasswordCsv
Available on crate feature
import only.Source§impl Convert for DashlaneCsvZip
Available on crate feature import only.
impl Convert for DashlaneCsvZip
Available on crate feature
import only.Source§impl Convert for FirefoxPasswordCsv
Available on crate feature import only.
impl Convert for FirefoxPasswordCsv
Available on crate feature
import only.Source§impl Convert for MacPasswordCsv
Available on crate feature import only.
impl Convert for MacPasswordCsv
Available on crate feature
import only.Source§impl Convert for OnePasswordCsv
Available on crate feature import only.
impl Convert for OnePasswordCsv
Available on crate feature
import only.Source§impl Convert for GenericCsvConvert
Available on crate feature import only.
impl Convert for GenericCsvConvert
Available on crate feature
import only.