pub fn vault(key: &str, book: &mut Book, password: &str) -> VResult<()> {
    if let Some(service) = load_service(book)? {
        synchronize(*service, key, book, password)
    } else {
        Ok(())
    }
}
/// Synchronizes local changes to remote.
/// Unsynchronized books are skipped with Ok.
Synchronizes local changes to remote.
Unsynchronized books are skipped with Ok.
Synchronizes local changes to remote . Unsynchronized books are skipped with Ok .
pub fn vault(key: &str, book: &mut Book, password: &str) -> VResult<()> {
    if let Some(service) = load_service(book)? {
        synchronize(*service, key, book, password)
    } else {
        Ok(())
    }
}
pub fn vault ( key : & str , book : & mut Book , password : & str ) -> VResult < ( ) > { if let Some ( service ) = load_service ( book ) ? { synchronize ( * service , key , book , password ) } else { Ok ( ( ) ) } }
Synchronizes local changes to remote.
Synchronizes local changes to remote .
key
&str
book
&mut Book
password
&str
key
&str
book
&mut Book
password
&str