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 };
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 ConversionError
impl Debug for gstd::errors::CoreError
impl Debug for gstd::errors::Error
impl Debug for ErrorReplyReason
impl Debug for ExecutionError
impl Debug for ExtError
impl Debug for MemoryError
impl Debug for MessageError
impl Debug for ReplyCode
impl Debug for ReservationError
impl Debug for SignalCode
impl Debug for SimpleExecutionError
impl Debug for SimpleProgramCreationError
impl Debug for SuccessReplyReason
impl Debug for UsageError
impl Debug for AsciiChar
impl Debug for gstd::prelude::cmp::Ordering
impl Debug for TryReserveErrorKind
impl Debug for gstd::prelude::collections::hashbrown::TryReserveError
impl Debug for Infallible
impl Debug for c_void
impl Debug for FpCategory
impl Debug for IntErrorKind
impl Debug for SearchStep
impl Debug for gstd::prelude::fmt::Alignment
impl Debug for IpAddr
impl Debug for Ipv6MulticastScope
impl Debug for SocketAddr
impl Debug for core::sync::atomic::Ordering
impl Debug for hex::error::FromHexError
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 gstd::errors::CodecError
impl Debug for ErrorReplyPayload
impl Debug for SyscallError
impl Debug for gstd::msg::MessageHandle
impl Debug for ActorId
impl Debug for CodeId
impl Debug for EnvVars
impl Debug for GasMultiplier
impl Debug for MessageId
impl Debug for Percent
impl Debug for Reservation
impl Debug for ReservationId
impl Debug for Reservations
impl Debug for Ss58Address
impl Debug for MetaType
impl Debug for TypeId
impl Debug for TryFromSliceError
impl Debug for gstd::prelude::ascii::EscapeDefault
impl Debug for BorrowError
impl Debug for BorrowMutError
impl Debug for CharTryFromError
impl Debug for DecodeUtf16Error
impl Debug for gstd::prelude::char::EscapeDebug
impl Debug for gstd::prelude::char::EscapeDefault
impl Debug for gstd::prelude::char::EscapeUnicode
impl Debug for ParseCharError
impl Debug for ToLowercase
impl Debug for ToUppercase
impl Debug for TryFromCharError
impl Debug for UnorderedKeyError
impl Debug for gstd::prelude::collections::TryReserveError
impl Debug for CStr
impl Debug for CString
impl Debug for FromBytesUntilNulError
impl Debug for FromBytesWithNulError
impl Debug for FromVecWithNulError
impl Debug for IntoStringError
impl Debug for NulError
impl Debug for SipHasher
impl Debug for PhantomPinned
impl Debug for Assume
impl Debug for ParseFloatError
impl Debug for ParseIntError
impl Debug for TryFromIntError
impl Debug for RangeFull
impl Debug for PanicMessage<'_>
impl Debug for gstd::prelude::ptr::Alignment
impl Debug for Chars<'_>
impl Debug for EncodeUtf16<'_>
impl Debug for ParseBoolError
impl Debug for Utf8Chunks<'_>
impl Debug for Utf8Error
impl Debug for gstd::prelude::string::Drain<'_>
impl Debug for FromUtf8Error
impl Debug for FromUtf16Error
impl Debug for String
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 alloc::alloc::Global
impl Debug for Layout
impl Debug for LayoutError
impl Debug for core::alloc::AllocError
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 BorrowedBuf<'_>
impl Debug for Ipv4Addr
impl Debug for Ipv6Addr
impl Debug for AddrParseError
impl Debug for SocketAddrV4
impl Debug for SocketAddrV6
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 Choice
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 gstd::prelude::fmt::Error
impl Debug for AHasher
impl Debug for AbortHandle
impl Debug for AbortRegistration
impl Debug for Aborted
impl Debug for AllocError
impl Debug for Alphabet
impl Debug for AtomicWaker
impl Debug for BigEndian
impl Debug for Blake2bVarCore
impl Debug for Blake2sVarCore
impl Debug for BlockNumberWithHash
impl Debug for Canceled
impl Debug for Eager
impl Debug for Error
impl Debug for Error
impl Debug for Error
impl Debug for Error
impl Debug for Error
impl Debug for Error
impl Debug for Error
impl Debug for ErrorBytes
impl Debug for ErrorWithGas
impl Debug for ErrorWithHandle
impl Debug for ErrorWithHash
impl Debug for ErrorWithReplyCode
impl Debug for ErrorWithSignalCode
impl Debug for ErrorWithTwoHashes
impl Debug for FromDecStrErr
impl Debug for FromHexError
impl Debug for FromHexError
impl Debug for FromStrRadixErr
impl Debug for FromStrRadixErrKind
impl Debug for Global
impl Debug for H128
impl Debug for H160
impl Debug for H256
impl Debug for H384
impl Debug for H512
impl Debug for H768
impl Debug for HashWithValue
impl Debug for InvalidBufferSize
impl Debug for InvalidLength
impl Debug for InvalidOutputSize
impl Debug for Lazy
impl Debug for LittleEndian
impl Debug for MacError
impl Debug for MessageHandle
impl Debug for MetaForm
impl Debug for NonZeroU256
impl Debug for OnceBool
impl Debug for OnceNonZeroUsize
impl Debug for OptionBool
impl Debug for PathError
impl Debug for PollNext
impl Debug for PortableForm
impl Debug for PortableRegistry
impl Debug for PortableRegistryBuilder
impl Debug for PortableType
impl Debug for RandomState
impl Debug for RawSs58Address
impl Debug for Registry
impl Debug for SpawnError
impl Debug for TruncSide
impl Debug for TwoHashes
impl Debug for TwoHashesWithValue
impl Debug for TypeDefPrimitive
impl Debug for U128
impl Debug for U256
impl Debug for U512
impl Debug for dyn Any
impl Debug for dyn Any + Send
impl Debug for dyn Any + Send + Sync
impl<'a> Debug for gstd::prelude::ffi::c_str::Bytes<'a>
impl<'a> Debug for Location<'a>
impl<'a> Debug for PanicInfo<'a>
impl<'a> Debug for EscapeAscii<'a>
impl<'a> Debug for CharSearcher<'a>
impl<'a> Debug for gstd::prelude::str::Bytes<'a>
impl<'a> Debug for CharIndices<'a>
impl<'a> Debug for gstd::prelude::str::EscapeDebug<'a>
impl<'a> Debug for gstd::prelude::str::EscapeDefault<'a>
impl<'a> Debug for gstd::prelude::str::EscapeUnicode<'a>
impl<'a> Debug for 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 ContextBuilder<'a>
impl<'a> Debug for Request<'a>
impl<'a> Debug for Source<'a>
impl<'a> Debug for BorrowedCursor<'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 gstd::prelude::option::Iter<'a, A>where
A: Debug + 'a,
impl<'a, A> Debug for gstd::prelude::option::IterMut<'a, A>where
A: Debug + 'a,
impl<'a, Fut> Debug for Iter<'a, Fut>
impl<'a, Fut> Debug for 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 gstd::prelude::vec::Splice<'a, I, A>
impl<'a, I, A> Debug for Splice<'a, I, A>
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 gstd::prelude::str::RSplit<'a, P>
impl<'a, P> Debug for gstd::prelude::str::RSplitN<'a, P>
impl<'a, P> Debug for RSplitTerminator<'a, P>
impl<'a, P> Debug for gstd::prelude::str::Split<'a, P>
impl<'a, P> Debug for gstd::prelude::str::SplitInclusive<'a, P>
impl<'a, P> Debug for gstd::prelude::str::SplitN<'a, P>
impl<'a, P> Debug for SplitTerminator<'a, P>
impl<'a, Si, Item> Debug for Close<'a, Si, Item>
impl<'a, Si, Item> Debug for Feed<'a, Si, Item>
impl<'a, Si, Item> Debug for Flush<'a, Si, Item>
impl<'a, Si, Item> Debug for Send<'a, Si, Item>
impl<'a, St> Debug for Iter<'a, St>
impl<'a, St> Debug for 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 gstd::prelude::collections::btree_set::Range<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for gstd::prelude::result::Iter<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for gstd::prelude::result::IterMut<'a, T>where
T: Debug + 'a,
impl<'a, T> Debug for gstd::prelude::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 Cancellation<'a, T>where
T: Debug,
impl<'a, T> Debug for OnceRef<'a, T>
impl<'a, T> Debug for Ptr<'a, T>where
T: 'a + ?Sized,
impl<'a, T> Debug for Symbol<'a, T>where
T: Debug + 'a,
impl<'a, T, A> Debug for gstd::prelude::collections::binary_heap::Drain<'a, T, A>
impl<'a, T, A> Debug for DrainSorted<'a, T, A>
impl<'a, T, F, A> Debug for gstd::prelude::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 gstd::prelude::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<'f> Debug for VaListImpl<'f>
impl<A> Debug for gstd::prelude::iter::Repeat<A>where
A: Debug,
impl<A> Debug for RepeatN<A>where
A: Debug,
impl<A> Debug for gstd::prelude::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, B> Debug for gstd::prelude::iter::Chain<A, B>
impl<A, B> Debug for gstd::prelude::iter::Zip<A, B>
impl<A, B> Debug for Either<A, B>
impl<A, B> Debug for Select<A, B>
impl<A, B> Debug for TrySelect<A, B>
impl<B> Debug for Cow<'_, B>
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<Dyn> Debug for DynMetadata<Dyn>where
Dyn: ?Sized,
impl<F> Debug for gstd::prelude::future::PollFn<F>
impl<F> Debug for FromFn<F>
impl<F> Debug for OnceWith<F>
impl<F> Debug for gstd::prelude::iter::RepeatWith<F>
impl<F> Debug for CharPredicateSearcher<'_, F>
impl<F> Debug for FormatterFn<F>
impl<F> Debug for Fwhere
F: FnPtr,
impl<F> Debug for Flatten<F>
impl<F> Debug for FlattenStream<F>
impl<F> Debug for IntoStream<F>where
Once<F>: Debug,
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 PollFn<F>
impl<F> Debug for PollFn<F>
impl<F> Debug for RepeatWith<F>where
F: Debug,
impl<F> Debug for TryJoinAll<F>
impl<Fut1, Fut2> Debug for Join<Fut1, Fut2>
impl<Fut1, Fut2> Debug for TryFlatten<Fut1, Fut2>where
TryFlatten<Fut1, Fut2>: Debug,
impl<Fut1, Fut2> Debug for TryJoin<Fut1, Fut2>
impl<Fut1, Fut2, F> Debug for AndThen<Fut1, Fut2, F>where
TryFlatten<MapOk<Fut1, F>, Fut2>: Debug,
impl<Fut1, Fut2, F> Debug for OrElse<Fut1, Fut2, F>where
TryFlattenErr<MapErr<Fut1, F>, Fut2>: Debug,
impl<Fut1, Fut2, F> Debug for Then<Fut1, Fut2, F>where
Flatten<Map<Fut1, F>, Fut2>: Debug,
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 Fuse<Fut>where
Fut: Debug,
impl<Fut> Debug for FuturesOrdered<Fut>where
Fut: Future,
impl<Fut> Debug for FuturesUnordered<Fut>
impl<Fut> Debug for IntoFuture<Fut>where
Fut: Debug,
impl<Fut> Debug for IntoIter<Fut>
impl<Fut> Debug for MaybeDone<Fut>
impl<Fut> Debug for NeverError<Fut>where
Map<Fut, OkFn<Infallible>>: Debug,
impl<Fut> Debug for Once<Fut>where
Fut: Debug,
impl<Fut> Debug for SelectAll<Fut>where
Fut: Debug,
impl<Fut> Debug for SelectOk<Fut>where
Fut: Debug,
impl<Fut> Debug for TryFlattenStream<Fut>where
TryFlatten<Fut, <Fut as TryFuture>::Ok>: Debug,
Fut: TryFuture,
impl<Fut> Debug for TryMaybeDone<Fut>
impl<Fut> Debug for UnitError<Fut>
impl<Fut, E> Debug for ErrInto<Fut, E>where
MapErr<Fut, IntoFn<E>>: Debug,
impl<Fut, E> Debug for OkInto<Fut, E>where
MapOk<Fut, IntoFn<E>>: Debug,
impl<Fut, F> Debug for Inspect<Fut, F>where
Map<Fut, InspectFn<F>>: Debug,
impl<Fut, F> Debug for InspectErr<Fut, F>where
Inspect<IntoFuture<Fut>, InspectErrFn<F>>: Debug,
impl<Fut, F> Debug for InspectOk<Fut, F>where
Inspect<IntoFuture<Fut>, InspectOkFn<F>>: Debug,
impl<Fut, F> Debug for Map<Fut, F>where
Map<Fut, F>: Debug,
impl<Fut, F> Debug for MapErr<Fut, F>where
Map<IntoFuture<Fut>, MapErrFn<F>>: Debug,
impl<Fut, F> Debug for MapOk<Fut, F>where
Map<IntoFuture<Fut>, MapOkFn<F>>: Debug,
impl<Fut, F> Debug for UnwrapOrElse<Fut, F>where
Map<IntoFuture<Fut>, UnwrapOrElseFn<F>>: Debug,
impl<Fut, F, G> Debug for MapOkOrElse<Fut, F, G>where
Map<IntoFuture<Fut>, ChainFn<MapOkFn<F>, ChainFn<MapErrFn<G>, MergeResultFn>>>: Debug,
impl<Fut, Si> Debug for FlattenSink<Fut, Si>where
TryFlatten<Fut, Si>: Debug,
impl<Fut, T> Debug for MapInto<Fut, T>where
Map<Fut, IntoFn<T>>: Debug,
impl<H> Debug for BuildHasherDefault<H>
impl<I> Debug for DecodeUtf16<I>
impl<I> Debug for Cloned<I>where
I: Debug,
impl<I> Debug for Copied<I>where
I: Debug,
impl<I> Debug for gstd::prelude::iter::Cycle<I>where
I: Debug,
impl<I> Debug for gstd::prelude::iter::Enumerate<I>where
I: Debug,
impl<I> Debug for gstd::prelude::iter::Fuse<I>where
I: Debug,
impl<I> Debug for Intersperse<I>
impl<I> Debug for gstd::prelude::iter::Peekable<I>
impl<I> Debug for gstd::prelude::iter::Skip<I>where
I: Debug,
impl<I> Debug for StepBy<I>where
I: Debug,
impl<I> Debug for gstd::prelude::iter::Take<I>where
I: Debug,
impl<I> Debug for FromIter<I>where
I: Debug,
impl<I> Debug for Iter<I>where
I: Debug,
impl<I, F> Debug for gstd::prelude::iter::FilterMap<I, F>where
I: Debug,
impl<I, F> Debug for gstd::prelude::iter::Inspect<I, F>where
I: Debug,
impl<I, F> Debug for gstd::prelude::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 gstd::prelude::iter::Filter<I, P>where
I: Debug,
impl<I, P> Debug for MapWhile<I, P>where
I: Debug,
impl<I, P> Debug for gstd::prelude::iter::SkipWhile<I, P>where
I: Debug,
impl<I, P> Debug for gstd::prelude::iter::TakeWhile<I, P>where
I: Debug,
impl<I, St, F> Debug for gstd::prelude::iter::Scan<I, St, F>
impl<I, U> Debug for gstd::prelude::iter::Flatten<I>
impl<I, U, F> Debug for gstd::prelude::iter::FlatMap<I, U, F>
impl<I, const N: usize> Debug for gstd::prelude::iter::ArrayChunks<I, N>
impl<Idx> Debug for gstd::prelude::ops::Range<Idx>where
Idx: Debug,
impl<Idx> Debug for gstd::prelude::ops::RangeFrom<Idx>where
Idx: Debug,
impl<Idx> Debug for gstd::prelude::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 gstd::prelude::collections::hash_set::Iter<'_, K>where
K: Debug,
impl<K, A> Debug for gstd::prelude::collections::hash_set::Drain<'_, K, A>where
K: Debug,
A: Allocator,
impl<K, A> Debug for gstd::prelude::collections::hash_set::IntoIter<K, A>where
K: Debug,
A: Allocator,
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 gstd::prelude::collections::btree_map::Cursor<'_, K, V>
impl<K, V> Debug for gstd::prelude::collections::btree_map::Iter<'_, K, V>
impl<K, V> Debug for gstd::prelude::collections::btree_map::IterMut<'_, K, V>
impl<K, V> Debug for gstd::prelude::collections::btree_map::Keys<'_, K, V>where
K: Debug,
impl<K, V> Debug for gstd::prelude::collections::btree_map::Range<'_, K, V>
impl<K, V> Debug for RangeMut<'_, K, V>
impl<K, V> Debug for gstd::prelude::collections::btree_map::Values<'_, K, V>where
V: Debug,
impl<K, V> Debug for gstd::prelude::collections::btree_map::ValuesMut<'_, K, V>where
V: Debug,
impl<K, V> Debug for gstd::prelude::collections::hash_map::Iter<'_, K, V>
impl<K, V> Debug for gstd::prelude::collections::hash_map::IterMut<'_, K, V>
impl<K, V> Debug for gstd::prelude::collections::hash_map::Keys<'_, K, V>where
K: Debug,
impl<K, V> Debug for gstd::prelude::collections::hash_map::Values<'_, K, V>where
V: Debug,
impl<K, V> Debug for gstd::prelude::collections::hash_map::ValuesMut<'_, K, V>where
V: Debug,
impl<K, V, A> Debug for gstd::prelude::collections::btree_map::Entry<'_, K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::btree_map::CursorMut<'_, K, V, A>
impl<K, V, A> Debug for CursorMutKey<'_, K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::btree_map::IntoIter<K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::btree_map::IntoKeys<K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::btree_map::IntoValues<K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::btree_map::OccupiedEntry<'_, K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::btree_map::OccupiedError<'_, K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::btree_map::VacantEntry<'_, K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::hash_map::Drain<'_, K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::hash_map::IntoIter<K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::hash_map::IntoKeys<K, V, A>
impl<K, V, A> Debug for gstd::prelude::collections::hash_map::IntoValues<K, V, A>where
V: Debug,
A: Allocator,
impl<K, V, A> Debug for BTreeMap<K, V, A>
impl<K, V, F> Debug for gstd::prelude::collections::btree_map::ExtractIf<'_, K, V, F>
impl<K, V, S, A> Debug for gstd::prelude::collections::hash_map::Entry<'_, K, V, S, A>
impl<K, V, S, A> Debug for RawEntryMut<'_, K, V, S, A>
impl<K, V, S, A> Debug for gstd::prelude::collections::hash_map::OccupiedEntry<'_, K, V, S, A>
impl<K, V, S, A> Debug for gstd::prelude::collections::hash_map::OccupiedError<'_, K, V, S, A>
impl<K, V, S, A> Debug for RawEntryBuilder<'_, K, V, S, A>where
A: Allocator,
impl<K, V, S, A> Debug for RawEntryBuilderMut<'_, K, V, S, A>where
A: Allocator,
impl<K, V, S, A> Debug for RawOccupiedEntryMut<'_, K, V, S, A>
impl<K, V, S, A> Debug for RawVacantEntryMut<'_, K, V, S, A>where
A: Allocator,
impl<K, V, S, A> Debug for gstd::prelude::collections::hash_map::VacantEntry<'_, K, V, S, A>where
K: Debug,
A: Allocator,
impl<K, V, S, A> Debug for HashMap<K, V, S, A>
impl<OutSize> Debug for Blake2bMac<OutSize>
impl<OutSize> Debug for Blake2sMac<OutSize>
impl<Ptr> Debug for Pin<Ptr>where
Ptr: Debug,
impl<S> Debug for PollImmediate<S>where
S: Debug,
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 Chain<St1, St2>
impl<St1, St2> Debug for Select<St1, St2>
impl<St1, St2> Debug for Zip<St1, St2>
impl<St1, St2, Clos, State> Debug for SelectWithStrategy<St1, St2, Clos, State>
impl<St> Debug for BufferUnordered<St>where
St: Stream + Debug,
impl<St> Debug for Buffered<St>
impl<St> Debug for Chunks<St>
impl<St> Debug for Concat<St>
impl<St> Debug for Count<St>where
St: Debug,
impl<St> Debug for Cycle<St>where
St: Debug,
impl<St> Debug for Enumerate<St>where
St: Debug,
impl<St> Debug for Flatten<St>where
Flatten<St, <St as Stream>::Item>: Debug,
St: Stream,
impl<St> Debug for Fuse<St>where
St: Debug,
impl<St> Debug for IntoIter<St>
impl<St> Debug for IntoStream<St>where
St: Debug,
impl<St> Debug for Peek<'_, St>
impl<St> Debug for PeekMut<'_, St>
impl<St> Debug for Peekable<St>
impl<St> Debug for ReadyChunks<St>where
St: Debug + Stream,
impl<St> Debug for SelectAll<St>where
St: Debug,
impl<St> Debug for Skip<St>where
St: Debug,
impl<St> Debug for StreamFuture<St>where
St: Debug,
impl<St> Debug for Take<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 TryFlatten<St>
impl<St> Debug for TryFlattenUnordered<St>
impl<St> Debug for TryReadyChunks<St>where
St: Debug + TryStream,
impl<St, C> Debug for Collect<St, C>
impl<St, C> Debug for TryCollect<St, C>
impl<St, E> Debug for ErrInto<St, E>where
MapErr<St, IntoFn<E>>: Debug,
impl<St, F> Debug for Inspect<St, F>where
Map<St, InspectFn<F>>: Debug,
impl<St, F> Debug for InspectErr<St, F>where
Inspect<IntoStream<St>, InspectErrFn<F>>: Debug,
impl<St, F> Debug for InspectOk<St, F>where
Inspect<IntoStream<St>, InspectOkFn<F>>: Debug,
impl<St, F> Debug for Map<St, F>where
St: Debug,
impl<St, F> Debug for MapErr<St, F>where
Map<IntoStream<St>, MapErrFn<F>>: Debug,
impl<St, F> Debug for MapOk<St, F>where
Map<IntoStream<St>, MapOkFn<F>>: Debug,
impl<St, F> Debug for NextIf<'_, 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 All<St, Fut, F>
impl<St, Fut, F> Debug for AndThen<St, Fut, F>
impl<St, Fut, F> Debug for Any<St, Fut, F>
impl<St, Fut, F> Debug for Filter<St, Fut, F>
impl<St, Fut, F> Debug for 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 OrElse<St, Fut, F>
impl<St, Fut, F> Debug for SkipWhile<St, Fut, F>
impl<St, Fut, F> Debug for TakeWhile<St, Fut, F>
impl<St, Fut, F> Debug for Then<St, Fut, F>
impl<St, Fut, F> Debug for TryAll<St, Fut, F>
impl<St, Fut, F> Debug for TryAny<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 Scan<St, S, Fut, F>
impl<St, Si> Debug for Forward<St, Si>where
Forward<St, Si, <St as TryStream>::Ok>: Debug,
St: TryStream,
impl<St, T> Debug for NextIfEq<'_, St, T>
impl<St, U, F> Debug for FlatMap<St, U, F>where
Flatten<Map<St, F>, U>: Debug,
impl<St, U, F> Debug for FlatMapUnordered<St, U, F>
impl<T> Debug for Option<T>where
T: Debug,
impl<T> Debug for Bound<T>where
T: Debug,
impl<T> Debug for Poll<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.