Function rustls_ffi::rslice::rustls_slice_str_get

source ยท
#[no_mangle]
pub extern "C" fn rustls_slice_str_get(
    input: *const rustls_slice_str<'_>,
    n: size_t,
) -> rustls_str<'_>
Expand description

Retrieve the nth element from the input slice of &strs.

If the input pointer is NULL, or n is greater than the length of the rustls_slice_str, returns rustls_str{NULL, 0}.