Trait AsCSlice
kync
pub trait AsCSlice { fn c_slice<'a>(&'a self) -> CSlice<'a, *const u8>; }
A trait for types that are convertible to a CSlice<*const u8>
CSlice<*const u8>
fn c_slice<'a>(&'a self) -> CSlice<'a, *const u8>
impl<'_> AsCSlice for &'_ [u8]