pub trait Debug {
// Required method
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
}
std
only.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 };
let expected = "The origin is: Point {
x: 0,
y: 0,
}";
assert_eq!(format!("The origin is: {origin:#?}"), expected);
Required Methods§
1.0.0 · sourcefn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
Formats the value using the given formatter.
§Errors
This function should return Err
if, and only if, the provided Formatter
returns Err
.
String formatting is considered an infallible operation; this function only
returns a Result
because writing to the underlying stream might fail and it must
provide a way to propagate the fact that an error has occurred back up the stack.
§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 RelocationKind
impl Debug for RelocationTarget
impl Debug for CustomSectionProtection
impl Debug for Symbol
impl Debug for CpuFeature
impl Debug for ArchivedCompiledFunctionUnwindInfo
impl Debug for CompiledFunctionUnwindInfo
impl Debug for Aarch64Architecture
impl Debug for Architecture
impl Debug for BinaryFormat
impl Debug for CallingConvention
impl Debug for Endianness
impl Debug for Environment
impl Debug for ExportIndex
impl Debug for ExternType
impl Debug for GlobalInit
impl Debug for HashAlgorithm
impl Debug for ImportIndex
impl Debug for LibCall
impl Debug for MemoryStyle
impl Debug for ModuleHash
impl Debug for Mutability
impl Debug for OnCalledAction
impl Debug for OperatingSystem
impl Debug for PointerWidth
impl Debug for TableStyle
impl Debug for TrapCode
impl Debug for Type
impl Debug for Vendor
impl Debug for CompileError
impl Debug for DeserializeError
impl Debug for ImportError
impl Debug for MemoryError
impl Debug for ParseCpuFeatureError
impl Debug for PreInstantiationError
impl Debug for SerializeError
impl Debug for WasmError
impl Debug for wasmer_types::lib::std::cmp::Ordering
impl Debug for wasmer_types::lib::std::convert::Infallible
impl Debug for wasmer_types::lib::std::sync::atomic::Ordering
impl Debug for RecvTimeoutError
impl Debug for TryRecvError
impl Debug for wasmer_types::lib::std::fmt::Alignment
impl Debug for TryReserveErrorKind
impl Debug for AsciiChar
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 BacktraceStatus
impl Debug for VarError
impl Debug for SeekFrom
impl Debug for ErrorKind
impl Debug for Shutdown
impl Debug for AncillaryError
impl Debug for BacktraceStyle
impl Debug for _Unwind_Reason_Code
impl Debug for CStrCheckError
impl Debug for NonZeroCheckError
impl Debug for StrCheckError
impl Debug for TruncSide
impl Debug for hashbrown::TryReserveError
impl Debug for FromHexError
impl Debug for ArchivedIpAddr
impl Debug for ArchivedSocketAddr
impl Debug for OffsetError
impl Debug for RelPtrError
impl Debug for AllocScratchError
impl Debug for BufferSerializerError
impl Debug for FixedSizeScratchError
impl Debug for ArchiveError
impl Debug for DefaultValidatorError
impl Debug for AsStringError
impl Debug for LockError
impl Debug for UnixTimestampError
impl Debug for CDataModel
impl Debug for Size
impl Debug for ParseError
impl Debug for ArmArchitecture
impl Debug for CustomVendor
impl Debug for Mips32Architecture
impl Debug for Mips64Architecture
impl Debug for Riscv32Architecture
impl Debug for Riscv64Architecture
impl Debug for X86_32Architecture
impl Debug for bool
impl Debug for char
impl Debug for f16
impl Debug for f32
impl Debug for f64
impl Debug for f128
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 ArchivedFunctionAddressMap
impl Debug for ArchivedInstructionAddressMap
impl Debug for FunctionAddressMap
impl Debug for InstructionAddressMap
impl Debug for ArchivedCompiledFunction
impl Debug for ArchivedCompiledFunctionFrameInfo
impl Debug for ArchivedFunctionBody
impl Debug for Compilation
impl Debug for CompiledFunction
impl Debug for CompiledFunctionFrameInfo
impl Debug for Dwarf
impl Debug for FunctionBody
impl Debug for ArchivedCompileModuleInfowhere
Features: Archive,
Arc<ModuleInfo>: Archive,
PrimaryMap<MemoryIndex, MemoryStyle>: Archive,
PrimaryMap<TableIndex, TableStyle>: Archive,
impl Debug for CompileModuleInfo
impl Debug for ArchivedRelocation
impl Debug for Relocation
impl Debug for ArchivedCustomSection
impl Debug for ArchivedSectionBody
impl Debug for CustomSection
impl Debug for SectionBody
impl Debug for SectionIndex
impl Debug for ArchivedModuleMetadatawhere
CompileModuleInfo: Archive,
String: Archive,
Box<[OwnedDataInitializer]>: Archive,
PrimaryMap<LocalFunctionIndex, u64>: Archive,
u64: Archive,
impl Debug for ModuleMetadata
impl Debug for Target
impl Debug for MiddlewareError
impl Debug for ArchivedDataInitializerLocation
impl Debug for ArchivedOwnedDataInitializer
impl Debug for ArchivedSerializableCompilationwhere
PrimaryMap<LocalFunctionIndex, FunctionBody>: Archive,
PrimaryMap<LocalFunctionIndex, Vec<Relocation>>: Archive,
PrimaryMap<LocalFunctionIndex, CompiledFunctionFrameInfo>: Archive,
PrimaryMap<SignatureIndex, FunctionBody>: Archive,
PrimaryMap<FunctionIndex, FunctionBody>: Archive,
PrimaryMap<SectionIndex, CustomSection>: Archive,
PrimaryMap<SectionIndex, Vec<Relocation>>: Archive,
Option<Dwarf>: Archive,
SectionIndex: Archive,
u32: Archive,
impl Debug for ArchivedSerializableModulewhere
SerializableCompilation: Archive,
CompileModuleInfo: Archive,
Box<[OwnedDataInitializer]>: Archive,
u64: Archive,
impl Debug for wasmer_types::Bytes
impl Debug for CustomSectionIndex
impl Debug for DataIndex
impl Debug for DataInitializerLocation
impl Debug for ElemIndex
impl Debug for Features
impl Debug for FrameInfo
impl Debug for FunctionIndex
impl Debug for FunctionType
impl Debug for GlobalIndex
impl Debug for GlobalType
impl Debug for ImportKey
impl Debug for LocalFunctionIndex
impl Debug for LocalGlobalIndex
impl Debug for LocalMemoryIndex
impl Debug for LocalTableIndex
impl Debug for MemoryIndex
impl Debug for MemoryType
impl Debug for ModuleInfo
impl Debug for OwnedDataInitializer
impl Debug for PageCountOutOfRange
impl Debug for Pages
impl Debug for SignatureIndex
impl Debug for SourceLoc
impl Debug for StoreId
impl Debug for TableIndex
impl Debug for TableInitializer
impl Debug for TableType
impl Debug for TrapInformation
impl Debug for Triple
impl Debug for V128
impl Debug for VMBuiltinFunctionIndex
impl Debug for VMOffsets
impl Debug for TypeId
impl Debug for BorrowError
impl Debug for BorrowMutError
impl Debug for DefaultHasher
impl Debug for wasmer_types::lib::std::hash::RandomState
impl Debug for SipHasher
impl Debug for PhantomPinned
impl Debug for Assume
impl Debug for RangeFull
impl Debug for wasmer_types::lib::std::ptr::Alignment
impl Debug for wasmer_types::lib::std::string::Drain<'_>
impl Debug for FromUtf8Error
impl Debug for FromUtf16Error
impl Debug for String
impl Debug for AtomicBool
target_has_atomic_load_store="8"
only.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 RecvError
impl Debug for Barrier
impl Debug for BarrierWaitResult
impl Debug for Condvar
impl Debug for wasmer_types::lib::std::sync::Once
impl Debug for OnceState
impl Debug for WaitTimeoutResult
impl Debug for Global
impl Debug for UnorderedKeyError
impl Debug for alloc::collections::TryReserveError
impl Debug for CString
impl Debug for FromVecWithNulError
impl Debug for IntoStringError
impl Debug for NulError
impl Debug for Layout
impl Debug for LayoutError
impl Debug for AllocError
impl Debug for TryFromSliceError
impl Debug for core::ascii::EscapeDefault
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 __m128h
impl Debug for __m128i
impl Debug for __m256
impl Debug for __m256bh
impl Debug for __m256d
impl Debug for __m256h
impl Debug for __m256i
impl Debug for __m512
impl Debug for __m512bh
impl Debug for __m512d
impl Debug for __m512h
impl Debug for __m512i
impl Debug for bf16
impl Debug for CStr
impl Debug for FromBytesUntilNulError
impl Debug for FromBytesWithNulError
impl Debug for BorrowedBuf<'_>
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 PanicMessage<'_>
impl Debug for ParseBoolError
impl Debug for core::str::error::Utf8Error
impl Debug for Chars<'_>
impl Debug for EncodeUtf16<'_>
impl Debug for Utf8Chunks<'_>
impl Debug for Context<'_>
impl Debug for LocalWaker
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 Args
impl Debug for ArgsOs
impl Debug for JoinPathsError
impl Debug for SplitPaths<'_>
impl Debug for Vars
impl Debug for VarsOs
impl Debug for std::ffi::os_str::Display<'_>
impl Debug for OsStr
impl Debug for OsString
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 WriterPanicked
impl Debug for std::io::error::Error
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 std::io::util::Empty
impl Debug for std::io::util::Repeat
impl Debug for Sink
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 std::path::Display<'_>
impl Debug for std::path::Iter<'_>
impl Debug for Path
impl Debug for PathBuf
impl Debug for StripPrefixError
impl Debug for PipeReader
impl Debug for PipeWriter
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 DefaultRandomSource
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 AHasher
impl Debug for ahash::random_state::RandomState
impl Debug for Eager
impl Debug for block_buffer::Error
impl Debug for block_buffer::Lazy
impl Debug for BoolCheckError
impl Debug for CharCheckError
impl Debug for StructCheckError
impl Debug for TupleStructCheckError
impl Debug for InvalidLength
impl Debug for InvalidBufferSize
impl Debug for InvalidOutputSize
impl Debug for getrandom::error::Error
impl Debug for OnceBool
impl Debug for OnceNonZeroUsize
impl Debug for BigEndian<char>
impl Debug for BigEndian<f32>
impl Debug for BigEndian<f64>
impl Debug for BigEndian<i16>
impl Debug for BigEndian<i32>
impl Debug for BigEndian<i64>
impl Debug for BigEndian<i128>
impl Debug for BigEndian<u16>
impl Debug for BigEndian<u32>
impl Debug for BigEndian<u64>
impl Debug for BigEndian<u128>
impl Debug for BigEndian<AtomicI16>
impl Debug for BigEndian<AtomicI32>
impl Debug for BigEndian<AtomicI64>
impl Debug for BigEndian<AtomicU16>
impl Debug for BigEndian<AtomicU32>
impl Debug for BigEndian<AtomicU64>
impl Debug for BigEndian<NonZero<i16>>
impl Debug for BigEndian<NonZero<i32>>
impl Debug for BigEndian<NonZero<i64>>
impl Debug for BigEndian<NonZero<i128>>
impl Debug for BigEndian<NonZero<u16>>
impl Debug for BigEndian<NonZero<u32>>
impl Debug for BigEndian<NonZero<u64>>
impl Debug for BigEndian<NonZero<u128>>
impl Debug for LittleEndian<char>
impl Debug for LittleEndian<f32>
impl Debug for LittleEndian<f64>
impl Debug for LittleEndian<i16>
impl Debug for LittleEndian<i32>
impl Debug for LittleEndian<i64>
impl Debug for LittleEndian<i128>
impl Debug for LittleEndian<u16>
impl Debug for LittleEndian<u32>
impl Debug for LittleEndian<u64>
impl Debug for LittleEndian<u128>
impl Debug for LittleEndian<AtomicI16>
impl Debug for LittleEndian<AtomicI32>
impl Debug for LittleEndian<AtomicI64>
impl Debug for LittleEndian<AtomicU16>
impl Debug for LittleEndian<AtomicU32>
impl Debug for LittleEndian<AtomicU64>
impl Debug for LittleEndian<NonZero<i16>>
impl Debug for LittleEndian<NonZero<i32>>
impl Debug for LittleEndian<NonZero<i64>>
impl Debug for LittleEndian<NonZero<i128>>
impl Debug for LittleEndian<NonZero<u16>>
impl Debug for LittleEndian<NonZero<u32>>
impl Debug for LittleEndian<NonZero<u64>>
impl Debug for LittleEndian<NonZero<u128>>
impl Debug for NativeEndian<char>
impl Debug for NativeEndian<f32>
impl Debug for NativeEndian<f64>
impl Debug for NativeEndian<i16>
impl Debug for NativeEndian<i32>
impl Debug for NativeEndian<i64>
impl Debug for NativeEndian<i128>
impl Debug for NativeEndian<u16>
impl Debug for NativeEndian<u32>
impl Debug for NativeEndian<u64>
impl Debug for NativeEndian<u128>
impl Debug for NativeEndian<AtomicI16>
impl Debug for NativeEndian<AtomicI32>
impl Debug for NativeEndian<AtomicI64>
impl Debug for NativeEndian<AtomicU16>
impl Debug for NativeEndian<AtomicU32>
impl Debug for NativeEndian<AtomicU64>
impl Debug for NativeEndian<NonZero<i16>>
impl Debug for NativeEndian<NonZero<i32>>
impl Debug for NativeEndian<NonZero<i64>>
impl Debug for NativeEndian<NonZero<i128>>
impl Debug for NativeEndian<NonZero<u16>>
impl Debug for NativeEndian<NonZero<u32>>
impl Debug for NativeEndian<NonZero<u64>>
impl Debug for NativeEndian<NonZero<u128>>
impl Debug for ArchivedHashIndex
impl Debug for ArchivedCString
impl Debug for ArchivedIpv4Addr
impl Debug for ArchivedIpv6Addr
impl Debug for ArchivedSocketAddrV4
impl Debug for ArchivedSocketAddrV6
impl Debug for ArchivedOptionNonZeroI8
impl Debug for ArchivedOptionNonZeroI16
impl Debug for ArchivedOptionNonZeroI32
impl Debug for ArchivedOptionNonZeroI64
impl Debug for ArchivedOptionNonZeroI128
impl Debug for ArchivedOptionNonZeroU8
impl Debug for ArchivedOptionNonZeroU16
impl Debug for ArchivedOptionNonZeroU32
impl Debug for ArchivedOptionNonZeroU64
impl Debug for ArchivedOptionNonZeroU128
impl Debug for AllocScratch
impl Debug for ArchivedString
impl Debug for rkyv::Infallible
impl Debug for ArchivedDuration
impl Debug for AlignedVec
impl Debug for PrefixRange
impl Debug for SuffixRange
impl Debug for AsBox
impl Debug for AsOwned
impl Debug for AsString
impl Debug for AsVec
impl Debug for Atomic
impl Debug for CopyOptimize
impl Debug for Inline
impl Debug for Lock
impl Debug for Niche
impl Debug for Raw
impl Debug for RefAsBox
impl Debug for rkyv::with::Skip
impl Debug for UnixTimestamp
impl Debug for Unsafe
impl Debug for Sha256VarCore
impl Debug for Sha512VarCore
impl Debug for simdutf8::basic::Utf8Error
impl Debug for simdutf8::compat::Utf8Error
impl Debug for DefaultToHost
impl Debug for DefaultToUnknown
impl Debug for ATerm
impl Debug for B0
impl Debug for B1
impl Debug for Z0
impl Debug for Equal
impl Debug for Greater
impl Debug for Less
impl Debug for UTerm
impl Debug for Arguments<'_>
impl Debug for wasmer_types::lib::std::fmt::Error
impl Debug for RawValue
impl Debug for dyn Any
impl Debug for dyn Any + Send
impl Debug for dyn Any + Send + Sync
impl<'a> Debug for CompiledFunctionUnwindInfoReference<'a>
impl<'a> Debug for Component<'a>
impl<'a> Debug for Prefix<'a>
impl<'a> Debug for EscapeAscii<'a>
impl<'a> Debug for Request<'a>
impl<'a> Debug for Source<'a>
impl<'a> Debug for core::ffi::c_str::Bytes<'a>
impl<'a> Debug for BorrowedCursor<'a>
impl<'a> Debug for Location<'a>
impl<'a> Debug for PanicInfo<'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 ContextBuilder<'a>
impl<'a> Debug for IoSlice<'a>
impl<'a> Debug for IoSliceMut<'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 PanicHookInfo<'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> Debug for ArchiveValidator<'a>
impl<'a> Debug for DefaultValidator<'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, I> Debug for ByRefSized<'a, I>where
I: Debug,
impl<'a, I, A> Debug for Splice<'a, I, A>
impl<'a, K, F> Debug for std::collections::hash::set::ExtractIf<'a, K, F>
impl<'a, K, V, F> Debug for std::collections::hash::map::ExtractIf<'a, K, V, F>
impl<'a, P> Debug for MatchIndices<'a, P>
impl<'a, P> Debug for Matches<'a, P>
impl<'a, P> Debug for RMatchIndices<'a, P>
impl<'a, P> Debug for RMatches<'a, P>
impl<'a, P> Debug for core::str::iter::RSplit<'a, P>
impl<'a, P> Debug for core::str::iter::RSplitN<'a, P>
impl<'a, P> Debug for RSplitTerminator<'a, P>
impl<'a, P> Debug for core::str::iter::Split<'a, P>
impl<'a, P> Debug for core::str::iter::SplitInclusive<'a, P>
impl<'a, P> Debug for core::str::iter::SplitN<'a, P>
impl<'a, P> Debug for SplitTerminator<'a, P>
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 wasmer_types::lib::std::sync::mpmc::Iter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for wasmer_types::lib::std::sync::mpmc::TryIter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for wasmer_types::lib::std::sync::mpsc::Iter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for wasmer_types::lib::std::sync::mpsc::TryIter<'a, T>where
T: Debug + 'a,
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 OnceRef<'a, T>
impl<'a, T, A> Debug for alloc::collections::binary_heap::Drain<'a, T, A>
impl<'a, T, A> Debug for DrainSorted<'a, T, A>
impl<'a, T, F, A> Debug for wasmer_types::lib::std::vec::ExtractIf<'a, T, F, A>
impl<'a, T, P> Debug for ChunkBy<'a, T, P>where
T: 'a + Debug,
impl<'a, T, P> Debug for ChunkByMut<'a, T, P>where
T: 'a + Debug,
impl<'a, T, const N: usize> Debug for wasmer_types::lib::std::slice::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<'data> Debug for DataInitializer<'data>
impl<'f> Debug for VaListImpl<'f>
impl<'scope, T> Debug for ScopedJoinHandle<'scope, T>
impl<A> Debug for wasmer_types::lib::std::iter::Repeat<A>where
A: Debug,
impl<A> Debug for RepeatN<A>where
A: Debug,
impl<A> Debug for core::option::IntoIter<A>where
A: Debug,
impl<A> Debug for IterRange<A>where
A: Debug,
impl<A> Debug for IterRangeFrom<A>where
A: Debug,
impl<A> Debug for IterRangeInclusive<A>where
A: Debug,
impl<A> Debug for AlignedSerializer<A>where
A: Debug,
impl<A, B> Debug for wasmer_types::lib::std::iter::Chain<A, B>
impl<A, B> Debug for Zip<A, B>
impl<Archivable> Debug for rkyv::with::Map<Archivable>where
Archivable: Debug,
impl<B> Debug for Cow<'_, B>
impl<B> Debug for std::io::Lines<B>where
B: Debug,
impl<B> Debug for std::io::Split<B>where
B: Debug,
impl<B, C> Debug for ControlFlow<B, C>
impl<BlockSize, Kind> Debug for BlockBuffer<BlockSize, Kind>where
BlockSize: Debug + ArrayLength<u8> + IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>,
Kind: Debug + BufferKind,
<BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,
impl<C> Debug for HashIndexError<C>where
C: Debug,
impl<C, D> Debug for CheckDeserializeError<C, D>
impl<Dyn> Debug for wasmer_types::lib::std::ptr::DynMetadata<Dyn>where
Dyn: ?Sized,
impl<Dyn> Debug for ptr_meta::DynMetadata<Dyn>where
Dyn: ?Sized,
impl<E> Debug for Report<E>
impl<F> Debug for wasmer_types::lib::std::iter::FromFn<F>
impl<F> Debug for OnceWith<F>
impl<F> Debug for RepeatWith<F>
impl<F> Debug for PollFn<F>
impl<F> Debug for CharPredicateSearcher<'_, F>
impl<F> Debug for wasmer_types::lib::std::fmt::FromFn<F>
impl<F> Debug for Fwhere
F: FnPtr,
impl<F, W> Debug for With<F, W>
impl<H> Debug for BuildHasherDefault<H>
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>
impl<I> Debug for Peekable<I>
impl<I> Debug for wasmer_types::lib::std::iter::Skip<I>where
I: Debug,
impl<I> Debug for StepBy<I>where
I: Debug,
impl<I> Debug for wasmer_types::lib::std::iter::Take<I>where
I: Debug,
impl<I> Debug for FromIter<I>where
I: Debug,
impl<I> Debug for DecodeUtf16<I>
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 wasmer_types::lib::std::iter::Map<I, F>where
I: Debug,
impl<I, F, const N: usize> Debug for MapWindows<I, F, N>
impl<I, G> Debug for IntersperseWith<I, G>
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>
impl<I, U> Debug for Flatten<I>
impl<I, U, F> Debug for FlatMap<I, U, F>
impl<I, const N: usize> Debug for wasmer_types::lib::std::iter::ArrayChunks<I, N>
impl<Idx> Debug for wasmer_types::lib::std::ops::Range<Idx>where
Idx: Debug,
impl<Idx> Debug for wasmer_types::lib::std::ops::RangeFrom<Idx>where
Idx: Debug,
impl<Idx> Debug for wasmer_types::lib::std::ops::RangeInclusive<Idx>where
Idx: Debug,
impl<Idx> Debug for RangeTo<Idx>where
Idx: Debug,
impl<Idx> Debug for RangeToInclusive<Idx>where
Idx: Debug,
impl<Idx> Debug for core::range::Range<Idx>where
Idx: Debug,
impl<Idx> Debug for core::range::RangeFrom<Idx>where
Idx: Debug,
impl<Idx> Debug for core::range::RangeInclusive<Idx>where
Idx: Debug,
impl<K> Debug for alloc::collections::btree::set::Cursor<'_, K>where
K: 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> Debug for hashbrown::set::Iter<'_, K>where
K: Debug,
impl<K> Debug for ArchivedBTreeSet<K>where
K: Debug,
impl<K> Debug for ArchivedHashSet<K>where
K: Debug,
impl<K> Debug for ArchivedIndexSet<K>where
K: Debug,
impl<K, A> Debug for alloc::collections::btree::set::CursorMut<'_, K, A>where
K: Debug,
impl<K, A> Debug for alloc::collections::btree::set::CursorMutKey<'_, K, A>where
K: Debug,
impl<K, A> Debug for hashbrown::set::Drain<'_, K, A>
impl<K, A> Debug for hashbrown::set::IntoIter<K, A>
impl<K, Q, V, S, A> Debug for EntryRef<'_, '_, K, Q, V, S, A>
impl<K, Q, V, S, A> Debug for OccupiedEntryRef<'_, '_, K, Q, V, S, A>
impl<K, Q, V, S, A> Debug for VacantEntryRef<'_, '_, K, Q, V, S, A>
impl<K, V> Debug for std::collections::hash::map::Entry<'_, K, V>
impl<K, V> Debug for indexmap::map::core::Entry<'_, K, V>
impl<K, V> Debug for LeafNodeEntryError<K, V>
impl<K, V> Debug for ArchivedEntryError<K, V>
impl<K, V> Debug for ArchivedPrimaryMap<K, V>
impl<K, V> Debug for SecondaryMap<K, V>
impl<K, V> Debug for alloc::collections::btree::map::Cursor<'_, K, V>
impl<K, V> Debug for alloc::collections::btree::map::Iter<'_, K, V>
impl<K, V> Debug for alloc::collections::btree::map::IterMut<'_, K, V>
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>
impl<K, V> Debug for RangeMut<'_, K, V>
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>
impl<K, V> Debug for std::collections::hash::map::IntoIter<K, V>
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>
impl<K, V> Debug for std::collections::hash::map::IterMut<'_, K, V>
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>
impl<K, V> Debug for std::collections::hash::map::OccupiedError<'_, K, V>
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> Debug for hashbrown::map::Iter<'_, K, V>
impl<K, V> Debug for hashbrown::map::IterMut<'_, K, V>
impl<K, V> Debug for hashbrown::map::Keys<'_, K, V>where
K: Debug,
impl<K, V> Debug for hashbrown::map::Values<'_, K, V>where
V: Debug,
impl<K, V> Debug for hashbrown::map::ValuesMut<'_, K, V>where
V: Debug,
impl<K, V> Debug for indexmap::map::core::raw::OccupiedEntry<'_, K, V>
impl<K, V> Debug for indexmap::map::core::VacantEntry<'_, K, V>where
K: Debug,
impl<K, V> Debug for indexmap::map::Drain<'_, K, V>
impl<K, V> Debug for indexmap::map::IntoIter<K, V>
impl<K, V> Debug for indexmap::map::IntoKeys<K, V>where
K: Debug,
impl<K, V> Debug for indexmap::map::IntoValues<K, V>where
V: Debug,
impl<K, V> Debug for indexmap::map::Iter<'_, K, V>
impl<K, V> Debug for indexmap::map::IterMut<'_, K, V>
impl<K, V> Debug for indexmap::map::Keys<'_, K, V>where
K: Debug,
impl<K, V> Debug for indexmap::map::Values<'_, K, V>where
V: Debug,
impl<K, V> Debug for indexmap::map::ValuesMut<'_, K, V>where
V: Debug,
impl<K, V> Debug for ArchivedBTreeMap<K, V>
impl<K, V> Debug for ArchivedHashMap<K, V>
impl<K, V> Debug for ArchivedIndexMap<K, V>
impl<K, V> Debug for rkyv::collections::util::Entry<K, V>
impl<K, V, A> Debug for alloc::collections::btree::map::entry::Entry<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::entry::OccupiedEntry<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::entry::OccupiedError<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::entry::VacantEntry<'_, K, V, A>
impl<K, V, A> Debug for BTreeMap<K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::CursorMut<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::CursorMutKey<'_, K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::IntoIter<K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::IntoKeys<K, V, A>
impl<K, V, A> Debug for alloc::collections::btree::map::IntoValues<K, V, A>
impl<K, V, A> Debug for hashbrown::map::Drain<'_, K, V, A>
impl<K, V, A> Debug for hashbrown::map::IntoIter<K, V, A>
impl<K, V, A> Debug for hashbrown::map::IntoKeys<K, V, A>
impl<K, V, A> Debug for hashbrown::map::IntoValues<K, V, A>
impl<K, V, C> Debug for ArchivedBTreeMapError<K, V, C>
impl<K, V, C> Debug for HashMapError<K, V, C>
impl<K, V, C> Debug for IndexMapError<K, V, C>
impl<K, V, F> Debug for alloc::collections::btree::map::ExtractIf<'_, K, V, F>
impl<K, V, S> Debug for std::collections::hash::map::RawEntryMut<'_, K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::HashMap<K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::RawEntryBuilder<'_, K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::RawEntryBuilderMut<'_, K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::RawOccupiedEntryMut<'_, K, V, S>
impl<K, V, S> Debug for std::collections::hash::map::RawVacantEntryMut<'_, K, V, S>
impl<K, V, S> Debug for IndexMap<K, V, S>
impl<K, V, S, A> Debug for hashbrown::map::Entry<'_, K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::RawEntryMut<'_, K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::HashMap<K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::OccupiedEntry<'_, K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::OccupiedError<'_, K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::RawEntryBuilder<'_, K, V, S, A>where
A: Allocator + Clone,
impl<K, V, S, A> Debug for hashbrown::map::RawEntryBuilderMut<'_, K, V, S, A>where
A: Allocator + Clone,
impl<K, V, S, A> Debug for hashbrown::map::RawOccupiedEntryMut<'_, K, V, S, A>
impl<K, V, S, A> Debug for hashbrown::map::RawVacantEntryMut<'_, K, V, S, A>where
A: Allocator + Clone,
impl<K, V, S, A> Debug for hashbrown::map::VacantEntry<'_, K, V, S, A>
impl<K, V: Debug> Debug for BoxedSlice<K, V>
impl<K, V: Debug> Debug for PrimaryMap<K, V>
impl<M, F> Debug for FallbackScratch<M, F>
impl<O> Debug for RawRelPtr<O>where
O: Debug,
impl<Ptr> Debug for Pin<Ptr>where
Ptr: Debug,
impl<R> Debug for BufReader<R>
impl<R> Debug for std::io::Bytes<R>where
R: Debug,
impl<S, C, H> Debug for CompositeSerializerError<S, C, H>
impl<S, C, H> Debug for CompositeSerializer<S, C, H>
impl<T0> Debug for Tuple1CheckError<T0>where
T0: Debug,
impl<T1, T0> Debug for Tuple2CheckError<T1, T0>
impl<T2, T1, T0> Debug for Tuple3CheckError<T2, T1, T0>
impl<T3, T2, T1, T0> Debug for Tuple4CheckError<T3, T2, T1, T0>
impl<T4, T3, T2, T1, T0> Debug for Tuple5CheckError<T4, T3, T2, T1, T0>
impl<T5, T4, T3, T2, T1, T0> Debug for Tuple6CheckError<T5, T4, T3, T2, T1, T0>
impl<T6, T5, T4, T3, T2, T1, T0> Debug for Tuple7CheckError<T6, T5, T4, T3, T2, T1, T0>
impl<T7, T6, T5, T4, T3, T2, T1, T0> Debug for Tuple8CheckError<T7, T6, T5, T4, T3, T2, T1, T0>
impl<T8, T7, T6, T5, T4, T3, T2, T1, T0> Debug for Tuple9CheckError<T8, T7, T6, T5, T4, T3, T2, T1, T0>
impl<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> Debug for Tuple10CheckError<T9, T8, T7, T6, T5, T4, T3, T2, T1, T0>
impl<T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> Debug for Tuple11CheckError<T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0>
impl<T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0> Debug for Tuple12CheckError<T11, T10, T9, T8, T7, T6, T5, T4, T3, T2, T1, T0>
impl<T> Debug for Bound<T>where
T: Debug,
impl<T> Debug for TryLockError<T>
impl<T> Debug for SendTimeoutError<T>
impl<T> Debug for TrySendError<T>
impl<T> Debug for Option<T>where
T: Debug,
impl<T> Debug for Poll<T>where
T: Debug,
impl<T> Debug for EnumCheckError<T>where
T: Debug,
impl<T> Debug for SliceCheckError<T>where
T: Debug,
impl<T> Debug for ArchivedOption<T>where
T: Debug,
impl<T> Debug for *const Twhere
T: ?Sized,
impl<T> Debug for *mut Twhere
T: ?Sized,
impl<T> Debug for &T
impl<T> Debug for &mut T
impl<T> Debug for [T]where
T: Debug,
impl<T> Debug for (T₁, T₂, …, Tₙ)
This trait is implemented for tuples up to twelve items long.
impl<T> Debug for PackedOption<T>where
T: ReservedValue + Debug,
impl<T> Debug for ThinBox<T>
impl<T> Debug for Cell<T>
impl<T> Debug for wasmer_types::lib::std::cell::OnceCell<T>where
T: Debug,
impl<T> Debug for Ref<'_, T>
impl<T> Debug for RefCell<T>
impl<T> Debug for RefMut<'_, T>
impl<T> Debug for SyncUnsafeCell<T>where
T: ?Sized,
impl<T> Debug for UnsafeCell<T>where
T: ?Sized,
impl<T> Debug for Reverse<T>where
T: Debug,
impl<T> Debug for wasmer_types::lib::std::iter::Empty<T>
impl<T> Debug for wasmer_types::lib::std::iter::Once<T>where
T: Debug,
impl<T> Debug for Rev<T>where
T: Debug,
impl<T> Debug for PhantomData<T>where
T: ?Sized,
impl<T> Debug for Discriminant<T>
impl<T> Debug for ManuallyDrop<T>
impl<T> Debug for Yeet<T>where
T: Debug,
impl<T> Debug for NonNull<T>where
T: ?Sized,
impl<T> Debug for wasmer_types::lib::std::slice::Iter<'_, T>where
T: Debug,
impl<T> Debug for wasmer_types::lib::std::slice::IterMut<'_, T>where
T: Debug,
impl<T> Debug for AtomicPtr<T>
target_has_atomic_load_store="ptr"
only.