[][src]Function rust_hdfs::hdfsBuilderConfSetStr

pub unsafe extern "C" fn hdfsBuilderConfSetStr(
    bld: *mut hdfsBuilder,
    key: *const c_char,
    val: *const c_char
) -> c_int

Set a configuration string for an HdfsBuilder.

@param key The key to set. @param val The value, or NULL to set no value. This will be shallow-copied. You are responsible for ensuring that it remains valid until the builder is freed.

@return 0 on success; nonzero error code otherwise.