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 GenError
impl Debug for cookie_factory::lib::std::cmp::Ordering
impl Debug for SeekFrom
impl Debug for cookie_factory::lib::std::fmt::Alignment
impl Debug for TryReserveErrorKind
impl Debug for AsciiChar
impl Debug for Infallible
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 ErrorKind
impl Debug for Shutdown
impl Debug for BacktraceStyle
impl Debug for RecvTimeoutError
impl Debug for std::sync::mpsc::TryRecvError
impl Debug for _Unwind_Reason_Code
impl Debug for PollNext
impl Debug for Prefilter
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 cookie_factory::lib::std::io::Error
impl Debug for Assume
impl Debug for Global
impl Debug for UnorderedKeyError
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 BorrowedBuf<'_>
impl Debug for PhantomPinned
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 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 AtomicI128
impl Debug for AtomicIsize
impl Debug for AtomicU8
impl Debug for AtomicU16
impl Debug for AtomicU32
impl Debug for AtomicU64
impl Debug for AtomicU128
impl Debug for AtomicUsize
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 DefaultHasher
impl Debug for RandomState
impl Debug for WriterPanicked
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 std::io::util::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 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 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 futures_channel::mpsc::SendError
impl Debug for futures_channel::mpsc::TryRecvError
impl Debug for Canceled
impl Debug for AtomicWaker
impl Debug for Enter
impl Debug for EnterError
impl Debug for LocalPool
impl Debug for LocalSpawner
impl Debug for SpawnError
impl Debug for AbortHandle
impl Debug for AbortRegistration
impl Debug for Aborted
impl Debug for futures_util::io::empty::Empty
impl Debug for futures_util::io::repeat::Repeat
impl Debug for futures_util::io::sink::Sink
impl Debug for FinderBuilder
impl Debug for Arguments<'_>
impl Debug for cookie_factory::lib::std::fmt::Error
impl Debug for dyn Any
impl Debug for dyn Any + Send
impl Debug for dyn Any + Sync + Send
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 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> Debug for WakerRef<'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, Fut> Debug for futures_util::stream::futures_unordered::iter::Iter<'a, Fut>
impl<'a, Fut> Debug for futures_util::stream::futures_unordered::iter::IterMut<'a, Fut>
impl<'a, Fut> Debug for IterPinMut<'a, Fut>where
Fut: Debug,
impl<'a, Fut> Debug for IterPinRef<'a, Fut>where
Fut: Debug,
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, R> Debug for FillBuf<'a, R>
impl<'a, R> Debug for Read<'a, R>
impl<'a, R> Debug for ReadExact<'a, R>
impl<'a, R> Debug for ReadLine<'a, R>
impl<'a, R> Debug for ReadToEnd<'a, R>
impl<'a, R> Debug for ReadToString<'a, R>
impl<'a, R> Debug for ReadUntil<'a, R>
impl<'a, R> Debug for ReadVectored<'a, R>
impl<'a, R, W> Debug for Copy<'a, R, W>
impl<'a, R, W> Debug for CopyBuf<'a, R, W>
impl<'a, S> Debug for Seek<'a, S>
impl<'a, Si, Item> Debug for futures_util::sink::close::Close<'a, Si, Item>
impl<'a, Si, Item> Debug for Feed<'a, Si, Item>
impl<'a, Si, Item> Debug for futures_util::sink::flush::Flush<'a, Si, Item>
impl<'a, Si, Item> Debug for Send<'a, Si, Item>
impl<'a, St> Debug for futures_util::stream::select_all::Iter<'a, St>
impl<'a, St> Debug for futures_util::stream::select_all::IterMut<'a, St>
impl<'a, St> Debug for Next<'a, St>
impl<'a, St> Debug for SelectNextSome<'a, St>
impl<'a, St> Debug for TryNext<'a, St>
impl<'a, T> Debug for cookie_factory::lib::std::result::Iter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for cookie_factory::lib::std::result::IterMut<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for cookie_factory::lib::std::slice::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 alloc::collections::btree::set::Range<'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> Debug for Cancellation<'a, T>where
T: Debug,
impl<'a, T> Debug for slab::VacantEntry<'a, T>where
T: Debug,
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 alloc::vec::extract_if::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 cookie_factory::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, W> Debug for futures_util::io::close::Close<'a, W>
impl<'a, W> Debug for futures_util::io::flush::Flush<'a, W>
impl<'a, W> Debug for Write<'a, W>
impl<'a, W> Debug for WriteAll<'a, W>
impl<'a, W> Debug for WriteVectored<'a, W>
impl<'a, const N: usize> Debug for CharArraySearcher<'a, N>
impl<'f> Debug for VaListImpl<'f>
impl<'h, 'n> Debug for FindIter<'h, 'n>
impl<'h, 'n> Debug for FindRevIter<'h, 'n>
impl<'n> Debug for Finder<'n>
impl<'n> Debug for FinderRev<'n>
impl<'scope, T> Debug for ScopedJoinHandle<'scope, T>
impl<A> Debug for cookie_factory::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, B> Debug for Either<A, B>
impl<A, B> Debug for cookie_factory::lib::std::iter::Chain<A, B>
impl<A, B> Debug for cookie_factory::lib::std::iter::Zip<A, B>
impl<A, B> Debug for futures_util::future::select::Select<A, B>
impl<A, B> Debug for TrySelect<A, B>
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<Dyn> Debug for DynMetadata<Dyn>where
Dyn: ?Sized,
impl<E> Debug for Report<E>
impl<F> Debug for FromFn<F>
impl<F> Debug for OnceWith<F>
impl<F> Debug for cookie_factory::lib::std::iter::RepeatWith<F>
impl<F> Debug for core::future::poll_fn::PollFn<F>
impl<F> Debug for CharPredicateSearcher<'_, F>
impl<F> Debug for futures_util::future::future::Flatten<F>
impl<F> Debug for FlattenStream<F>
impl<F> Debug for futures_util::future::future::IntoStream<F>
impl<F> Debug for JoinAll<F>
impl<F> Debug for Lazy<F>where
F: Debug,
impl<F> Debug for OptionFuture<F>where
F: Debug,
impl<F> Debug for futures_util::future::poll_fn::PollFn<F>
impl<F> Debug for TryJoinAll<F>
impl<F> Debug for futures_util::stream::poll_fn::PollFn<F>
impl<F> Debug for futures_util::stream::repeat_with::RepeatWith<F>where
F: Debug,
impl<F> Debug for FormatterFn<F>
impl<F> Debug for Fwhere
F: FnPtr,
impl<Fut1, Fut2> Debug for Join<Fut1, Fut2>
impl<Fut1, Fut2> Debug for futures_util::future::try_future::TryFlatten<Fut1, Fut2>where
TryFlatten<Fut1, Fut2>: Debug,
impl<Fut1, Fut2> Debug for TryJoin<Fut1, Fut2>
impl<Fut1, Fut2, F> Debug for futures_util::future::future::Then<Fut1, Fut2, F>
impl<Fut1, Fut2, F> Debug for futures_util::future::try_future::AndThen<Fut1, Fut2, F>
impl<Fut1, Fut2, F> Debug for futures_util::future::try_future::OrElse<Fut1, Fut2, F>
impl<Fut1, Fut2, Fut3> Debug for Join3<Fut1, Fut2, Fut3>
impl<Fut1, Fut2, Fut3> Debug for TryJoin3<Fut1, Fut2, Fut3>
impl<Fut1, Fut2, Fut3, Fut4> Debug for Join4<Fut1, Fut2, Fut3, Fut4>
impl<Fut1, Fut2, Fut3, Fut4> Debug for TryJoin4<Fut1, Fut2, Fut3, Fut4>where
Fut1: TryFuture + Debug,
<Fut1 as TryFuture>::Ok: Debug,
<Fut1 as TryFuture>::Error: Debug,
Fut2: TryFuture + Debug,
<Fut2 as TryFuture>::Ok: Debug,
<Fut2 as TryFuture>::Error: Debug,
Fut3: TryFuture + Debug,
<Fut3 as TryFuture>::Ok: Debug,
<Fut3 as TryFuture>::Error: Debug,
Fut4: TryFuture + Debug,
<Fut4 as TryFuture>::Ok: Debug,
<Fut4 as TryFuture>::Error: Debug,
impl<Fut1, Fut2, Fut3, Fut4, Fut5> Debug for Join5<Fut1, Fut2, Fut3, Fut4, Fut5>
impl<Fut1, Fut2, Fut3, Fut4, Fut5> Debug for TryJoin5<Fut1, Fut2, Fut3, Fut4, Fut5>where
Fut1: TryFuture + Debug,
<Fut1 as TryFuture>::Ok: Debug,
<Fut1 as TryFuture>::Error: Debug,
Fut2: TryFuture + Debug,
<Fut2 as TryFuture>::Ok: Debug,
<Fut2 as TryFuture>::Error: Debug,
Fut3: TryFuture + Debug,
<Fut3 as TryFuture>::Ok: Debug,
<Fut3 as TryFuture>::Error: Debug,
Fut4: TryFuture + Debug,
<Fut4 as TryFuture>::Ok: Debug,
<Fut4 as TryFuture>::Error: Debug,
Fut5: TryFuture + Debug,
<Fut5 as TryFuture>::Ok: Debug,
<Fut5 as TryFuture>::Error: Debug,
impl<Fut> Debug for MaybeDone<Fut>
impl<Fut> Debug for TryMaybeDone<Fut>
impl<Fut> Debug for futures_util::future::future::catch_unwind::CatchUnwind<Fut>where
Fut: Debug,
impl<Fut> Debug for futures_util::future::future::fuse::Fuse<Fut>where
Fut: Debug,
impl<Fut> Debug for Remote<Fut>
impl<Fut> Debug for NeverError<Fut>
impl<Fut> Debug for UnitError<Fut>
impl<Fut> Debug for futures_util::future::select_all::SelectAll<Fut>where
Fut: Debug,
impl<Fut> Debug for SelectOk<Fut>where
Fut: Debug,
impl<Fut> Debug for IntoFuture<Fut>where
Fut: Debug,
impl<Fut> Debug for TryFlattenStream<Fut>
impl<Fut> Debug for FuturesOrdered<Fut>where
Fut: Future,
impl<Fut> Debug for futures_util::stream::futures_unordered::iter::IntoIter<Fut>
impl<Fut> Debug for FuturesUnordered<Fut>
impl<Fut> Debug for futures_util::stream::once::Once<Fut>where
Fut: Debug,
impl<Fut, E> Debug for futures_util::future::try_future::ErrInto<Fut, E>
impl<Fut, E> Debug for OkInto<Fut, E>
impl<Fut, F> Debug for futures_util::future::future::Inspect<Fut, F>where
Map<Fut, InspectFn<F>>: Debug,
impl<Fut, F> Debug for futures_util::future::future::Map<Fut, F>where
Map<Fut, F>: Debug,
impl<Fut, F> Debug for futures_util::future::try_future::InspectErr<Fut, F>
impl<Fut, F> Debug for futures_util::future::try_future::InspectOk<Fut, F>
impl<Fut, F> Debug for futures_util::future::try_future::MapErr<Fut, F>
impl<Fut, F> Debug for futures_util::future::try_future::MapOk<Fut, F>
impl<Fut, F> Debug for UnwrapOrElse<Fut, F>
impl<Fut, F, G> Debug for MapOkOrElse<Fut, F, G>
impl<Fut, Si> Debug for FlattenSink<Fut, Si>where
TryFlatten<Fut, Si>: Debug,
impl<Fut, T> Debug for MapInto<Fut, T>
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 cookie_factory::lib::std::iter::Cycle<I>where
I: Debug,
impl<I> Debug for cookie_factory::lib::std::iter::Enumerate<I>where
I: Debug,
impl<I> Debug for cookie_factory::lib::std::iter::Fuse<I>where
I: Debug,
impl<I> Debug for Intersperse<I>
impl<I> Debug for cookie_factory::lib::std::iter::Peekable<I>
impl<I> Debug for cookie_factory::lib::std::iter::Skip<I>where
I: Debug,
impl<I> Debug for StepBy<I>where
I: Debug,
impl<I> Debug for cookie_factory::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> Debug for futures_util::stream::iter::Iter<I>where
I: Debug,
impl<I, F> Debug for cookie_factory::lib::std::iter::FilterMap<I, F>where
I: Debug,
impl<I, F> Debug for cookie_factory::lib::std::iter::Inspect<I, F>where
I: Debug,
impl<I, F> Debug for cookie_factory::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 cookie_factory::lib::std::iter::Filter<I, P>where
I: Debug,
impl<I, P> Debug for MapWhile<I, P>where
I: Debug,
impl<I, P> Debug for cookie_factory::lib::std::iter::SkipWhile<I, P>where
I: Debug,
impl<I, P> Debug for cookie_factory::lib::std::iter::TakeWhile<I, P>where
I: Debug,
impl<I, St, F> Debug for cookie_factory::lib::std::iter::Scan<I, St, F>
impl<I, U> Debug for cookie_factory::lib::std::iter::Flatten<I>
impl<I, U, F> Debug for cookie_factory::lib::std::iter::FlatMap<I, U, F>
impl<I, const N: usize> Debug for cookie_factory::lib::std::iter::ArrayChunks<I, N>
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>
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, 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 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, F> Debug for alloc::collections::btree::map::ExtractIf<'_, K, V, F>
impl<K, V, S> Debug for RawEntryMut<'_, K, V, S>
impl<K, V, S> Debug for HashMap<K, V, S>
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>
impl<K, V, S> Debug for RawVacantEntryMut<'_, K, V, S>
impl<Ptr> Debug for Pin<Ptr>where
Ptr: Debug,
impl<R> Debug for std::io::buffered::bufreader::BufReader<R>
impl<R> Debug for std::io::Bytes<R>where
R: Debug,
impl<R> Debug for futures_util::io::buf_reader::BufReader<R>where
R: Debug,
impl<R> Debug for futures_util::io::lines::Lines<R>where
R: Debug,
impl<R> Debug for futures_util::io::take::Take<R>where
R: Debug,
impl<S> Debug for BlockingStream<S>
impl<S> Debug for SplitStream<S>where
S: Debug,
impl<S, Item> Debug for SplitSink<S, Item>
impl<Si1, Si2> Debug for Fanout<Si1, Si2>
impl<Si, F> Debug for SinkMapErr<Si, F>
impl<Si, Item> Debug for Buffer<Si, Item>
impl<Si, Item, E> Debug for SinkErrInto<Si, Item, E>
impl<Si, Item, U, Fut, F> Debug for With<Si, Item, U, Fut, F>
impl<Si, Item, U, St, F> Debug for WithFlatMap<Si, Item, U, St, F>
impl<Si, St> Debug for SendAll<'_, Si, St>
impl<St1, St2> Debug for futures_util::stream::select::Select<St1, St2>
impl<St1, St2> Debug for futures_util::stream::stream::chain::Chain<St1, St2>
impl<St1, St2> Debug for futures_util::stream::stream::zip::Zip<St1, St2>
impl<St1, St2, Clos, State> Debug for SelectWithStrategy<St1, St2, Clos, State>
impl<St> Debug for futures_util::stream::select_all::IntoIter<St>
impl<St> Debug for futures_util::stream::select_all::SelectAll<St>where
St: Debug,
impl<St> Debug for BufferUnordered<St>
impl<St> Debug for Buffered<St>
impl<St> Debug for futures_util::stream::stream::catch_unwind::CatchUnwind<St>where
St: Debug,
impl<St> Debug for futures_util::stream::stream::chunks::Chunks<St>
impl<St> Debug for Concat<St>
impl<St> Debug for futures_util::stream::stream::cycle::Cycle<St>where
St: Debug,
impl<St> Debug for futures_util::stream::stream::enumerate::Enumerate<St>where
St: Debug,
impl<St> Debug for futures_util::stream::stream::fuse::Fuse<St>where
St: Debug,
impl<St> Debug for StreamFuture<St>where
St: Debug,
impl<St> Debug for Peek<'_, St>
impl<St> Debug for futures_util::stream::stream::peek::Peekable<St>
impl<St> Debug for ReadyChunks<St>
impl<St> Debug for futures_util::stream::stream::skip::Skip<St>where
St: Debug,
impl<St> Debug for futures_util::stream::stream::Flatten<St>
impl<St> Debug for futures_util::stream::stream::take::Take<St>where
St: Debug,
impl<St> Debug for IntoAsyncRead<St>
impl<St> Debug for futures_util::stream::try_stream::into_stream::IntoStream<St>where
St: Debug,
impl<St> Debug for TryBufferUnordered<St>
impl<St> Debug for TryBuffered<St>
impl<St> Debug for TryChunks<St>
impl<St> Debug for TryConcat<St>
impl<St> Debug for futures_util::stream::try_stream::try_flatten::TryFlatten<St>
impl<St, C> Debug for Collect<St, C>
impl<St, C> Debug for TryCollect<St, C>
impl<St, E> Debug for futures_util::stream::try_stream::ErrInto<St, E>
impl<St, F> Debug for futures_util::stream::stream::map::Map<St, F>where
St: Debug,
impl<St, F> Debug for NextIf<'_, St, F>
impl<St, F> Debug for futures_util::stream::stream::Inspect<St, F>
impl<St, F> Debug for futures_util::stream::try_stream::InspectErr<St, F>
impl<St, F> Debug for futures_util::stream::try_stream::InspectOk<St, F>
impl<St, F> Debug for futures_util::stream::try_stream::MapErr<St, F>
impl<St, F> Debug for futures_util::stream::try_stream::MapOk<St, F>
impl<St, FromA, FromB> Debug for Unzip<St, FromA, FromB>
impl<St, Fut> Debug for TakeUntil<St, Fut>
impl<St, Fut, F> Debug for futures_util::stream::stream::filter::Filter<St, Fut, F>
impl<St, Fut, F> Debug for futures_util::stream::stream::filter_map::FilterMap<St, Fut, F>
impl<St, Fut, F> Debug for ForEach<St, Fut, F>
impl<St, Fut, F> Debug for ForEachConcurrent<St, Fut, F>
impl<St, Fut, F> Debug for futures_util::stream::stream::skip_while::SkipWhile<St, Fut, F>
impl<St, Fut, F> Debug for futures_util::stream::stream::take_while::TakeWhile<St, Fut, F>
impl<St, Fut, F> Debug for futures_util::stream::stream::then::Then<St, Fut, F>
impl<St, Fut, F> Debug for futures_util::stream::try_stream::and_then::AndThen<St, Fut, F>
impl<St, Fut, F> Debug for futures_util::stream::try_stream::or_else::OrElse<St, Fut, F>
impl<St, Fut, F> Debug for TryFilter<St, Fut, F>
impl<St, Fut, F> Debug for TryFilterMap<St, Fut, F>
impl<St, Fut, F> Debug for TryForEach<St, Fut, F>
impl<St, Fut, F> Debug for TryForEachConcurrent<St, Fut, F>
impl<St, Fut, F> Debug for TrySkipWhile<St, Fut, F>
impl<St, Fut, F> Debug for TryTakeWhile<St, Fut, F>
impl<St, Fut, T, F> Debug for Fold<St, Fut, T, F>
impl<St, Fut, T, F> Debug for TryFold<St, Fut, T, F>
impl<St, S, Fut, F> Debug for futures_util::stream::stream::scan::Scan<St, S, Fut, F>
impl<St, Si> Debug for Forward<St, Si>
impl<St, T> Debug for NextIfEq<'_, St, T>
impl<St, U, F> Debug for futures_util::stream::stream::FlatMap<St, U, F>
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 std::sync::mpsc::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 &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.