Lines Matching refs:errmsg
114 errmsg: Option<String>, field
120 pub fn errmsg(&self) -> Option<&str> { in errmsg() method
121 self.errmsg.as_deref() in errmsg()
129 fn new(error: Error, errmsg: Option<&CStr>) -> Self { in new()
132 errmsg: errmsg.map(CStr::to_string_lossy).map(Cow::into_owned), in new()
143 if let Some(errmsg) = &self.errmsg { in fmt()
144 write!(f, "{:?}: {}: {}", self.errno, errmsg, self.errno.desc()) in fmt()
380 let mut errmsg = vec![0u8; 255]; in nmount() localVariable
389 iov_base: errmsg.as_mut_ptr() as *mut c_void, in nmount()
390 iov_len: errmsg.len(), in nmount()
399 let errmsg = match errmsg.iter().position(|&x| x == 0) { in nmount() localVariable
403 let sl = &errmsg[0..n + 1]; in nmount()
407 Err(NmountError::new(error, errmsg)) in nmount()