[][src]Function holochain_core::nucleus::actions::validate::validate_entry

pub fn validate_entry(
    entry_type: EntryType,
    entry: Entry,
    validation_data: ValidationData,
    context: &Arc<Context>
) -> Box<Future<Item = HashString, Error = HolochainError>>

ValidateEntry Action Creator This is the high-level validate function that wraps the whole validation process and is what should be called from zome api functions and other contexts that don't care about implementation details.

Returns a future that resolves to an Ok(ActionWrapper) or an Err(error_message:String).