pub struct NetworkAccount { /* private fields */ }
Expand description
Account with networking capability.
Implementations§
Source§impl NetworkAccount
impl NetworkAccount
Sourcepub async fn stop_listening(&self, origin: &Origin)
Available on crate feature listen
only.
pub async fn stop_listening(&self, origin: &Origin)
listen
only.Stop listening to a server websocket.
Sourcepub async fn listen(
&self,
origin: &Origin,
options: ListenOptions,
listener: Option<Sender<(ChangeNotification, RemoteResult<Error>)>>,
) -> Result<(), Error>
Available on crate feature listen
only.
pub async fn listen( &self, origin: &Origin, options: ListenOptions, listener: Option<Sender<(ChangeNotification, RemoteResult<Error>)>>, ) -> Result<(), Error>
listen
only.Listen for changes on a server websocket.
Source§impl NetworkAccount
impl NetworkAccount
Sourcepub async fn deactivate(&mut self)
pub async fn deactivate(&mut self)
Deactive this account by closing down long-running tasks.
Does not sign out of the account so is similar to moving this account to the background so the data is still accessible.
This can be used when implementing quick account switching to shutdown the websocket and file transfers.
Server remotes are left intact so that making changes will still sync with server(s).
Sourcepub async fn activate(&mut self) -> Result<(), Error>
pub async fn activate(&mut self) -> Result<(), Error>
Activate this account by resuming websocket connections and file transfers.
Sourcepub fn set_connection_id(&mut self, value: Option<String>)
pub fn set_connection_id(&mut self, value: Option<String>)
Set the connection identifier.
Sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
Connection identifier.
Sourcepub async fn add_server(
&mut self,
origin: Origin,
) -> Result<Option<RemoteResult<Error>>, Error>
pub async fn add_server( &mut self, origin: Origin, ) -> Result<Option<RemoteResult<Error>>, Error>
Add a server.
An initial sync is performed with the server and the result includes a possible error encountered during the initial sync.
If a server with the given origin already exists it is overwritten.
Sourcepub async fn replace_server(
&mut self,
old_origin: &Origin,
new_origin: Origin,
) -> Result<bool, Error>
pub async fn replace_server( &mut self, old_origin: &Origin, new_origin: Origin, ) -> Result<bool, Error>
Replace a server origin with updated origin information.
Sourcepub async fn remove_server(
&mut self,
origin: &Origin,
) -> Result<Option<RemoteBridge>, Error>
pub async fn remove_server( &mut self, origin: &Origin, ) -> Result<Option<RemoteBridge>, Error>
Remove a server.
Source§impl NetworkAccount
impl NetworkAccount
Sourcepub async fn new_unauthenticated(
account_id: AccountId,
target: BackendTarget,
options: NetworkAccountOptions,
) -> Result<Self, Error>
pub async fn new_unauthenticated( account_id: AccountId, target: BackendTarget, options: NetworkAccountOptions, ) -> Result<Self, Error>
Prepare an account for sign in.
After preparing an account call sign_in
to authenticate a user.
Sourcepub async fn new_account(
account_name: String,
passphrase: SecretString,
target: BackendTarget,
options: NetworkAccountOptions,
) -> Result<Self, Error>
pub async fn new_account( account_name: String, passphrase: SecretString, target: BackendTarget, options: NetworkAccountOptions, ) -> Result<Self, Error>
Create a new account with the given name, passphrase and provider.
Uses standard flags for the account builder for
more control of the created account use
new_account_with_builder()
.
Sourcepub async fn new_account_with_builder(
account_name: String,
passphrase: SecretString,
target: BackendTarget,
options: NetworkAccountOptions,
builder: impl Fn(AccountBuilder) -> AccountBuilder + Send,
) -> Result<Self, Error>
pub async fn new_account_with_builder( account_name: String, passphrase: SecretString, target: BackendTarget, options: NetworkAccountOptions, builder: impl Fn(AccountBuilder) -> AccountBuilder + Send, ) -> Result<Self, Error>
Create a new account with the given name, passphrase and provider and modify the account builder.
Sourcepub fn inflight_transfers(&self) -> Result<Arc<InflightTransfers>, Error>
Available on crate feature files
only.
pub fn inflight_transfers(&self) -> Result<Arc<InflightTransfers>, Error>
files
only.Inflight file transfers.
Source§impl NetworkAccount
impl NetworkAccount
Sourcepub async fn server_status(
&self,
options: &SyncOptions,
) -> HashMap<Origin, Result<SyncStatus, Error>>
pub async fn server_status( &self, options: &SyncOptions, ) -> HashMap<Origin, Result<SyncStatus, Error>>
Sync status for remote servers.
Sourcepub async fn transfer_status(
&self,
options: &SyncOptions,
) -> Result<HashMap<Origin, Result<FileTransfersSet, Error>>, Error>
Available on crate feature files
only.
pub async fn transfer_status( &self, options: &SyncOptions, ) -> Result<HashMap<Origin, Result<FileTransfersSet, Error>>, Error>
files
only.Transfer status for remote servers.
Trait Implementations§
Source§impl Account for NetworkAccount
impl Account for NetworkAccount
Source§type NetworkResult = SyncResult<<NetworkAccount as Account>::Error>
type NetworkResult = SyncResult<<NetworkAccount as Account>::Error>
Source§fn account_id(&self) -> &AccountId
fn account_id(&self) -> &AccountId
Source§fn backend_target<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = BackendTarget> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn backend_target<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = BackendTarget> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn folder<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<Folder, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn folder<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<Folder, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn is_authenticated<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn is_authenticated<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn import_account_events<'life0, 'async_trait>(
&'life0 mut self,
events: CreateSet,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn import_account_events<'life0, 'async_trait>(
&'life0 mut self,
events: CreateSet,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn new_device_vault<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(DeviceSigner, DeviceManager), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_device_vault<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(DeviceSigner, DeviceManager), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn device_signer<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DeviceSigner, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn device_signer<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DeviceSigner, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn device_public_key<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DevicePublicKey, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn device_public_key<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DevicePublicKey, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn patch_devices_unchecked<'life0, 'life1, 'async_trait>(
&'life0 mut self,
events: &'life1 [DeviceEvent],
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn patch_devices_unchecked<'life0, 'life1, 'async_trait>(
&'life0 mut self,
events: &'life1 [DeviceEvent],
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn revoke_device<'life0, 'life1, 'async_trait>(
&'life0 mut self,
device_key: &'life1 DevicePublicKey,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn revoke_device<'life0, 'life1, 'async_trait>(
&'life0 mut self,
device_key: &'life1 DevicePublicKey,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn current_device<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<TrustedDevice, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn current_device<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<TrustedDevice, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn trusted_devices<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<IndexSet<TrustedDevice>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn trusted_devices<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<IndexSet<TrustedDevice>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn public_identity<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PublicIdentity, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn public_identity<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PublicIdentity, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn account_name<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn account_name<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn folder_description<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn folder_description<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn set_folder_description<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
description: impl 'async_trait + AsRef<str> + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<FolderChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn set_folder_description<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
description: impl 'async_trait + AsRef<str> + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<FolderChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn login_folder_summary<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Summary, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn login_folder_summary<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Summary, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn reload_login_folder<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reload_login_folder<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn change_cipher<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
account_key: &'life1 AccessKey,
cipher: &'life2 Cipher,
kdf: Option<KeyDerivation>,
) -> Pin<Box<dyn Future<Output = Result<CipherComparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn change_cipher<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
account_key: &'life1 AccessKey,
cipher: &'life2 Cipher,
kdf: Option<KeyDerivation>,
) -> Pin<Box<dyn Future<Output = Result<CipherComparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn change_account_password<'life0, 'async_trait>(
&'life0 mut self,
password: SecretString,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn change_account_password<'life0, 'async_trait>(
&'life0 mut self,
password: SecretString,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn sign_in<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 AccessKey,
) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn sign_in<'life0, 'life1, 'async_trait>(
&'life0 mut self,
key: &'life1 AccessKey,
) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn verify<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 AccessKey,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn verify<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 AccessKey,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn open_folder<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn open_folder<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn current_folder<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn current_folder<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn history<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<Vec<(CommitHash, UtcDateTime, WriteEvent)>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn history<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<Vec<(CommitHash, UtcDateTime, WriteEvent)>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn sign_out<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sign_out<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn rename_account<'life0, 'async_trait>(
&'life0 mut self,
account_name: String,
) -> Pin<Box<dyn Future<Output = Result<AccountChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rename_account<'life0, 'async_trait>(
&'life0 mut self,
account_name: String,
) -> Pin<Box<dyn Future<Output = Result<AccountChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn delete_account<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_account<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn find<'life0, 'async_trait, P>(
&'life0 self,
predicate: P,
) -> Pin<Box<dyn Future<Output = Option<Summary>> + Send + 'async_trait>>
fn find<'life0, 'async_trait, P>( &'life0 self, predicate: P, ) -> Pin<Box<dyn Future<Output = Option<Summary>> + Send + 'async_trait>>
Source§fn find_folder<'life0, 'life1, 'async_trait>(
&'life0 self,
vault: &'life1 FolderRef,
) -> Pin<Box<dyn Future<Output = Option<Summary>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn find_folder<'life0, 'life1, 'async_trait>(
&'life0 self,
vault: &'life1 FolderRef,
) -> Pin<Box<dyn Future<Output = Option<Summary>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn load_folders<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_folders<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn list_folders<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_folders<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn list_secret_ids<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<Vec<SecretId>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_secret_ids<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<Vec<SecretId>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn account_data<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AccountData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn account_data<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AccountData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn root_hash<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<CommitHash, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn root_hash<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<CommitHash, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn identity_state<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<CommitState, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn identity_state<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<CommitState, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn commit_state<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<CommitState, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn commit_state<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<CommitState, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn compact_account<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<Summary, AccountEvent>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn compact_account<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<Summary, AccountEvent>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn compact_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<AccountEvent, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn compact_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<AccountEvent, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn restore_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
records: Vec<EventRecord>,
) -> Pin<Box<dyn Future<Output = Result<Summary, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn restore_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
records: Vec<EventRecord>,
) -> Pin<Box<dyn Future<Output = Result<Summary, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn change_folder_password<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
new_key: AccessKey,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn change_folder_password<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
new_key: AccessKey,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn detached_view<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
commit: CommitHash,
) -> Pin<Box<dyn Future<Output = Result<DetachedView, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn detached_view<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
commit: CommitHash,
) -> Pin<Box<dyn Future<Output = Result<DetachedView, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn initialize_search_index<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(DocumentCount, Vec<Summary>), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn initialize_search_index<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(DocumentCount, Vec<Summary>), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn statistics<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AccountStatistics> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn statistics<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AccountStatistics> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn search_index<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<SearchIndex>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn search_index<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<SearchIndex>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn query_view<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
views: &'life1 [DocumentView],
archive: Option<&'life2 ArchiveFilter>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Document>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn query_view<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
views: &'life1 [DocumentView],
archive: Option<&'life2 ArchiveFilter>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Document>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn query_map<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str,
filter: QueryFilter,
) -> Pin<Box<dyn Future<Output = Result<Vec<Document>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn query_map<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str,
filter: QueryFilter,
) -> Pin<Box<dyn Future<Output = Result<Vec<Document>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn document_count<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DocumentCount, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn document_count<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<DocumentCount, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn document_exists<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
vault_id: &'life1 VaultId,
label: &'life2 str,
id: Option<&'life3 SecretId>,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn document_exists<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
vault_id: &'life1 VaultId,
label: &'life2 str,
id: Option<&'life3 SecretId>,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn download_file<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
vault_id: &'life1 VaultId,
secret_id: &'life2 SecretId,
file_name: &'life3 ExternalFileName,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn download_file<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
vault_id: &'life1 VaultId,
secret_id: &'life2 SecretId,
file_name: &'life3 ExternalFileName,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn create_secret<'life0, 'async_trait>(
&'life0 mut self,
meta: SecretMeta,
secret: Secret,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_secret<'life0, 'async_trait>(
&'life0 mut self,
meta: SecretMeta,
secret: Secret,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn insert_secrets<'life0, 'async_trait>(
&'life0 mut self,
secrets: Vec<(SecretMeta, Secret)>,
) -> Pin<Box<dyn Future<Output = Result<SecretInsert<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn insert_secrets<'life0, 'async_trait>(
&'life0 mut self,
secrets: Vec<(SecretMeta, Secret)>,
) -> Pin<Box<dyn Future<Output = Result<SecretInsert<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn update_secret<'life0, 'life1, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
meta: SecretMeta,
secret: Option<Secret>,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_secret<'life0, 'life1, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
meta: SecretMeta,
secret: Option<Secret>,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn move_secret<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
from: &'life2 VaultId,
to: &'life3 VaultId,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretMove<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn move_secret<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
from: &'life2 VaultId,
to: &'life3 VaultId,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretMove<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn read_secret<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
secret_id: &'life1 SecretId,
folder: Option<&'life2 VaultId>,
) -> Pin<Box<dyn Future<Output = Result<(SecretRow, ReadEvent), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn read_secret<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
secret_id: &'life1 SecretId,
folder: Option<&'life2 VaultId>,
) -> Pin<Box<dyn Future<Output = Result<(SecretRow, ReadEvent), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn raw_secret<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
secret_id: &'life2 SecretId,
) -> Pin<Box<dyn Future<Output = Result<Option<(VaultCommit, ReadEvent)>, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn raw_secret<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
secret_id: &'life2 SecretId,
) -> Pin<Box<dyn Future<Output = Result<Option<(VaultCommit, ReadEvent)>, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn delete_secret<'life0, 'life1, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretDelete<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_secret<'life0, 'life1, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretDelete<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn archive<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
secret_id: &'life2 SecretId,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretMove<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn archive<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
secret_id: &'life2 SecretId,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretMove<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn unarchive<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
secret_kind: &'life2 SecretType,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<(SecretMove<Self::NetworkResult>, Summary), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn unarchive<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
secret_kind: &'life2 SecretType,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<(SecretMove<Self::NetworkResult>, Summary), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn update_file<'life0, 'life1, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
meta: SecretMeta,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_file<'life0, 'life1, 'async_trait>(
&'life0 mut self,
secret_id: &'life1 SecretId,
meta: SecretMeta,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
options: AccessOptions,
) -> Pin<Box<dyn Future<Output = Result<SecretChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn create_folder<'life0, 'async_trait>(
&'life0 mut self,
options: NewFolderOptions,
) -> Pin<Box<dyn Future<Output = Result<FolderCreate<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_folder<'life0, 'async_trait>(
&'life0 mut self,
options: NewFolderOptions,
) -> Pin<Box<dyn Future<Output = Result<FolderCreate<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn rename_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
name: String,
) -> Pin<Box<dyn Future<Output = Result<FolderChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn rename_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
name: String,
) -> Pin<Box<dyn Future<Output = Result<FolderChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn update_folder_flags<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
flags: VaultFlags,
) -> Pin<Box<dyn Future<Output = Result<FolderChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_folder_flags<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
flags: VaultFlags,
) -> Pin<Box<dyn Future<Output = Result<FolderChange<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn import_folder<'life0, 'async_trait>(
&'life0 mut self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
key: AccessKey,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<FolderCreate<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn import_folder<'life0, 'async_trait>(
&'life0 mut self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
key: AccessKey,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<FolderCreate<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn import_login_folder<'life0, 'async_trait>(
&'life0 mut self,
vault: Vault,
) -> Pin<Box<dyn Future<Output = Result<AccountEvent, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn import_login_folder<'life0, 'async_trait>(
&'life0 mut self,
vault: Vault,
) -> Pin<Box<dyn Future<Output = Result<AccountEvent, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn import_folder_buffer<'life0, 'async_trait>(
&'life0 mut self,
buffer: impl 'async_trait + AsRef<[u8]> + Send + Sync,
key: AccessKey,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<FolderCreate<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn import_folder_buffer<'life0, 'async_trait>(
&'life0 mut self,
buffer: impl 'async_trait + AsRef<[u8]> + Send + Sync,
key: AccessKey,
overwrite: bool,
) -> Pin<Box<dyn Future<Output = Result<FolderCreate<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn export_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
folder_id: &'life1 VaultId,
new_key: AccessKey,
save_key: bool,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn export_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
folder_id: &'life1 VaultId,
new_key: AccessKey,
save_key: bool,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn export_folder_buffer<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
new_key: AccessKey,
save_key: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn export_folder_buffer<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
new_key: AccessKey,
save_key: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn delete_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<FolderDelete<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<FolderDelete<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn forget_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn forget_folder<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn load_avatar<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
secret_id: &'life1 SecretId,
folder: Option<&'life2 VaultId>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn load_avatar<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
secret_id: &'life1 SecretId,
folder: Option<&'life2 VaultId>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn export_contact<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
secret_id: &'life1 SecretId,
folder: Option<&'life2 VaultId>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn export_contact<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
secret_id: &'life1 SecretId,
folder: Option<&'life2 VaultId>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn export_all_contacts<'life0, 'async_trait>(
&'life0 self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn export_all_contacts<'life0, 'async_trait>(
&'life0 self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn import_contacts<'life0, 'life1, 'async_trait>(
&'life0 mut self,
content: &'life1 str,
progress: impl 'async_trait + Fn(ContactImportProgress) + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<Vec<SecretId>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn import_contacts<'life0, 'life1, 'async_trait>(
&'life0 mut self,
content: &'life1 str,
progress: impl 'async_trait + Fn(ContactImportProgress) + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<Vec<SecretId>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn export_unsafe_archive<'life0, 'async_trait>(
&'life0 self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn export_unsafe_archive<'life0, 'async_trait>(
&'life0 self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn import_file<'life0, 'async_trait>(
&'life0 mut self,
target: ImportTarget,
) -> Pin<Box<dyn Future<Output = Result<FolderCreate<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn import_file<'life0, 'async_trait>(
&'life0 mut self,
target: ImportTarget,
) -> Pin<Box<dyn Future<Output = Result<FolderCreate<Self::NetworkResult>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn export_backup_archive<'life0, 'async_trait>(
&'life0 self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn export_backup_archive<'life0, 'async_trait>(
&'life0 self,
path: impl 'async_trait + AsRef<Path> + Send + Sync,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn import_backup_archive<'life0, 'async_trait>(
path: impl 'async_trait + AsRef<Path> + Send + Sync,
target: &'life0 BackendTarget,
) -> Pin<Box<dyn Future<Output = Result<Vec<PublicIdentity>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
fn import_backup_archive<'life0, 'async_trait>(
path: impl 'async_trait + AsRef<Path> + Send + Sync,
target: &'life0 BackendTarget,
) -> Pin<Box<dyn Future<Output = Result<Vec<PublicIdentity>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Source§fn copy_clipboard<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
clipboard: &'life1 Clipboard,
target: &'life2 SecretPath,
request: &'life3 ClipboardCopyRequest,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn copy_clipboard<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
clipboard: &'life1 Clipboard,
target: &'life2 SecretPath,
request: &'life3 ClipboardCopyRequest,
) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn default_folder<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<Summary>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn default_folder<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<Summary>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
Source§fn authenticator_folder<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<Summary>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
fn authenticator_folder<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<Summary>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: Sync + 'async_trait,
Source§impl AccountSync for NetworkAccount
impl AccountSync for NetworkAccount
Source§fn sync<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SyncResult<Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sync<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SyncResult<Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn sync_with_options<'life0, 'life1, 'async_trait>(
&'life0 self,
options: &'life1 SyncOptions,
) -> Pin<Box<dyn Future<Output = SyncResult<Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn sync_with_options<'life0, 'life1, 'async_trait>(
&'life0 self,
options: &'life1 SyncOptions,
) -> Pin<Box<dyn Future<Output = SyncResult<Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn sync_file_transfers<'life0, 'life1, 'async_trait>(
&'life0 self,
options: &'life1 SyncOptions,
) -> Pin<Box<dyn Future<Output = SyncResult<Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn sync_file_transfers<'life0, 'life1, 'async_trait>(
&'life0 self,
options: &'life1 SyncOptions,
) -> Pin<Box<dyn Future<Output = SyncResult<Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn force_update<'life0, 'life1, 'async_trait>(
&'life0 self,
account_data: UpdateSet,
options: &'life1 SyncOptions,
) -> Pin<Box<dyn Future<Output = SyncResult<Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn force_update<'life0, 'life1, 'async_trait>(
&'life0 self,
account_data: UpdateSet,
options: &'life1 SyncOptions,
) -> Pin<Box<dyn Future<Output = SyncResult<Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl DelegatedAccess for NetworkAccount
impl DelegatedAccess for NetworkAccount
Source§fn find_folder_password<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<Option<AccessKey>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn find_folder_password<'life0, 'life1, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<Option<AccessKey>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn remove_folder_password<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_folder_password<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn save_folder_password<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
key: AccessKey,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_folder_password<'life0, 'life1, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
key: AccessKey,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl ForceMerge for NetworkAccount
impl ForceMerge for NetworkAccount
Source§fn force_merge_files<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: FileDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn force_merge_files<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: FileDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Force merge changes to the files event log.
Source§fn force_merge_identity<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: FolderDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn force_merge_identity<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: FolderDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn force_merge_account<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: AccountDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn force_merge_account<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: AccountDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn force_merge_device<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: DeviceDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn force_merge_device<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: DeviceDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn force_merge_folder<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
diff: FolderDiff,
outcome: &'life2 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn force_merge_folder<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
diff: FolderDiff,
outcome: &'life2 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn force_merge_update<'life0, 'life1, 'async_trait>(
&'life0 mut self,
update_set: UpdateSet,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
fn force_merge_update<'life0, 'life1, 'async_trait>(
&'life0 mut self,
update_set: UpdateSet,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
Source§impl From<&NetworkAccount> for AccountRef
impl From<&NetworkAccount> for AccountRef
Source§fn from(value: &NetworkAccount) -> Self
fn from(value: &NetworkAccount) -> Self
Source§impl Merge for NetworkAccount
impl Merge for NetworkAccount
Source§fn merge_identity<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: FolderDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<CheckedPatch, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn merge_identity<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: FolderDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<CheckedPatch, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn compare_identity<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn compare_identity<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn merge_account<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: AccountDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(CheckedPatch, HashSet<VaultId>), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn merge_account<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: AccountDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(CheckedPatch, HashSet<VaultId>), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn compare_account<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn compare_account<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn merge_device<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: DeviceDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<CheckedPatch, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn merge_device<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: DeviceDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<CheckedPatch, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn compare_device<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn compare_device<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn merge_files<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: FileDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<CheckedPatch, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn merge_files<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: FileDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<CheckedPatch, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn compare_files<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn compare_files<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn merge_folder<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
diff: FolderDiff,
outcome: &'life2 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(CheckedPatch, Vec<WriteEvent>), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn merge_folder<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
folder_id: &'life1 VaultId,
diff: FolderDiff,
outcome: &'life2 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<(CheckedPatch, Vec<WriteEvent>), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn compare_folder<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
state: &'life2 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn compare_folder<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
folder_id: &'life1 VaultId,
state: &'life2 CommitState,
) -> Pin<Box<dyn Future<Output = Result<Comparison, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn compare<'life0, 'life1, 'async_trait>(
&'life0 mut self,
remote_status: &'life1 SyncStatus,
) -> Pin<Box<dyn Future<Output = Result<SyncCompare, Self::Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
fn compare<'life0, 'life1, 'async_trait>(
&'life0 mut self,
remote_status: &'life1 SyncStatus,
) -> Pin<Box<dyn Future<Output = Result<SyncCompare, Self::Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
Source§fn merge<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: SyncDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<SyncCompare, Self::Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
fn merge<'life0, 'life1, 'async_trait>(
&'life0 mut self,
diff: SyncDiff,
outcome: &'life1 mut MergeOutcome,
) -> Pin<Box<dyn Future<Output = Result<SyncCompare, Self::Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
Source§impl StorageEventLogs for NetworkAccount
impl StorageEventLogs for NetworkAccount
Source§fn identity_log<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<FolderEventLog>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn identity_log<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<FolderEventLog>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn account_log<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<AccountEventLog>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn account_log<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<AccountEventLog>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn device_log<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<DeviceEventLog>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn device_log<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<DeviceEventLog>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn file_log<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<FileEventLog>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn file_log<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<RwLock<FileEventLog>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn folder_details<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<IndexSet<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn folder_details<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<IndexSet<Summary>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl SyncStorage for NetworkAccount
impl SyncStorage for NetworkAccount
Source§fn is_client_storage(&self) -> bool
fn is_client_storage(&self) -> bool
Source§fn sync_status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SyncStatus, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sync_status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SyncStatus, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for NetworkAccount
impl !RefUnwindSafe for NetworkAccount
impl Send for NetworkAccount
impl Sync for NetworkAccount
impl Unpin for NetworkAccount
impl !UnwindSafe for NetworkAccount
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more