Searched defs:CString (Results 1 – 1 of 1) sorted by relevance
101 fn try_new<T: TryAllocInto<Vec<u8>>>(t: T) -> Result<CString, TryNewError>; in try_new()120 unsafe fn try_from_vec_unchecked(v: Vec<u8>) -> Result<CString, AllocError>; in try_from_vec_unchecked()123 impl FallibleCString for CString { implementation124 fn try_new<T: TryAllocInto<Vec<u8>>>(t: T) -> Result<CString, TryNewError> { in try_new()158 unsafe fn try_from_vec_unchecked(mut v: Vec<u8>) -> Result<CString, AllocError> { in try_from_vec_unchecked()165 impl TryClone for CString { implementation