use entrust_agent::client::{get_age_identity, set_age_identity}; use std::io; fn main() -> io::Result<()> { let received = get_age_identity(Some("pin".to_string()))?; println!("Client: Got age identity: {received:?}"); println!("Client: Setting age identity"); set_age_identity("some identity".to_string(), Some("pin".to_string()))?; println!("Client: Getting age identity"); let received = get_age_identity(Some("pin".to_string()))?; println!("Client: Got response: {received:?}"); Ok(()) }