pub fn new(key: Key<P>) -> Self {
        let req = send(CRequest::List).list();
        let db = vault::DBView::load(key.clone(), req).expect(line_error!());
        Self {
            key,
            db: RefCell::new(Some(db)),
        }
    }
// create a new vault for the key.
create a new vault for the key.
create a new vault for the key .
pub fn new(key: Key<P>) -> Self {
        let req = send(CRequest::List).list();
        let db = vault::DBView::load(key.clone(), req).expect(line_error!());
        Self {
            key,
            db: RefCell::new(Some(db)),
        }
    }
pub fn new ( key : Key < P > ) -> Self { let req = send ( CRequest :: List ) . list ( ) ; let db = vault :: DBView :: load ( key . clone ( ) , req ) . expect ( line_error ! ( ) ) ; Self { key , db : RefCell :: new ( Some ( db ) ) , } }
create a new vault for the key.
create a new vault for the key .
key
Key<P>