pub trait Agent: Clone { type F: Future<Item = bool, Error = Error> + From<bool>; fn confirm(&self, pk: &KeyPair) -> Self::F { ... } }
Called when data is about to be signed, and a confirmation is needed.