Struct safe_vault::Vault [] [src]

pub struct Vault {
    // some fields omitted
}

Main struct to hold all personas and Routing instance

Methods

impl Vault
[src]

fn new(first_vault: bool, use_cache: bool) -> Result<Self, InternalError>

Creates a network Vault instance.

fn run(&mut self) -> Result<bool, InternalError>

Run the event loop, processing events received from Routing.