pub fn build_get_ddo_request_timeout(submitter_did: &str, target_did: &str, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Ledger::_build_get_ddo_request(command_handle, submitter_did, target_did, cb);

        ResultHandler::one_timeout(err, receiver, timeout)
    }
/// Builds a request to get a DDO.
///
/// # Arguments
/// * `submitter_did` - Id of Identity stored in secured Wallet.
/// * `target_did` - Id of Identity stored in secured Wallet.
/// * `timeout` - the maximum time this function waits for a response
///
/// # Returns
/// Request result as json.
Builds a request to get a DDO.
Builds a request to get a DDO .
pub fn build_get_ddo_request_timeout(submitter_did: &str, target_did: &str, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Ledger::_build_get_ddo_request(command_handle, submitter_did, target_did, cb);
        ResultHandler::one_timeout(err, receiver, timeout)
    }
pub fn build_get_ddo_request_timeout ( submitter_did : & str , target_did : & str , timeout : Duration ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Ledger :: _build_get_ddo_request ( command_handle , submitter_did , target_did , cb ) ; ResultHandler :: one_timeout ( err , receiver , timeout ) }
Builds a request to get a DDO.
Builds a request to get a DDO .
Request result as json.
Request result as json .
submitter_did
&str
target_did
&str
timeout
Duration