pub trait Debug {
// Required method
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
}
Expand description
?
formatting.
Debug
should format the output in a programmer-facing, debugging context.
Generally speaking, you should just derive
a Debug
implementation.
When used with the alternate format specifier #?
, the output is pretty-printed.
For more information on formatters, see the module-level documentation.
This trait can be used with #[derive]
if all fields implement Debug
. When
derive
d for structs, it will use the name of the struct
, then {
, then a
comma-separated list of each field’s name and Debug
value, then }
. For
enum
s, it will use the name of the variant and, if applicable, (
, then the
Debug
values of the fields, then )
.
Stability
Derived Debug
formats are not stable, and so may change with future Rust
versions. Additionally, Debug
implementations of types provided by the
standard library (std
, core
, alloc
, etc.) are not stable, and
may also change with future Rust versions.
Examples
Deriving an implementation:
#[derive(Debug)]
struct Point {
x: i32,
y: i32,
}
let origin = Point { x: 0, y: 0 };
assert_eq!(format!("The origin is: {origin:?}"), "The origin is: Point { x: 0, y: 0 }");
Manually implementing:
use std::fmt;
struct Point {
x: i32,
y: i32,
}
impl fmt::Debug for Point {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Point")
.field("x", &self.x)
.field("y", &self.y)
.finish()
}
}
let origin = Point { x: 0, y: 0 };
assert_eq!(format!("The origin is: {origin:?}"), "The origin is: Point { x: 0, y: 0 }");
There are a number of helper methods on the Formatter
struct to help you with manual
implementations, such as debug_struct
.
Types that do not wish to use the standard suite of debug representations
provided by the Formatter
trait (debug_struct
, debug_tuple
,
debug_list
, debug_set
, debug_map
) can do something totally custom by
manually writing an arbitrary representation to the Formatter
.
impl fmt::Debug for Point {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "Point [{} {}]", self.x, self.y)
}
}
Debug
implementations using either derive
or the debug builder API
on Formatter
support pretty-printing using the alternate flag: {:#?}
.
Pretty-printing with #?
:
#[derive(Debug)]
struct Point {
x: i32,
y: i32,
}
let origin = Point { x: 0, y: 0 };
assert_eq!(format!("The origin is: {origin:#?}"),
"The origin is: Point {
x: 0,
y: 0,
}");
Required Methods§
sourcefn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
Formats the value using the given formatter.
Examples
use std::fmt;
struct Position {
longitude: f32,
latitude: f32,
}
impl fmt::Debug for Position {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_tuple("")
.field(&self.longitude)
.field(&self.latitude)
.finish()
}
}
let position = Position { longitude: 1.987, latitude: 2.983 };
assert_eq!(format!("{position:?}"), "(1.987, 2.983)");
assert_eq!(format!("{position:#?}"), "(
1.987,
2.983,
)");
Implementors§
impl Debug for AccessMethod
impl Debug for AddressBit
impl Debug for AgpSlotWidth
impl Debug for BoardType
impl Debug for BootOption
impl Debug for BootOptionOnLimit
impl Debug for BusNumber
impl Debug for CacheAssociativity
impl Debug for CacheLocation
impl Debug for CacheMemorySize
impl Debug for CacheOperationalMode
impl Debug for ChassisHeight
impl Debug for ChassisLockPresence
impl Debug for ChassisSecurityStatus
impl Debug for ChassisState
impl Debug for ChassisType
impl Debug for CoolingDeviceStatus
impl Debug for CoolingDeviceType
impl Debug for CoreCount2
impl Debug for CoreCount
impl Debug for CoresEnabled2
impl Debug for CoresEnabled
impl Debug for CpuStatus
impl Debug for CurrentProbeAccuracy
impl Debug for CurrentProbeLocation
impl Debug for CurrentProbeResolution
impl Debug for CurrentProbeStatus
impl Debug for DeviceFunctionNumber
impl Debug for DeviceStatus
impl Debug for ElementMaximum
impl Debug for ElementMinimum
impl Debug for ElementType
impl Debug for ErrorCorrectionType
impl Debug for ErrorDetectingMethod
impl Debug for FirmwareIdFormat
impl Debug for FirmwareImageSize
impl Debug for FirmwareInventoryStateInformation
impl Debug for HardwareSecurityStatus
impl Debug for HeaderFormat
impl Debug for HostInterfaceType
impl Debug for HostProtocolType
impl Debug for InputVoltageRangeSwitching
impl Debug for InterleaveSupport
impl Debug for InterruptInfo
impl Debug for InterruptPolarity
impl Debug for InterruptTriggerMode
impl Debug for IpmiInterfaceType
impl Debug for LanguageFormat
impl Debug for LogType
impl Debug for M2SlotType
impl Debug for MXMSlotType
impl Debug for ManagementDeviceAddressType
impl Debug for ManagementDeviceType
impl Debug for MaxPowerCapacity
impl Debug for MaximumMemoryCapacity
impl Debug for MemoryArrayErrorCorrection
impl Debug for MemoryArrayLocation
impl Debug for MemoryArrayUse
impl Debug for MemoryChannelType
impl Debug for MemoryDeviceTechnology
impl Debug for MemoryDeviceType
impl Debug for MemoryErrorGranularity
impl Debug for MemoryErrorOperation
impl Debug for MemoryErrorType
impl Debug for MemoryFormFactor
impl Debug for MemoryIndicatedSize
impl Debug for MemorySize
impl Debug for MemorySizeExtended
impl Debug for MemorySpeed
impl Debug for MemorySpeedExtended
impl Debug for PciExpressGeneration
impl Debug for PciExpressSlotWidth
impl Debug for PointingDeviceInterface
impl Debug for PointingDeviceType
impl Debug for PortInformationConnectorType
impl Debug for PortInformationPortType
impl Debug for PortableBatteryDesignCapacity
impl Debug for PortableBatteryDesignVoltage
impl Debug for PortableBatteryDeviceChemistry
impl Debug for PowerCords
impl Debug for PowerSupplyStatus
impl Debug for PowerSupplyType
impl Debug for ProbeAmperage
impl Debug for ProbeTemperature
impl Debug for ProbeVoltage
impl Debug for ProcessorArchitectureType
impl Debug for ProcessorExternalClock
impl Debug for ProcessorFamily
impl Debug for ProcessorSpeed
impl Debug for ProcessorType
impl Debug for ProcessorUpgrade
impl Debug for ProcessorVoltage
impl Debug for RegisterSpacing
impl Debug for ResetCount
impl Debug for ResetLimit
impl Debug for RomSize
impl Debug for RotationalSpeed
impl Debug for SegmentGroupNumber
impl Debug for SlotCurrentUsage
impl Debug for SlotHeight
impl Debug for SlotLength
impl Debug for SlotWidth
impl Debug for StringPropertyId
impl Debug for SystemBootStatus
impl Debug for SystemCacheType
impl Debug for SystemSlotType
impl Debug for SystemUuidData
impl Debug for SystemWakeUpType
impl Debug for TemperatureProbeAccuracy
impl Debug for TemperatureProbeLocation
impl Debug for TemperatureProbeResolution
impl Debug for TemperatureProbeStatus
impl Debug for ThreadCount2
impl Debug for ThreadCount
impl Debug for ThreadEnabled
impl Debug for Timeout
impl Debug for TimerInterval
impl Debug for TypeOfDevice
impl Debug for VariableDataFormatType
impl Debug for VersionFormat
impl Debug for VoltageProbeAccuracy
impl Debug for VoltageProbeLocation
impl Debug for VoltageProbeResolution
impl Debug for VoltageProbeStatus
impl Debug for ErrorKind
impl Debug for SeekFrom
impl Debug for SMBiosStringError
impl Debug for smbioslib::fmt::Alignment
impl Debug for TryReserveErrorKind
impl Debug for AsciiChar
impl Debug for core::cmp::Ordering
impl Debug for Infallible
impl Debug for Which
impl Debug for c_void
impl Debug for IpAddr
impl Debug for Ipv6MulticastScope
impl Debug for core::net::socket_addr::SocketAddr
impl Debug for FpCategory
impl Debug for IntErrorKind
impl Debug for SearchStep
impl Debug for core::sync::atomic::Ordering
impl Debug for BacktraceStatus
impl Debug for VarError
impl Debug for Shutdown
impl Debug for AncillaryError
impl Debug for BacktraceStyle
impl Debug for RecvTimeoutError
impl Debug for TryRecvError
impl Debug for _Unwind_Reason_Code
impl Debug for bool
impl Debug for char
impl Debug for f32
impl Debug for f64
impl Debug for i8
impl Debug for i16
impl Debug for i32
impl Debug for i64
impl Debug for i128
impl Debug for isize
impl Debug for !
impl Debug for str
impl Debug for u8
impl Debug for u16
impl Debug for u32
impl Debug for u64
impl Debug for u128
impl Debug for ()
impl Debug for usize
impl Debug for DirBuilder
impl Debug for DirEntry
impl Debug for File
impl Debug for FileTimes
impl Debug for FileType
impl Debug for Metadata
impl Debug for OpenOptions
impl Debug for Permissions
impl Debug for ReadDir
impl Debug for BorrowedBuf<'_>
impl Debug for smbioslib::io::Empty
impl Debug for smbioslib::io::Error
impl Debug for smbioslib::io::Repeat
impl Debug for Sink
impl Debug for Stderr
impl Debug for StderrLock<'_>
impl Debug for Stdin
impl Debug for StdinLock<'_>
impl Debug for Stdout
impl Debug for StdoutLock<'_>
impl Debug for WriterPanicked
impl Debug for SMBiosString
impl Debug for SMBiosStringSet
impl Debug for AccessMethodData
impl Debug for AdditionalInformationEntry<'_>
impl Debug for BaseAddressModifier
impl Debug for BaseboardFeatures
impl Debug for BiosCharacteristics
impl Debug for BiosCharacteristicsExtension0
impl Debug for BiosCharacteristicsExtension1
impl Debug for BiosLanguageFlags
impl Debug for BoardTypeData
impl Debug for CacheAssociativityData
impl Debug for CacheConfiguaration
impl Debug for ChassisElement<'_>
impl Debug for ChassisSecurityStatusData
impl Debug for ChassisStateData
impl Debug for ChassisTypeData
impl Debug for Connections
impl Debug for CoolingDeviceTypeAndStatus
impl Debug for CurrentProbeLocationAndStatus
impl Debug for ErrorCorrectingCapabilities
impl Debug for ErrorCorrectionTypeData
impl Debug for ErrorDetectingMethodData
impl Debug for FirmwareIdFormatData
impl Debug for FirmwareInventoryCharacteristics
impl Debug for FirmwareInventoryStateInformationData
impl Debug for GroupAssociationItem<'_>
impl Debug for Handle
impl Debug for HardwareSecuritySettings
impl Debug for Header
impl Debug for HeaderFormatData
impl Debug for HostInterfaceTypeData
impl Debug for HostProtocolTypeData
impl Debug for InterleaveSupportData
impl Debug for IpmiInterfaceTypeData
impl Debug for LoadHandlePair<'_>
impl Debug for LogStatus
impl Debug for LogTypeData
impl Debug for ManagementDeviceAddressTypeData
impl Debug for ManagementDeviceTypeData
impl Debug for MemoryArrayErrorCorrectionData
impl Debug for MemoryArrayLocationData
impl Debug for MemoryArrayUseData
impl Debug for MemoryChannelTypeData
impl Debug for MemoryDeviceTechnologyData
impl Debug for MemoryDeviceTypeData
impl Debug for MemoryErrorGranularityData
impl Debug for MemoryErrorOperationData
impl Debug for MemoryErrorTypeData
impl Debug for MemoryFormFactorData
impl Debug for MemoryOperatingModeCapabilities
impl Debug for MemorySpeeds
impl Debug for MemoryTypeDetails
impl Debug for MemoryTypes
impl Debug for ModuleVoltage
impl Debug for OnBoardDevice<'_>
impl Debug for OnBoardDeviceType
impl Debug for PointingDeviceInterfaceData
impl Debug for PointingDeviceTypeData
impl Debug for PortInformationConnectorTypeData
impl Debug for PortInformationPortTypeData
impl Debug for PortableBatteryDeviceChemistryData
impl Debug for PowerSupplyCharacteristics
impl Debug for ProcessorArchitectureTypeData
impl Debug for ProcessorCharacteristics
impl Debug for ProcessorFamilyData2
impl Debug for ProcessorFamilyData
impl Debug for ProcessorSpecificBlock<'_>
impl Debug for ProcessorStatus
impl Debug for ProcessorSupportedVoltages
impl Debug for ProcessorTypeData
impl Debug for ProcessorUpgradeData
impl Debug for ProtocolRecord<'_>
impl Debug for SMBiosAdditionalInformation<'_>
impl Debug for SMBiosBaseboardInformation<'_>
impl Debug for SMBiosBiosLanguageInformation<'_>
impl Debug for SMBiosBisEntryPoint<'_>
impl Debug for SMBiosBuiltInPointingDevice<'_>
impl Debug for SMBiosCacheInformation<'_>
impl Debug for SMBiosCoolingDevice<'_>
impl Debug for SMBiosData
impl Debug for SMBiosElectricalCurrentProbe<'_>
impl Debug for SMBiosEndOfTable<'_>
impl Debug for SMBiosEntryPoint32
impl Debug for SMBiosEntryPoint64
impl Debug for SMBiosFirmwareInventoryInformation<'_>
impl Debug for SMBiosGroupAssociations<'_>
impl Debug for SMBiosHardwareSecurity<'_>
impl Debug for SMBiosInactive<'_>
impl Debug for SMBiosInformation<'_>
impl Debug for SMBiosIpmiDeviceInformation<'_>
impl Debug for SMBiosManagementControllerHostInterface<'_>
impl Debug for SMBiosManagementDevice<'_>
impl Debug for SMBiosManagementDeviceComponent<'_>
impl Debug for SMBiosManagementDeviceThresholdData<'_>
impl Debug for SMBiosMemoryArrayMappedAddress<'_>
impl Debug for SMBiosMemoryChannel<'_>
impl Debug for SMBiosMemoryControllerInformation<'_>
impl Debug for SMBiosMemoryDevice<'_>
impl Debug for SMBiosMemoryDeviceMappedAddress<'_>
impl Debug for SMBiosMemoryErrorInformation32<'_>
impl Debug for SMBiosMemoryErrorInformation64<'_>
impl Debug for SMBiosMemoryModuleInformation<'_>
impl Debug for SMBiosOemStrings<'_>
impl Debug for SMBiosOnBoardDeviceInformation<'_>
impl Debug for SMBiosOnboardDevicesExtendedInformation<'_>
impl Debug for SMBiosOutOfBandRemoteAccess<'_>
impl Debug for SMBiosPhysicalMemoryArray<'_>
impl Debug for SMBiosPortConnectorInformation<'_>
impl Debug for SMBiosPortableBattery<'_>
impl Debug for SMBiosProcessorAdditionalInformation<'_>
impl Debug for SMBiosProcessorInformation<'_>
impl Debug for SMBiosStringProperty<'_>
impl Debug for SMBiosSystemBootInformation<'_>
impl Debug for SMBiosSystemChassisInformation<'_>
impl Debug for SMBiosSystemConfigurationOptions<'_>
impl Debug for SMBiosSystemEventLog<'_>
impl Debug for SMBiosSystemInformation<'_>
impl Debug for SMBiosSystemPowerControls<'_>
impl Debug for SMBiosSystemPowerSupply<'_>
impl Debug for SMBiosSystemReset<'_>
impl Debug for SMBiosSystemSlot<'_>
impl Debug for SMBiosTemperatureProbe<'_>
impl Debug for SMBiosTpmDevice<'_>
impl Debug for SMBiosType
impl Debug for SMBiosUnknown<'_>
impl Debug for SMBiosVersion
impl Debug for SMBiosVoltageProbe<'_>
impl Debug for SlotCurrentUsageData
impl Debug for SlotHeightData
impl Debug for SlotLengthData
impl Debug for SlotPeerGroup<'_>
impl Debug for SlotWidthData
impl Debug for SramTypes
impl Debug for StringPropertyIdData
impl Debug for SystemBootStatusData<'_>
impl Debug for SystemCacheTypeData
impl Debug for SystemResetCapabilities
impl Debug for SystemSlotCharacteristics1
impl Debug for SystemSlotCharacteristics2
impl Debug for SystemSlotId
impl Debug for SystemSlotTypeData
impl Debug for SystemUuid
impl Debug for SystemWakeUpTypeData
impl Debug for TemperatureProbeLocationAndStatus
impl Debug for TpmDeviceCharacteristics
impl Debug for UndefinedStruct
impl Debug for UndefinedStructTable
impl Debug for VariableDataFormatTypeData
impl Debug for VersionFormatData
impl Debug for VoltageProbeLocationAndStatus
impl Debug for WinSMBiosData
impl Debug for Global
impl Debug for TryReserveError
impl Debug for CString
impl Debug for FromVecWithNulError
impl Debug for IntoStringError
impl Debug for NulError
impl Debug for alloc::string::Drain<'_>
impl Debug for FromUtf8Error
impl Debug for FromUtf16Error
impl Debug for String
impl Debug for Layout
impl Debug for LayoutError
impl Debug for AllocError
impl Debug for TypeId
impl Debug for TryFromSliceError
impl Debug for core::ascii::EscapeDefault
impl Debug for BorrowError
impl Debug for BorrowMutError
impl Debug for CharTryFromError
impl Debug for ParseCharError
impl Debug for DecodeUtf16Error
impl Debug for core::char::EscapeDebug
impl Debug for core::char::EscapeDefault
impl Debug for core::char::EscapeUnicode
impl Debug for ToLowercase
impl Debug for ToUppercase
impl Debug for TryFromCharError
impl Debug for CpuidResult
impl Debug for __m128
impl Debug for __m128bh
impl Debug for __m128d
impl Debug for __m128i
impl Debug for __m256
impl Debug for __m256bh
impl Debug for __m256d
impl Debug for __m256i
impl Debug for __m512
impl Debug for __m512bh
impl Debug for __m512d
impl Debug for __m512i
impl Debug for CStr
impl Debug for FromBytesUntilNulError
impl Debug for FromBytesWithNulError
impl Debug for SipHasher
impl Debug for PhantomPinned
impl Debug for Assume
impl Debug for Ipv4Addr
impl Debug for Ipv6Addr
impl Debug for AddrParseError
impl Debug for SocketAddrV4
impl Debug for SocketAddrV6
impl Debug for ParseFloatError
impl Debug for ParseIntError
impl Debug for TryFromIntError
impl Debug for NonZeroI8
impl Debug for NonZeroI16
impl Debug for NonZeroI32
impl Debug for NonZeroI64
impl Debug for NonZeroI128
impl Debug for NonZeroIsize
impl Debug for NonZeroU8
impl Debug for NonZeroU16
impl Debug for NonZeroU32
impl Debug for NonZeroU64
impl Debug for NonZeroU128
impl Debug for NonZeroUsize
impl Debug for RangeFull
impl Debug for core::ptr::alignment::Alignment
impl Debug for TimSortRun
impl Debug for ParseBoolError
impl Debug for Utf8Error
impl Debug for Chars<'_>
impl Debug for EncodeUtf16<'_>
impl Debug for Utf8Chunks<'_>
impl Debug for AtomicBool
impl Debug for AtomicI8
impl Debug for AtomicI16
impl Debug for AtomicI32
impl Debug for AtomicI64
impl Debug for AtomicIsize
impl Debug for AtomicU8
impl Debug for AtomicU16
impl Debug for AtomicU32
impl Debug for AtomicU64
impl Debug for AtomicUsize
impl Debug for Context<'_>
impl Debug for RawWaker
impl Debug for RawWakerVTable
impl Debug for Waker
impl Debug for Duration
impl Debug for TryFromFloatSecsError
impl Debug for System
impl Debug for Backtrace
impl Debug for BacktraceFrame
impl Debug for DefaultHasher
impl Debug for RandomState
impl Debug for Args
impl Debug for ArgsOs
impl Debug for JoinPathsError
impl Debug for SplitPaths<'_>
impl Debug for Vars
impl Debug for VarsOs
impl Debug for OsStr
impl Debug for OsString
impl Debug for IntoIncoming
impl Debug for TcpListener
impl Debug for TcpStream
impl Debug for UdpSocket
impl Debug for BorrowedFd<'_>
impl Debug for OwnedFd
impl Debug for PidFd
impl Debug for std::os::unix::net::addr::SocketAddr
impl Debug for UnixDatagram
impl Debug for UnixListener
impl Debug for UnixStream
impl Debug for UCred
impl Debug for Components<'_>
impl Debug for Display<'_>
impl Debug for std::path::Iter<'_>
impl Debug for Path
impl Debug for PathBuf
impl Debug for StripPrefixError
impl Debug for Child
impl Debug for ChildStderr
impl Debug for ChildStdin
impl Debug for ChildStdout
impl Debug for Command
impl Debug for ExitCode
impl Debug for ExitStatus
impl Debug for ExitStatusError
impl Debug for Output
impl Debug for Stdio
impl Debug for Barrier
impl Debug for BarrierWaitResult
impl Debug for Condvar
impl Debug for WaitTimeoutResult
impl Debug for RecvError
impl Debug for std::sync::once::Once
impl Debug for OnceState
impl Debug for AccessError
impl Debug for Scope<'_, '_>
impl Debug for Builder
impl Debug for Thread
impl Debug for ThreadId
impl Debug for Instant
impl Debug for SystemTime
impl Debug for SystemTimeError
impl Debug for IgnoredAny
impl Debug for serde::de::value::Error
impl Debug for Arguments<'_>
impl Debug for smbioslib::fmt::Error
impl Debug for dyn Any
impl Debug for dyn Any + Send
impl Debug for dyn Any + Send + Sync
impl<'a> Debug for DefinedStruct<'a>
impl<'a> Debug for Component<'a>
impl<'a> Debug for Prefix<'a>
impl<'a> Debug for Unexpected<'a>
impl<'a> Debug for BorrowedCursor<'a>
impl<'a> Debug for IoSlice<'a>
impl<'a> Debug for IoSliceMut<'a>
impl<'a> Debug for AdditionalInformationEntryIterator<'a>
impl<'a> Debug for AssociatedComponentHandleIterator<'a>
impl<'a> Debug for ContainedElements<'a>
impl<'a> Debug for ContainedElementsIterator<'a>
impl<'a> Debug for DefinedStructTable<'a>
impl<'a> Debug for ErrorCapabilitiesIterator<'a>
impl<'a> Debug for EventLogTypeDescriptor<'a>
impl<'a> Debug for GroupAssociationItemIterator<'a>
impl<'a> Debug for LoadHandlePairIterator<'a>
impl<'a> Debug for ModuleHandleIterator<'a>
impl<'a> Debug for ObjectHandleIterator<'a>
impl<'a> Debug for OnBoardDeviceIterator<'a>
impl<'a> Debug for ProtocolRecordIterator<'a>
impl<'a> Debug for SlotPeerGroupIterator<'a>
impl<'a> Debug for TypeDescriptors<'a>
impl<'a> Debug for TypeDescriptorsIterator<'a>
impl<'a> Debug for VendorId<'a>
impl<'a> Debug for Request<'a>
impl<'a> Debug for Source<'a>
impl<'a> Debug for Location<'a>
impl<'a> Debug for PanicInfo<'a>
impl<'a> Debug for EscapeAscii<'a>
impl<'a> Debug for core::str::iter::Bytes<'a>
impl<'a> Debug for CharIndices<'a>
impl<'a> Debug for core::str::iter::EscapeDebug<'a>
impl<'a> Debug for core::str::iter::EscapeDefault<'a>
impl<'a> Debug for core::str::iter::EscapeUnicode<'a>
impl<'a> Debug for core::str::iter::Lines<'a>
impl<'a> Debug for LinesAny<'a>
impl<'a> Debug for SplitAsciiWhitespace<'a>
impl<'a> Debug for SplitWhitespace<'a>
impl<'a> Debug for Utf8Chunk<'a>
impl<'a> Debug for CharSearcher<'a>
impl<'a> Debug for std::net::tcp::Incoming<'a>
impl<'a> Debug for SocketAncillary<'a>
impl<'a> Debug for std::os::unix::net::listener::Incoming<'a>
impl<'a> Debug for Ancestors<'a>
impl<'a> Debug for PrefixComponent<'a>
impl<'a> Debug for CommandArgs<'a>
impl<'a> Debug for CommandEnvs<'a>
impl<'a, 'b> Debug for CharSliceSearcher<'a, 'b>
impl<'a, 'b> Debug for StrSearcher<'a, 'b>
impl<'a, 'b, const N: usize> Debug for CharArrayRefSearcher<'a, 'b, N>
impl<'a, 'f> Debug for VaList<'a, 'f>where 'f: 'a,
impl<'a, A> Debug for core::option::Iter<'a, A>where A: Debug + 'a,
impl<'a, A> Debug for core::option::IterMut<'a, A>where A: Debug + 'a,
impl<'a, E> Debug for BytesDeserializer<'a, E>
impl<'a, E> Debug for CowStrDeserializer<'a, E>
impl<'a, E> Debug for StrDeserializer<'a, E>
impl<'a, I> Debug for ByRefSized<'a, I>where I: Debug,
impl<'a, I, A> Debug for Splice<'a, I, A>where I: Debug + Iterator + 'a, A: Debug + Allocator + 'a, <I as Iterator>::Item: Debug,
impl<'a, K, F> Debug for std::collections::hash::set::ExtractIf<'a, K, F>where F: FnMut(&K) -> bool,
impl<'a, K, V, F> Debug for std::collections::hash::map::ExtractIf<'a, K, V, F>where F: FnMut(&K, &mut V) -> bool,
impl<'a, P> Debug for MatchIndices<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for Matches<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for RMatchIndices<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for RMatches<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for core::str::iter::RSplit<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for core::str::iter::RSplitN<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for RSplitTerminator<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for core::str::iter::Split<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for core::str::iter::SplitInclusive<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for core::str::iter::SplitN<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, P> Debug for SplitTerminator<'a, P>where P: Pattern<'a>, <P as Pattern<'a>>::Searcher: Debug,
impl<'a, T> Debug for alloc::collections::btree::set::Range<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for core::result::Iter<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for core::result::IterMut<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for Chunks<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for ChunksExact<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for ChunksExactMut<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for ChunksMut<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for RChunks<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for RChunksExact<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for RChunksExactMut<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for RChunksMut<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for Windows<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for std::sync::mpsc::Iter<'a, T>where T: Debug + 'a,
impl<'a, T> Debug for TryIter<'a, T>where T: Debug + 'a,
impl<'a, T, A> Debug for alloc::collections::binary_heap::Drain<'a, T, A>where T: Debug + 'a, A: Debug + Allocator,
impl<'a, T, A> Debug for DrainSorted<'a, T, A>where T: Debug + Ord, A: Debug + Allocator,
impl<'a, T, F, A> Debug for alloc::vec::extract_if::ExtractIf<'a, T, F, A>where T: Debug, F: Debug + FnMut(&mut T) -> bool, A: Debug + Allocator,
impl<'a, T, P> Debug for GroupBy<'a, T, P>where T: 'a + Debug,
impl<'a, T, P> Debug for GroupByMut<'a, T, P>where T: 'a + Debug,
impl<'a, T, const N: usize> Debug for core::slice::iter::ArrayChunks<'a, T, N>where T: Debug + 'a,
impl<'a, T, const N: usize> Debug for ArrayChunksMut<'a, T, N>where T: Debug + 'a,
impl<'a, T, const N: usize> Debug for ArrayWindows<'a, T, N>where T: Debug + 'a,
impl<'a, const N: usize> Debug for CharArraySearcher<'a, N>
impl<'de, E> Debug for BorrowedBytesDeserializer<'de, E>
impl<'de, E> Debug for BorrowedStrDeserializer<'de, E>
impl<'de, I, E> Debug for MapDeserializer<'de, I, E>where I: Iterator + Debug, <I as Iterator>::Item: Pair, <<I as Iterator>::Item as Pair>::Second: Debug,
impl<'f> Debug for VaListImpl<'f>
impl<'scope, T> Debug for ScopedJoinHandle<'scope, T>
impl<A> Debug for core::iter::sources::repeat::Repeat<A>where A: Debug,
impl<A> Debug for core::option::IntoIter<A>where A: Debug,
impl<A> Debug for MapAccessDeserializer<A>where A: Debug,
impl<A> Debug for SeqAccessDeserializer<A>where A: Debug,
impl<A, B> Debug for core::iter::adapters::chain::Chain<A, B>where A: Debug, B: Debug,
impl<A, B> Debug for Zip<A, B>where A: Debug, B: Debug,
impl<B> Debug for Cow<'_, B>where B: Debug + ToOwned + ?Sized, <B as ToOwned>::Owned: Debug,
impl<B> Debug for smbioslib::io::Lines<B>where B: Debug,
impl<B> Debug for smbioslib::io::Split<B>where B: Debug,
impl<B, C> Debug for ControlFlow<B, C>where B: Debug, C: Debug,
impl<Dyn> Debug for DynMetadata<Dyn>where Dyn: ?Sized,
impl<E> Debug for Report<E>where Report<E>: Display,
impl<E> Debug for BoolDeserializer<E>
impl<E> Debug for CharDeserializer<E>
impl<E> Debug for F32Deserializer<E>
impl<E> Debug for F64Deserializer<E>
impl<E> Debug for I8Deserializer<E>
impl<E> Debug for I16Deserializer<E>
impl<E> Debug for I32Deserializer<E>
impl<E> Debug for I64Deserializer<E>
impl<E> Debug for I128Deserializer<E>
impl<E> Debug for IsizeDeserializer<E>
impl<E> Debug for StringDeserializer<E>
impl<E> Debug for U8Deserializer<E>
impl<E> Debug for U16Deserializer<E>
impl<E> Debug for U32Deserializer<E>
impl<E> Debug for U64Deserializer<E>
impl<E> Debug for U128Deserializer<E>
impl<E> Debug for UnitDeserializer<E>
impl<E> Debug for UsizeDeserializer<E>
impl<F> Debug for PollFn<F>
impl<F> Debug for FromFn<F>
impl<F> Debug for OnceWith<F>
impl<F> Debug for RepeatWith<F>
impl<F> Debug for CharPredicateSearcher<'_, F>where F: FnMut(char) -> bool,
impl<F> Debug for Fwhere F: FnPtr,
impl<H> Debug for BuildHasherDefault<H>
impl<I> Debug for FromIter<I>where I: Debug,
impl<I> Debug for DecodeUtf16<I>where I: Debug + Iterator<Item = u16>,
impl<I> Debug for Cloned<I>where I: Debug,
impl<I> Debug for Copied<I>where I: Debug,
impl<I> Debug for Cycle<I>where I: Debug,
impl<I> Debug for Enumerate<I>where I: Debug,
impl<I> Debug for Fuse<I>where I: Debug,
impl<I> Debug for Intersperse<I>where I: Debug + Iterator, <I as Iterator>::Item: Clone + Debug,
impl<I> Debug for Peekable<I>where I: Debug + Iterator, <I as Iterator>::Item: Debug,
impl<I> Debug for Skip<I>where I: Debug,
impl<I> Debug for StepBy<I>where I: Debug,
impl<I> Debug for core::iter::adapters::take::Take<I>where I: Debug,
impl<I, E> Debug for SeqDeserializer<I, E>where I: Debug,
impl<I, F> Debug for FilterMap<I, F>where I: Debug,
impl<I, F> Debug for Inspect<I, F>where I: Debug,
impl<I, F> Debug for Map<I, F>where I: Debug,
impl<I, F, const N: usize> Debug for MapWindows<I, F, N>where I: Iterator + Debug,
impl<I, G> Debug for IntersperseWith<I, G>where I: Iterator + Debug, <I as Iterator>::Item: Debug, G: Debug,
impl<I, P> Debug for Filter<I, P>where I: Debug,
impl<I, P> Debug for MapWhile<I, P>where I: Debug,
impl<I, P> Debug for SkipWhile<I, P>where I: Debug,
impl<I, P> Debug for TakeWhile<I, P>where I: Debug,
impl<I, St, F> Debug for Scan<I, St, F>where I: Debug, St: Debug,
impl<I, U> Debug for Flatten<I>where I: Debug + Iterator, <I as Iterator>::Item: IntoIterator<IntoIter = U, Item = <U as Iterator>::Item>, U: Debug + Iterator,
impl<I, U, F> Debug for FlatMap<I, U, F>where I: Debug, U: IntoIterator, <U as IntoIterator>::IntoIter: Debug,
impl<I, const N: usize> Debug for core::iter::adapters::array_chunks::ArrayChunks<I, N>where I: Debug + Iterator, <I as Iterator>::Item: Debug,
impl<Idx> Debug for core::ops::range::Range<Idx>where Idx: Debug,
impl<Idx> Debug for RangeFrom<Idx>where Idx: Debug,
impl<Idx> Debug for RangeInclusive<Idx>where Idx: Debug,
impl<Idx> Debug for RangeTo<Idx>where Idx: Debug,
impl<Idx> Debug for RangeToInclusive<Idx>where Idx: Debug,
impl<K> Debug for std::collections::hash::set::Drain<'_, K>where K: Debug,
impl<K> Debug for std::collections::hash::set::IntoIter<K>where K: Debug,
impl<K> Debug for std::collections::hash::set::Iter<'_, K>where K: Debug,
impl<K, V> Debug for std::collections::hash::map::Entry<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for alloc::collections::btree::map::Cursor<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for alloc::collections::btree::map::Iter<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for alloc::collections::btree::map::IterMut<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for alloc::collections::btree::map::Keys<'_, K, V>where K: Debug,
impl<K, V> Debug for alloc::collections::btree::map::Range<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for RangeMut<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for alloc::collections::btree::map::Values<'_, K, V>where V: Debug,
impl<K, V> Debug for alloc::collections::btree::map::ValuesMut<'_, K, V>where V: Debug,
impl<K, V> Debug for std::collections::hash::map::Drain<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for std::collections::hash::map::IntoIter<K, V>where K: Debug, V: Debug,
impl<K, V> Debug for std::collections::hash::map::IntoKeys<K, V>where K: Debug,
impl<K, V> Debug for std::collections::hash::map::IntoValues<K, V>where V: Debug,
impl<K, V> Debug for std::collections::hash::map::Iter<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for std::collections::hash::map::IterMut<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for std::collections::hash::map::Keys<'_, K, V>where K: Debug,
impl<K, V> Debug for std::collections::hash::map::OccupiedEntry<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for std::collections::hash::map::OccupiedError<'_, K, V>where K: Debug, V: Debug,
impl<K, V> Debug for std::collections::hash::map::VacantEntry<'_, K, V>where K: Debug,
impl<K, V> Debug for std::collections::hash::map::Values<'_, K, V>where V: Debug,
impl<K, V> Debug for std::collections::hash::map::ValuesMut<'_, K, V>where V: Debug,
impl<K, V, A> Debug for alloc::collections::btree::map::entry::Entry<'_, K, V, A>where K: Debug + Ord, V: Debug, A: Allocator + Clone,
impl<K, V, A> Debug for alloc::collections::btree::map::entry::OccupiedEntry<'_, K, V, A>where K: Debug + Ord, V: Debug, A: Allocator + Clone,
impl<K, V, A> Debug for alloc::collections::btree::map::entry::OccupiedError<'_, K, V, A>where K: Debug + Ord, V: Debug, A: Allocator + Clone,
impl<K, V, A> Debug for alloc::collections::btree::map::entry::VacantEntry<'_, K, V, A>where K: Debug + Ord, A: Allocator + Clone,
impl<K, V, A> Debug for BTreeMap<K, V, A>where K: Debug, V: Debug, A: Allocator + Clone,
impl<K, V, A> Debug for alloc::collections::btree::map::CursorMut<'_, K, V, A>where K: Debug, V: Debug,
impl<K, V, A> Debug for alloc::collections::btree::map::IntoIter<K, V, A>where K: Debug, V: Debug, A: Allocator + Clone,
impl<K, V, A> Debug for alloc::collections::btree::map::IntoKeys<K, V, A>where K: Debug, A: Allocator + Clone,
impl<K, V, A> Debug for alloc::collections::btree::map::IntoValues<K, V, A>where V: Debug, A: Allocator + Clone,
impl<K, V, F> Debug for alloc::collections::btree::map::ExtractIf<'_, K, V, F, Global>where K: Debug, V: Debug, F: FnMut(&K, &mut V) -> bool,
impl<K, V, S> Debug for RawEntryMut<'_, K, V, S>where K: Debug, V: Debug,
impl<K, V, S> Debug for HashMap<K, V, S>where K: Debug, V: Debug,
impl<K, V, S> Debug for RawEntryBuilder<'_, K, V, S>
impl<K, V, S> Debug for RawEntryBuilderMut<'_, K, V, S>
impl<K, V, S> Debug for RawOccupiedEntryMut<'_, K, V, S>where K: Debug, V: Debug,
impl<K, V, S> Debug for RawVacantEntryMut<'_, K, V, S>
impl<P> Debug for Pin<P>where P: Debug,
impl<R> Debug for BufReader<R>where R: Debug + ?Sized,
impl<R> Debug for smbioslib::io::Bytes<R>where R: Debug,
impl<T> Debug for Bound<T>where T: Debug,
impl<T> Debug for Option<T>where T: Debug,
impl<T> Debug for Poll<T>where T: Debug,
impl<T> Debug for TrySendError<T>
impl<T> Debug for TryLockError<T>
impl<T> Debug for *const Twhere T: ?Sized,
impl<T> Debug for *mut Twhere T: ?Sized,
impl<T> Debug for &Twhere T: Debug + ?Sized,
impl<T> Debug for &mut Twhere T: Debug + ?Sized,
impl<T> Debug for [T]where T: Debug,
impl<T> Debug for (T₁, T₂, …, Tₙ)where T: Debug + ?Sized,
This trait is implemented for tuples up to twelve items long.