Function safe_core::immutable_data::get_value [] [src]

pub fn get_value<T: 'static>(
    client: &Client<T>,
    name: &XorName,
    decryption_key: Option<Key>
) -> Box<CoreFuture<Vec<u8>>>

Get immutable data from the network and extract its value, decrypting it in the process (if keys provided). This is a convenience function combining get and extract_value into one function.