Trait frame_support::dispatch::fmt::Display
1.0.0 · source · pub trait Display {
// Required method
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
}
Expand description
Format trait for an empty format, {}
.
Implementing this trait for a type will automatically implement the
ToString
trait for the type, allowing the usage
of the .to_string()
method. Prefer implementing
the Display
trait for a type, rather than ToString
.
Display
is similar to Debug
, but Display
is for user-facing
output, and so cannot be derived.
For more information on formatters, see the module-level documentation.
Examples
Implementing Display
on a type:
use std::fmt;
struct Point {
x: i32,
y: i32,
}
impl fmt::Display for Point {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "({}, {})", self.x, self.y)
}
}
let origin = Point { x: 0, y: 0 };
assert_eq!(format!("The origin is: {origin}"), "The origin is: (0, 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::Display for Position {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "({}, {})", self.longitude, self.latitude)
}
}
assert_eq!("(1.987, 2.983)",
format!("{}", Position { longitude: 1.987, latitude: 2.983, }));
Implementors§
impl Display for ApiError
impl Display for DeriveError
impl Display for PublicError
impl Display for SecretStringError
impl Display for sp_inherents::Error
impl Display for sp_keystore::Error
impl Display for MultiSigner
impl Display for RuntimeString
impl Display for ExecutionError
impl Display for sp_version::embed::Error
impl Display for TransactionValidityError
impl Display for StateVersion
impl Display for Infallible
impl Display for IpAddr
impl Display for SocketAddr
impl Display for proc_macro::TokenTree
Prints the token tree as a string that is supposed to be losslessly convertible back
into the same token tree (modulo spans), except for possibly TokenTree::Group
s
with Delimiter::None
delimiters and negative numeric literals.
impl Display for VarError
impl Display for std::io::error::ErrorKind
impl Display for std::sync::mpsc::RecvTimeoutError
impl Display for std::sync::mpsc::TryRecvError
impl Display for time::ParseError
impl Display for bincode::error::ErrorKind
impl Display for RoundingError
impl Display for Weekday
impl Display for hex::error::FromHexError
impl Display for log::Level
impl Display for log::LevelFilter
impl Display for num_format::error_kind::ErrorKind
impl Display for proc_macro2::TokenTree
Prints the token tree as a string that is supposed to be losslessly
convertible back into the same token tree (modulo spans), except for
possibly TokenTree::Group
s with Delimiter::None
delimiters and negative
numeric literals.
impl Display for serde_json::value::Value
impl Display for url::parser::ParseError
impl Display for SyntaxViolation
impl Display for rand::distributions::bernoulli::BernoulliError
impl Display for rand::distributions::bernoulli::BernoulliError
impl Display for rand::distributions::weighted::WeightedError
impl Display for rand::distributions::weighted_index::WeightedError
impl Display for bool
impl Display for char
impl Display for f32
impl Display for f64
impl Display for i8
impl Display for i16
impl Display for i32
impl Display for i64
impl Display for i128
impl Display for isize
impl Display for !
impl Display for str
impl Display for u8
impl Display for u16
impl Display for u32
impl Display for u64
impl Display for u128
impl Display for usize
impl Display for sp_application_crypto::bandersnatch::app::Public
impl Display for sp_application_crypto::bls377::app::Public
impl Display for sp_application_crypto::bls381::app::Public
impl Display for sp_application_crypto::ecdsa::app::Public
impl Display for sp_application_crypto::ed25519::app::Public
impl Display for sp_application_crypto::sr25519::app::Public
impl Display for FixedI64
impl Display for FixedI128
impl Display for FixedU64
impl Display for FixedU128
impl Display for AccountId32
impl Display for sp_core::ecdsa::Public
impl Display for sp_core::ed25519::Public
impl Display for sp_core::sr25519::Public
impl Display for CodeNotFound
impl Display for RuntimeVersion
impl Display for Weight
impl Display for TryReserveError
impl Display for FromVecWithNulError
impl Display for IntoStringError
impl Display for NulError
impl Display for FromUtf8Error
impl Display for FromUtf16Error
impl Display for String
impl Display for LayoutError
impl Display for AllocError
impl Display for core::array::TryFromSliceError
impl Display for core::ascii::EscapeDefault
impl Display for BorrowError
impl Display for BorrowMutError
impl Display for CharTryFromError
impl Display for ParseCharError
impl Display for DecodeUtf16Error
impl Display for core::char::EscapeDebug
impl Display for core::char::EscapeDefault
impl Display for core::char::EscapeUnicode
impl Display for ToLowercase
impl Display for ToUppercase
impl Display for TryFromCharError
impl Display for FromBytesUntilNulError
impl Display for FromBytesWithNulError
impl Display for Ipv4Addr
impl Display for Ipv6Addr
Write an Ipv6Addr, conforming to the canonical style described by RFC 5952.
impl Display for AddrParseError
impl Display for SocketAddrV4
impl Display for SocketAddrV6
impl Display for core::num::dec2flt::ParseFloatError
impl Display for ParseIntError
impl Display for TryFromIntError
impl Display for NonZeroI8
impl Display for NonZeroI16
impl Display for NonZeroI32
impl Display for NonZeroI64
impl Display for NonZeroI128
impl Display for NonZeroIsize
impl Display for NonZeroU8
impl Display for NonZeroU16
impl Display for NonZeroU32
impl Display for NonZeroU64
impl Display for NonZeroU128
impl Display for NonZeroUsize
impl Display for Location<'_>
impl Display for PanicInfo<'_>
impl Display for ParseBoolError
impl Display for Utf8Error
impl Display for TryFromFloatSecsError
impl Display for ExpandError
impl Display for proc_macro::Group
Prints the group as a string that should be losslessly convertible back
into the same group (modulo spans), except for possibly TokenTree::Group
s
with Delimiter::None
delimiters.
impl Display for proc_macro::Ident
Prints the identifier as a string that should be losslessly convertible back into the same identifier.
impl Display for proc_macro::LexError
impl Display for proc_macro::Literal
Prints the literal as a string that should be losslessly convertible back into the same literal (except for possible rounding for floating point literals).
impl Display for proc_macro::Punct
Prints the punctuation character as a string that should be losslessly convertible back into the same character.
impl Display for proc_macro::TokenStream
Prints the token stream as a string that is supposed to be losslessly convertible back
into the same token stream (modulo spans), except for possibly TokenTree::Group
s
with Delimiter::None
delimiters and negative numeric literals.
impl Display for Backtrace
impl Display for JoinPathsError
impl Display for WriterPanicked
impl Display for std::io::error::Error
impl Display for Display<'_>
impl Display for StripPrefixError
impl Display for ExitStatus
impl Display for ExitStatusError
impl Display for std::sync::mpsc::RecvError
impl Display for AccessError
impl Display for SystemTimeError
impl Display for time::duration::Duration
impl Display for time::duration::OutOfRangeError
impl Display for SteadyTime
impl Display for anyhow::Error
impl Display for chrono::format::ParseError
impl Display for NaiveDate
The Display
output of the naive date d
is the same as
d.format("%Y-%m-%d")
.
The string printed can be readily parsed via the parse
method on str
.
Example
use chrono::NaiveDate;
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(2015, 9, 5).unwrap()), "2015-09-05");
assert_eq!(format!("{}", NaiveDate::from_ymd_opt( 0, 1, 1).unwrap()), "0000-01-01");
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(9999, 12, 31).unwrap()), "9999-12-31");
ISO 8601 requires an explicit sign for years before 1 BCE or after 9999 CE.
assert_eq!(format!("{}", NaiveDate::from_ymd_opt( -1, 1, 1).unwrap()), "-0001-01-01");
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(10000, 12, 31).unwrap()), "+10000-12-31");
impl Display for NaiveDateTime
The Display
output of the naive date and time dt
is the same as
dt.format("%Y-%m-%d %H:%M:%S%.f")
.
It should be noted that, for leap seconds not on the minute boundary, it may print a representation not distinguishable from non-leap seconds. This doesn’t matter in practice, since such leap seconds never happened. (By the time of the first leap second on 1972-06-30, every time zone offset around the world has standardized to the 5-minute alignment.)
Example
use chrono::NaiveDate;
let dt = NaiveDate::from_ymd_opt(2016, 11, 15).unwrap().and_hms_opt(7, 39, 24).unwrap();
assert_eq!(format!("{}", dt), "2016-11-15 07:39:24");
Leap seconds may also be used.
let dt = NaiveDate::from_ymd_opt(2015, 6, 30).unwrap().and_hms_milli_opt(23, 59, 59, 1_500).unwrap();
assert_eq!(format!("{}", dt), "2015-06-30 23:59:60.500");
impl Display for NaiveTime
The Display
output of the naive time t
is the same as
t.format("%H:%M:%S%.f")
.
The string printed can be readily parsed via the parse
method on str
.
It should be noted that, for leap seconds not on the minute boundary, it may print a representation not distinguishable from non-leap seconds. This doesn’t matter in practice, since such leap seconds never happened. (By the time of the first leap second on 1972-06-30, every time zone offset around the world has standardized to the 5-minute alignment.)
Example
use chrono::NaiveTime;
assert_eq!(format!("{}", NaiveTime::from_hms_opt(23, 56, 4).unwrap()), "23:56:04");
assert_eq!(format!("{}", NaiveTime::from_hms_milli_opt(23, 56, 4, 12).unwrap()), "23:56:04.012");
assert_eq!(format!("{}", NaiveTime::from_hms_micro_opt(23, 56, 4, 1234).unwrap()), "23:56:04.001234");
assert_eq!(format!("{}", NaiveTime::from_hms_nano_opt(23, 56, 4, 123456).unwrap()), "23:56:04.000123456");
Leap seconds may also be used.
assert_eq!(format!("{}", NaiveTime::from_hms_milli_opt(6, 59, 59, 1_500).unwrap()), "06:59:60.500");
impl Display for FixedOffset
impl Display for Utc
impl Display for OutOfRange
impl Display for ParseWeekdayError
impl Display for crypto_mac::errors::InvalidKeyLength
impl Display for crypto_mac::errors::MacError
impl Display for getrandom::error::Error
impl Display for log::ParseLevelError
impl Display for SetLoggerError
impl Display for num_bigint::bigint::BigInt
impl Display for BigUint
impl Display for ParseBigIntError
impl Display for Buffer
impl Display for num_format::error::Error
impl Display for num_traits::ParseFloatError
impl Display for proc_macro2::Group
Prints the group as a string that should be losslessly convertible back
into the same group (modulo spans), except for possibly TokenTree::Group
s
with Delimiter::None
delimiters.
impl Display for proc_macro2::Ident
Prints the identifier as a string that should be losslessly convertible back into the same identifier.
impl Display for proc_macro2::LexError
impl Display for proc_macro2::Literal
impl Display for proc_macro2::Punct
Prints the punctuation character as a string that should be losslessly convertible back into the same character.
impl Display for proc_macro2::TokenStream
Prints the token stream as a string that is supposed to be losslessly
convertible back into the same token stream (modulo spans), except for
possibly TokenTree::Group
s with Delimiter::None
delimiters and negative
numeric literals.
impl Display for serde::de::value::Error
impl Display for serde_json::error::Error
impl Display for Number
impl Display for RawValue
impl Display for syn::error::Error
impl Display for Lifetime
impl Display for LitFloat
impl Display for LitInt
impl Display for tracing_subscriber::filter::directive::ParseError
impl Display for Directive
impl Display for BadName
impl Display for EnvFilter
impl Display for FromEnvError
impl Display for tracing_subscriber::reload::Error
impl Display for TryInitError
impl Display for Url
Display the serialization of this URL.
impl Display for getrandom::error::Error
impl Display for rand::rngs::adapter::read::ReadError
impl Display for rand::rngs::adapter::read::ReadError
impl Display for rand_core::error::Error
impl Display for rand_core::error::Error
impl Display for Arguments<'_>
impl Display for frame_support::dispatch::fmt::Error
impl Display for Aarch64Architecture
impl Display for AbiParam
impl Display for Aborted
impl Display for AllocErr
impl Display for Allocation
impl Display for AluRmROpcode
impl Display for AluRmiROpcode
impl Display for AnyEntity
impl Display for Architecture
impl Display for ArgumentPurpose
impl Display for ArmArchitecture
impl Display for Ast
Print a display representation of this Ast.
This does not preserve any of the original whitespace formatting that may have originally been present in the concrete syntax from which this Ast was generated.
This implementation uses constant stack space and heap space proportional
to the size of the Ast
.
impl Display for Ast
Print a display representation of this Ast.
This does not preserve any of the original whitespace formatting that may have originally been present in the concrete syntax from which this Ast was generated.
This implementation uses constant stack space and heap space proportional
to the size of the Ast
.
impl Display for AtomicRmwOp
impl Display for Avx512Opcode
impl Display for AvxOpcode
impl Display for BinaryFormat
impl Display for BinaryReaderError
impl Display for Block
impl Display for BuildError
impl Display for CC
impl Display for CallConv
impl Display for Canceled
impl Display for CaseFoldError
impl Display for CaseFoldError
impl Display for Class
impl Display for CodegenError
impl Display for CollectionAllocErr
impl Display for ColorChoiceParseError
impl Display for CompileError
impl Display for Constant
impl Display for ConstantData
impl Display for ConvertError
impl Display for DataValue
impl Display for DataValueCastFailure
impl Display for Date
impl Display for DateTime
impl Display for Datetime
impl Display for DatetimeParseError
impl Display for DecodeError
impl Display for DecodeError
impl Display for DecodeSliceError
impl Display for Duration
impl Display for DwAccess
impl Display for DwAddr
impl Display for DwAt
impl Display for DwAte
impl Display for DwCc
impl Display for DwCfa
impl Display for DwChildren
impl Display for DwDefaulted
impl Display for DwDs
impl Display for DwDsc
impl Display for DwEhPe
impl Display for DwEnd
impl Display for DwForm
impl Display for DwId
impl Display for DwIdx
impl Display for DwInl
impl Display for DwLang
impl Display for DwLle
impl Display for DwLnct
impl Display for DwLne
impl Display for DwLns
impl Display for DwMacro
impl Display for DwOp
impl Display for DwOrd
impl Display for DwRle
impl Display for DwSect
impl Display for DwSectV2
impl Display for DwTag
impl Display for DwUt
impl Display for DwVirtuality
impl Display for DwVis
impl Display for DynamicStackSlot
impl Display for DynamicStackSlotData
impl Display for DynamicType
impl Display for EncodeSliceError
impl Display for EnterError
impl Display for Environment
impl Display for Errno
impl Display for Errno
impl Display for Errno
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for Error
impl Display for ErrorKind
impl Display for ErrorKind
impl Display for ErrorKind
impl Display for ErrorKind
impl Display for ErrorKind
impl Display for ErrorKind
impl Display for Errors
impl Display for ExtMode
impl Display for Field
impl Display for FieldSet
impl Display for FlagValue
impl Display for Flags
impl Display for Flags
impl Display for FloatCC
impl Display for FormattedDuration
impl Display for FromDecStrErr
impl Display for FromHexError
impl Display for FromHexError
impl Display for FromStrRadixErr
impl Display for FuncRef
impl Display for Function
impl Display for GetTimezoneError
impl Display for GlobalValue
impl Display for GlobalValueData
impl Display for H128
impl Display for H160
impl Display for H256
impl Display for H384
impl Display for H512
impl Display for H768
impl Display for HashToCurveError
impl Display for Heap
impl Display for HexDisplay<'_>
impl Display for Hir
Print a display representation of this Hir.
The result of this is a valid regular expression pattern string.
This implementation uses constant stack space and heap space proportional
to the size of the Hir
.
impl Display for Hir
Print a display representation of this Hir.
The result of this is a valid regular expression pattern string.
This implementation uses constant stack space and heap space proportional
to the size of the Hir
.
impl Display for Ia5String
impl Display for Ieee32
impl Display for Ieee64
impl Display for Imm64
impl Display for Immediate
impl Display for Infix
impl Display for Inst
impl Display for Instruction
impl Display for IntCC
impl Display for InvalidBufferSize
impl Display for InvalidKeyLength
impl Display for InvalidLength
impl Display for InvalidOutputSize
impl Display for InvalidOutputSize
impl Display for InvalidOutputSize
impl Display for InvalidParityValue
impl Display for JumpTable
impl Display for KebabStr
impl Display for KebabString
impl Display for KnownSymbol
impl Display for Length
impl Display for Level
impl Display for LevelFilter
impl Display for LibCall
impl Display for LibcallCallConv
impl Display for Limb
impl Display for LookupError
impl Display for Loop
impl Display for MacError
impl Display for MacError
impl Display for MatchError
impl Display for MemFlags
impl Display for MemoryAccessError
impl Display for Message
impl Display for Mips32Architecture
impl Display for Mips64Architecture
impl Display for Mnemonic
impl Display for MnemonicType
impl Display for MultiSignatureStage
impl Display for ObjectIdentifier
impl Display for Offset
impl Display for Offset32
impl Display for Opcode
impl Display for Operand
impl Display for OperandConstraint
impl Display for OperatingSystem
impl Display for OptLevel
impl Display for OutOfRangeError
impl Display for PReg
impl Display for ParseAlphabetError
impl Display for ParseColorError
impl Display for ParseError
impl Display for ParseError
impl Display for ParseLevelError
impl Display for ParseLevelFilterError
impl Display for Pass
impl Display for PassTimes
impl Display for Path<PortableForm>
impl Display for PatternIDError
impl Display for Prefix
impl Display for PrintableString
impl Display for ProbestackStrategy
impl Display for ProgramPoint
impl Display for PublicKey
impl Display for RecvError
impl Display for RecvTimeoutError
impl Display for RegAllocError
impl Display for Regex
impl Display for Regex
impl Display for RegisterMappingError
impl Display for RelSourceLoc
impl Display for Reloc
impl Display for Rfc3339Timestamp
impl Display for Riscv32Architecture
impl Display for Riscv64Architecture
impl Display for SelectTimeoutError
impl Display for SendError
impl Display for SerializationError
impl Display for SerializedSignature
impl Display for SetError
impl Display for SetGlobalDefaultError
impl Display for ShiftKind
impl Display for SigRef
impl Display for Signature
impl Display for Signature
impl Display for Signature
impl Display for Signature
impl Display for SignatureError
impl Display for SourceLoc
impl Display for SpawnError
impl Display for SpillSlot
impl Display for Ss58AddressFormat
Display the name of the address format (not the description).
impl Display for Ss58AddressFormatRegistry
impl Display for SseOpcode
impl Display for StackSlot
impl Display for StackSlotData
impl Display for StackSlotKind
impl Display for StateIDError
impl Display for Suffix
impl Display for Table
impl Display for TableData
impl Display for Tag
impl Display for TagMode
impl Display for TagNumber
impl Display for TeletexString
impl Display for ThreadPoolBuildError
impl Display for Time
impl Display for Timestamp
impl Display for Timestamp
impl Display for TlsModel
impl Display for TokenAmount
impl Display for Trap
impl Display for TrapCode
impl Display for Triple
impl Display for TryFromSliceError
impl Display for TryRecvError
impl Display for TryRecvError
impl Display for TrySelectError
impl Display for Type
impl Display for U128
impl Display for U256
impl Display for U512
impl Display for Uimm32
impl Display for Uimm64
impl Display for UnaryRmROpcode
impl Display for UnicodeWordError
impl Display for UnicodeWordError
impl Display for UnknownImportError
impl Display for UserExternalName
impl Display for UserExternalNameRef
impl Display for UserFuncName
impl Display for VReg
impl Display for ValType
impl Display for Value
impl Display for Value
impl Display for Value
impl Display for ValueLabel
impl Display for ValueType
impl Display for Variable
impl Display for VariableArgs
impl Display for Vendor
impl Display for VerifierError
impl Display for VerifierErrors
impl Display for WasmBacktrace
impl Display for WasmError
impl Display for WasmFault
impl Display for WasmType
impl Display for X86_32Architecture
impl Display for XOnlyPublicKey
impl Display for dyn Value + 'static
impl<'a> Display for BytesOrWideString<'a>
impl<'a> Display for Unexpected<'a>
impl<'a> Display for sp_core::hexdisplay::HexDisplay<'a>
impl<'a> Display for EscapeAscii<'a>
impl<'a> Display for core::str::iter::EscapeDebug<'a>
impl<'a> Display for core::str::iter::EscapeDefault<'a>
impl<'a> Display for core::str::iter::EscapeUnicode<'a>
impl<'a> Display for TmFmt<'a>
impl<'a> Display for SymbolName<'a>
impl<'a> Display for DecimalStr<'a>
impl<'a> Display for InfinityStr<'a>
impl<'a> Display for MinusSignStr<'a>
impl<'a> Display for NanStr<'a>
impl<'a> Display for PlusSignStr<'a>
impl<'a> Display for SeparatorStr<'a>
impl<'a> Display for ParseBuffer<'a>
impl<'a> Display for ANSIGenericString<'a, str>
impl<'a> Display for ANSIGenericStrings<'a, str>
impl<'a> Display for Base64Display<'a>
impl<'a> Display for CFGPrinter<'a>
impl<'a> Display for Demangle<'a>
impl<'a> Display for DisplayBlockCall<'a>
impl<'a> Display for DisplayDataValues<'a>
impl<'a> Display for DisplayFunction<'a>
impl<'a> Display for DisplayInst<'a>
impl<'a> Display for DisplayJumpTable<'a>
impl<'a> Display for Ia5StringRef<'a>
impl<'a> Display for PercentEncode<'a>
impl<'a> Display for PrintableStringRef<'a>
impl<'a> Display for TeletexStringRef<'a>
impl<'a> Display for Utf8StringRef<'a>
impl<'a> Display for ValueSet<'a>
impl<'a> Display for VideotexStringRef<'a>
impl<'a> Display for dyn Expected + 'a
impl<'a, 'e, E> Display for Base64Display<'a, 'e, E>where E: Engine,
impl<'a, I> Display for Format<'a, I>where I: Iterator, <I as Iterator>::Item: Display,
impl<'a, I, B> Display for DelayedFormat<I>where I: Iterator<Item = B> + Clone, B: Borrow<Item<'a>>,
impl<'a, I, F> Display for FormatWith<'a, I, F>where I: Iterator, F: FnMut(<I as Iterator>::Item, &mut dyn FnMut(&dyn Display) -> Result<(), Error>) -> Result<(), Error>,
impl<'a, K, V> Display for std::collections::hash::map::OccupiedError<'a, K, V>where K: Debug, V: Debug,
impl<'a, K, V, A> Display for alloc::collections::btree::map::entry::OccupiedError<'a, K, V, A>where K: Debug + Ord, V: Debug, A: Allocator + Clone,
impl<'a, K, V, S, A> Display for OccupiedError<'a, K, V, S, A>where K: Debug, V: Debug, A: Allocator + Clone,
impl<'a, K, V, S, A> Display for OccupiedError<'a, K, V, S, A>where K: Debug, V: Debug, A: Allocator + Clone,
impl<'a, R, G, T> Display for MappedReentrantMutexGuard<'a, R, G, T>where R: RawMutex + 'a, G: GetThreadId + 'a, T: Display + 'a + ?Sized,
impl<'a, R, G, T> Display for ReentrantMutexGuard<'a, R, G, T>where R: RawMutex + 'a, G: GetThreadId + 'a, T: Display + 'a + ?Sized,
impl<'a, R, T> Display for MappedMutexGuard<'a, R, T>where R: RawMutex + 'a, T: Display + 'a + ?Sized,
impl<'a, R, T> Display for MappedRwLockReadGuard<'a, R, T>where R: RawRwLock + 'a, T: Display + 'a + ?Sized,
impl<'a, R, T> Display for MappedRwLockWriteGuard<'a, R, T>where R: RawRwLock + 'a, T: Display + 'a + ?Sized,
impl<'a, R, T> Display for MutexGuard<'a, R, T>where R: RawMutex + 'a, T: Display + 'a + ?Sized,
impl<'a, R, T> Display for RwLockReadGuard<'a, R, T>where R: RawRwLock + 'a, T: Display + 'a + ?Sized,
impl<'a, R, T> Display for RwLockUpgradableReadGuard<'a, R, T>where R: RawRwLockUpgrade + 'a, T: Display + 'a + ?Sized,
impl<'a, R, T> Display for RwLockWriteGuard<'a, R, T>where R: RawRwLock + 'a, T: Display + 'a + ?Sized,
impl<'a, T> Display for DisplayList<'a, T>where T: 'a + Display,
impl<'a, T> Display for StyledValue<'a, T>where T: Display,
impl<'s, T> Display for SliceVec<'s, T>where T: Display,
impl<A> Display for arrayvec::array_string::ArrayString<A>where A: Array<Item = u8> + Copy,
impl<A> Display for ArrayVec<A>where A: Array, <A as Array>::Item: Display,
impl<A> Display for TinyVec<A>where A: Array, <A as Array>::Item: Display,
impl<AccountId, AccountIndex> Display for MultiAddress<AccountId, AccountIndex>where AccountId: Debug, AccountIndex: Debug,
impl<B> Display for Cow<'_, B>where B: Display + ToOwned + ?Sized, <B as ToOwned>::Owned: Display,
impl<Block> Display for BlockId<Block>where Block: Block,
impl<C> Display for NonZeroScalar<C>where C: CurveArithmetic,
impl<C> Display for ScalarPrimitive<C>where C: Curve,
impl<C> Display for Signature<C>where C: PrimeCurve, <<C as Curve>::FieldBytesSize as Add<<C as Curve>::FieldBytesSize>>::Output: ArrayLength<u8>,
impl<E> Display for Report<E>where E: Error,
impl<E> Display for FormattedFields<E>
impl<E> Display for AllocOrInitError<E>where E: Display,
impl<H> Display for sp_trie::error::Error<H>where Box<TrieError<H, Error<H>>, Global>: Debug,
impl<H, CodecError> Display for sp_trie::trie_codec::Error<H, CodecError>where H: Debug, Box<TrieError<H, CodecError>, Global>: Debug,
impl<HO, CE> Display for Error<HO, CE>where HO: Debug, CE: Error,
impl<I> Display for ExactlyOneError<I>where I: Iterator,
impl<I> Display for Decompositions<I>where I: Iterator<Item = char> + Clone,
impl<I> Display for Recompositions<I>where I: Iterator<Item = char> + Clone,
impl<I> Display for Replacements<I>where I: Iterator<Item = char> + Clone,
impl<L, R> Display for Either<L, R>where L: Display, R: Display,
impl<P> Display for Pin<P>where P: Display,
impl<P> Display for Affine<P>where P: SWCurveConfig,
impl<P> Display for Affine<P>where P: TECurveConfig,
impl<P> Display for CubicExtField<P>where P: CubicExtConfig,
impl<P> Display for MontgomeryAffine<P>where P: MontCurveConfig,
impl<P> Display for PairingOutput<P>where P: Pairing,
impl<P> Display for Projective<P>where P: SWCurveConfig,
impl<P> Display for Projective<P>where P: TECurveConfig,
impl<P> Display for QuadExtField<P>where P: QuadExtConfig,
impl<P, const N: usize> Display for Fp<P, N>where P: FpConfig<N>,
Outputs a string containing the value of self
,
represented as a decimal without leading zeroes.