Lines Matching refs:str
24 use std::str;
903 name: &str,
904 value: &str,
956 value: &str,
1072 /// Add a field entry by str.
1077 pub fn append_entry_by_text(&mut self, field: &str, value: &str) -> Result<(), ErrorStack> {
1094 /// Add a field entry by str with a specific type.
1101 field: &str,
1102 value: &str,
1126 pub fn append_entry_by_nid(&mut self, field: Nid, value: &str) -> Result<(), ErrorStack> {
1150 value: &str,
1964 pub fn error_string(&self) -> &'static str {
1969 str::from_utf8(CStr::from_ptr(s).to_bytes()).unwrap()
2091 fn ia5_string(&self, ffi_type: c_int) -> Option<&str> {
2109 str::from_utf8(slice).ok()
2114 pub fn email(&self) -> Option<&str> {
2135 pub fn dnsname(&self) -> Option<&str> {
2140 pub fn uri(&self) -> Option<&str> {
2494 pub fn get_by_sname(sname: &str) -> Result<c_int, ErrorStack> {