Lines Matching defs:std
1 use std::ffi::CString;
6 impl std::fmt::Debug for DlDescription {
7 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
8 std::fmt::Debug::fmt(&self.0, f)
13 pub struct WindowsError(pub(crate) std::io::Error);
15 impl std::fmt::Debug for WindowsError {
16 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
17 std::fmt::Debug::fmt(&self.0, f)
79 source: std::ffi::NulError
84 source: std::ffi::FromBytesWithNulError
88 impl std::error::Error for Error {
89 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
102 impl std::fmt::Display for Error {
103 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {