Searched refs:with_io_error (Results 1 – 2 of 2) sorted by relevance
342 pub(crate) fn with_io_error<E>(kind: io::ErrorKind, error: E) -> Self in with_io_error() method354 Self::with_io_error(io::ErrorKind::InvalidData, error) in with_invalid_data()528 self.ok_or_else(|| Error::with_io_error(kind, f().to_string())) in ok_or_error()
327 Error::with_io_error(io::ErrorKind::Other, "could not determine pointer size") in ptr_size()