Struct ockam_vault_sync_core::VaultSync[][src]

pub struct VaultSync(_);

Vault sync wrapper

Implementations

impl VaultSync[src]

pub fn start_another(&self) -> Result<Self>[src]

Start another Vault at the same address.

impl VaultSync[src]

pub fn create_with_mutex<T: VaultTrait>(vault: T) -> Self[src]

Create and start a new Vault using Mutex.

pub async fn create_with_worker(
    ctx: &Context,
    vault_worker_address: Address,
    error_domain: &'static str
) -> Result<Self>
[src]

Create and start a new Vault using Worker.

pub async fn create<T: VaultTrait>(ctx: &Context, vault: T) -> Result<Self>[src]

Start a Vault.

Trait Implementations

impl AsymmetricVault for VaultSync[src]

impl Clone for VaultSync[src]

impl Hasher for VaultSync[src]

impl KeyIdVault for VaultSync[src]

impl SecretVault for VaultSync[src]

impl Signer for VaultSync[src]

impl SymmetricVault for VaultSync[src]

impl Verifier for VaultSync[src]

impl Zeroize for VaultSync[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,