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.
§Completeness and parseability
Display for a type might not necessarily be a lossless or complete representation of the type.
It may omit internal state, precision, or other information the type does not consider important
for user-facing output, as determined by the type. As such, the output of Display might not be
possible to parse, and even if it is, the result of parsing might not exactly match the original
value.
However, if a type has a lossless Display implementation whose output is meant to be
conveniently machine-parseable and not just meant for human consumption, then the type may wish
to accept the same format in FromStr, and document that usage. Having both Display and
FromStr implementations where the result of Display cannot be parsed with FromStr may
surprise users.
§Internationalization
Because a type can only have one Display implementation, it is often preferable
to only implement Display when there is a single most “obvious” way that
values can be formatted as text. This could mean formatting according to the
“invariant” culture and “undefined” locale, or it could mean that the type
display is designed for a specific culture/locale, such as developer logs.
If not all values have a justifiably canonical textual format or if you want
to support alternative formats not covered by the standard set of possible
formatting traits, the most flexible approach is display adapters: methods
like str::escape_default or Path::display which create a wrapper
implementing Display to output the specific display format.
§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§
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::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 UpdaterError
impl Display for snarkvm_debug::prelude::bech32::Error
impl Display for LiteralType
impl Display for AsciiChar
impl Display for Infallible
impl Display for FromBytesWithNulError
impl Display for IpAddr
impl Display for SocketAddr
impl Display for core::slice::GetDisjointMutError
impl Display for VarError
impl Display for std::fs::TryLockError
impl Display for std::io::error::ErrorKind
impl Display for RecvTimeoutError
impl Display for std::sync::mpsc::TryRecvError
impl Display for base64::alphabet::ParseAlphabetError
impl Display for base64::alphabet::ParseAlphabetError
impl Display for base64::decode::DecodeError
impl Display for base64::decode::DecodeError
impl Display for base64::decode::DecodeSliceError
impl Display for base64::decode::DecodeSliceError
impl Display for base64::encode::EncodeSliceError
impl Display for base64::encode::EncodeSliceError
impl Display for bincode::error::ErrorKind
impl Display for bs58::alphabet::Error
impl Display for bs58::decode::Error
impl Display for bs58::encode::Error
impl Display for ContextKind
impl Display for ContextValue
impl Display for clap_builder::error::kind::ErrorKind
impl Display for MatchesError
impl Display for ColorChoice
impl Display for dotenvy::errors::Error
impl Display for FromHexError
impl Display for httparse::Error
impl Display for InvalidStringList
impl Display for icu_collections::codepointtrie::error::Error
impl Display for icu_locale_core::parser::errors::ParseError
impl Display for PreferencesParseError
impl Display for DataErrorKind
impl Display for indexmap::GetDisjointMutError
impl Display for IpNet
impl Display for log::Level
impl Display for log::LevelFilter
impl Display for num_format::error_kind::ErrorKind
impl Display for Prefix
impl Display for quick_xml::errors::Error
impl Display for AttrError
impl Display for BernoulliError
impl Display for WeightedError
impl Display for StartError
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 regex_syntax::ast::ErrorKind
impl Display for regex_syntax::error::Error
impl Display for regex_syntax::hir::ErrorKind
impl Display for regex::error::Error
impl Display for rustls_pki_types::pem::Error
impl Display for webpki::error::Error
impl Display for EarlyDataError
impl Display for EncodeError
impl Display for EncryptError
impl Display for CertificateError
impl Display for rustls::error::Error
impl Display for ExtendedKeyPurpose
impl Display for VerifierBuilderError
impl Display for Status
impl Display for self_update::errors::Error
impl Display for serde_json::value::Value
impl Display for serde_urlencoded::ser::Error
impl Display for slab::GetDisjointMutError
impl Display for CollectionAllocErr
impl Display for SNARKError
impl Display for PCError
impl Display for SynthesisError
impl Display for AHPError
impl Display for Mode
impl Display for GroupError
impl Display for ConstraintFieldError
impl Display for FieldError
impl Display for ParameterError
impl Display for Opcode
impl Display for SerializationError
impl Display for StrSimError
impl Display for time::error::Error
impl Display for Month
impl Display for Weekday
impl Display for tinystr::error::ParseError
impl Display for AnyDelimiterCodecError
impl Display for LinesCodecError
impl Display for TryAcquireError
impl Display for tokio::sync::broadcast::error::RecvError
impl Display for tokio::sync::broadcast::error::TryRecvError
impl Display for tokio::sync::mpsc::error::TryRecvError
impl Display for tokio::sync::oneshot::error::TryRecvError
impl Display for ureq::error::Error
impl Display for ureq::error::ErrorKind
impl Display for url::parser::ParseError
impl Display for SyntaxViolation
impl Display for BigEndian
impl Display for LittleEndian
impl Display for ZeroTrieBuildError
impl Display for UleError
impl Display for bool
impl Display for char
impl Display for f16
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 snarkvm_debug::prelude::de::value::Error
impl Display for Arguments<'_>
impl Display for snarkvm_debug::prelude::fmt::Error
impl Display for ParseBoolError
impl Display for Utf8Error
impl Display for snarkvm_debug::prelude::Error
impl Display for ByteString
impl Display for UnorderedKeyError
impl Display for alloc::collections::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 core::alloc::AllocError
impl Display for TryFromSliceError
impl Display for core::ascii::EscapeDefault
impl Display for ByteStr
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 Ipv4Addr
impl Display for Ipv6Addr
Writes an Ipv6Addr, conforming to the canonical style described by RFC 5952.
impl Display for core::net::parser::AddrParseError
impl Display for SocketAddrV4
impl Display for SocketAddrV6
impl Display for core::num::dec2flt::ParseFloatError
impl Display for core::num::error::ParseIntError
impl Display for core::num::error::TryFromIntError
impl Display for Location<'_>
impl Display for PanicInfo<'_>
impl Display for PanicMessage<'_>
impl Display for TryFromFloatSecsError
impl Display for Backtrace
impl Display for JoinPathsError
impl Display for std::ffi::os_str::Display<'_>
impl Display for WriterPanicked
impl Display for std::io::error::Error
impl Display for PanicHookInfo<'_>
impl Display for std::path::Display<'_>
impl Display for NormalizeError
impl Display for StripPrefixError
impl Display for ExitStatus
impl Display for ExitStatusError
impl Display for std::sync::mpsc::RecvError
impl Display for WouldBlock
impl Display for AccessError
impl Display for SystemTimeError
impl Display for aho_corasick::util::error::BuildError
impl Display for aho_corasick::util::error::MatchError
impl Display for aho_corasick::util::primitives::PatternIDError
impl Display for aho_corasick::util::primitives::StateIDError
impl Display for allocator_api2::stable::alloc::AllocError
impl Display for allocator_api2::stable::raw_vec::TryReserveError
impl Display for StrippedStr<'_>
impl Display for Reset
impl Display for Style
impl Display for bitflags::parser::ParseError
impl Display for block_buffer::Error
impl Display for TryGetError
impl Display for Arg
impl Display for clap_builder::builder::command::Command
impl Display for ValueRange
impl Display for Str
impl Display for StyledStr
Color-unaware printing. Never uses coloring.
impl Display for clap_builder::util::id::Id
impl Display for ColoredString
impl Display for Emoji<'_, '_>
impl Display for InvalidLength
impl Display for curl::error::Error
impl Display for FormError
impl Display for MultiError
impl Display for deranged::ParseIntError
impl Display for deranged::TryFromIntError
impl Display for MacError
impl Display for InvalidBufferSize
impl Display for InvalidOutputSize
impl Display for CompressError
impl Display for flate2::mem::DecompressError
impl Display for futures_channel::mpsc::SendError
impl Display for futures_channel::mpsc::TryRecvError
impl Display for Canceled
impl Display for SpawnError
impl Display for Aborted
impl Display for getrandom::error::Error
impl Display for getrandom::error::Error
impl Display for h2::error::Error
impl Display for Reason
impl Display for LengthLimitError
impl Display for http::error::Error
impl Display for MaxSizeReached
impl Display for HeaderName
impl Display for InvalidHeaderName
impl Display for InvalidHeaderValue
impl Display for ToStrError
impl Display for InvalidMethod
impl Display for Method
impl Display for InvalidStatusCode
impl Display for StatusCode
Formats the status code, including the canonical reason.
§Example
assert_eq!(format!("{}", StatusCode::OK), "200 OK");impl Display for http::uri::authority::Authority
impl Display for PathAndQuery
impl Display for Scheme
impl Display for InvalidUri
impl Display for InvalidUriParts
impl Display for Uri
impl Display for InvalidChunkSize
impl Display for InvalidNameError
impl Display for hyper::client::connect::dns::Name
impl Display for hyper::error::Error
impl Display for InvalidSetError
impl Display for RangeError
impl Display for DataLocale
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Other
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for icu_locale_core::extensions::private::other::Subtag
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Private
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Extensions
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Fields
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for icu_locale_core::extensions::transform::key::Key
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Transform
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for icu_locale_core::extensions::transform::value::Value
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Attribute
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Attributes
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for icu_locale_core::extensions::unicode::key::Key
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Keywords
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Unicode
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for SubdivisionId
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for SubdivisionSuffix
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for icu_locale_core::extensions::unicode::value::Value
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for LanguageIdentifier
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Locale
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Language
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Region
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Script
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for icu_locale_core::subtags::Subtag
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Variant
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for Variants
This trait is implemented for compatibility with fmt!.
To create a string, [Writeable::write_to_string] is usually more efficient.
impl Display for DataError
impl Display for DataIdentifierBorrowed<'_>
impl Display for Errors
impl Display for indexmap::TryReserveError
impl Display for BinaryBytes
impl Display for DecimalBytes
impl Display for FormattedDuration
impl Display for HumanBytes
impl Display for HumanCount
impl Display for HumanDuration
impl Display for HumanFloatCount
impl Display for TemplateError
impl Display for Ipv4Net
impl Display for Ipv6Net
impl Display for PrefixLenError
impl Display for ipnet::parser::AddrParseError
impl Display for log::ParseLevelError
impl Display for SetLoggerError
impl Display for FromStrError
impl Display for Mime
impl Display for miniz_oxide::inflate::DecompressError
impl Display for native_tls::Error
impl Display for 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 Asn1GeneralizedTimeRef
impl Display for Asn1ObjectRef
impl Display for Asn1TimeRef
impl Display for BigNum
impl Display for BigNumRef
impl Display for openssl::error::Error
impl Display for ErrorStack
impl Display for openssl::ssl::error::Error
impl Display for OpensslString
impl Display for OpensslStringRef
impl Display for X509VerifyResult
impl Display for PercentEncode<'_>
impl Display for ReadError
impl Display for rand_core::error::Error
impl Display for ThreadPoolBuildError
impl Display for regex_automata::dfa::onepass::BuildError
impl Display for regex_automata::hybrid::error::BuildError
impl Display for CacheError
impl Display for regex_automata::meta::error::BuildError
impl Display for regex_automata::nfa::thompson::error::BuildError
impl Display for GroupInfoError
impl Display for UnicodeWordBoundaryError
impl Display for regex_automata::util::primitives::PatternIDError
impl Display for SmallIndexError
impl Display for regex_automata::util::primitives::StateIDError
impl Display for regex_automata::util::search::MatchError
impl Display for PatternSetInsertError
impl Display for DeserializeError
impl Display for SerializeError
impl Display for regex_syntax::ast::Error
impl Display for regex_syntax::hir::Error
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 CaseFoldError
impl Display for UnicodeWordError
impl Display for regex::regex::bytes::Regex
impl Display for regex::regex::string::Regex
impl Display for reqwest::error::Error
impl Display for KeyRejected
impl Display for Unspecified
impl Display for Errno
impl Display for Gid
impl Display for Uid
impl Display for rustls_pki_types::server_name::AddrParseError
impl Display for InvalidDnsNameError
impl Display for UnsupportedOperationError
impl Display for OtherError
impl Display for semver::parse::Error
impl Display for BuildMetadata
impl Display for Comparator
impl Display for Prerelease
impl Display for Version
impl Display for VersionReq
impl Display for serde_json::error::Error
impl Display for Number
impl Display for SmolStr
impl Display for Circuit
impl Display for Count
impl Display for UpdatableCount
impl Display for AleoV0
impl Display for BigInteger256
impl Display for BigInteger384
impl Display for PathPersistError
impl Display for Date
impl Display for Duration
The format returned by this implementation is not stable and must not be relied upon.
By default this produces an exact, full-precision printout of the duration.
For a concise, rounded printout instead, you can use the .N format specifier:
let duration = Duration::new(123456, 789011223);
println!("{duration:.3}");For the purposes of this implementation, a day is exactly 24 hours and a minute is exactly 60 seconds.
impl Display for ComponentRange
impl Display for ConversionRange
impl Display for DifferentVariant
impl Display for InvalidVariant
impl Display for OffsetDateTime
impl Display for PrimitiveDateTime
impl Display for Time
impl Display for UtcDateTime
impl Display for UtcOffset
impl Display for LengthDelimitedCodecError
impl Display for tokio::net::tcp::split_owned::ReuniteError
impl Display for tokio::net::unix::split_owned::ReuniteError
impl Display for TryCurrentError
impl Display for JoinError
impl Display for tokio::runtime::task::id::Id
impl Display for AcquireError
impl Display for tokio::sync::mutex::TryLockError
impl Display for tokio::sync::oneshot::error::RecvError
impl Display for tokio::sync::watch::error::RecvError
impl Display for Elapsed
impl Display for tokio::time::error::Error
impl Display for SetGlobalDefaultError
impl Display for tracing_core::field::Field
impl Display for FieldSet
impl Display for ValueSet<'_>
impl Display for tracing_core::metadata::Level
impl Display for tracing_core::metadata::LevelFilter
impl Display for tracing_core::metadata::ParseLevelError
impl Display for ParseLevelFilterError
impl Display for Transport
impl Display for Url
Display the serialization of this URL.
impl Display for Utf8CharsError
impl Display for dyn Expected + '_
impl Display for dyn Value
impl<'a> Display for Unexpected<'a>
impl<'a> Display for snarkvm_debug::prelude::str::EscapeDebug<'a>
impl<'a> Display for snarkvm_debug::prelude::str::EscapeDefault<'a>
impl<'a> Display for snarkvm_debug::prelude::str::EscapeUnicode<'a>
impl<'a> Display for EscapeAscii<'a>
impl<'a> Display for mime::Name<'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, 'e, E> Display for base64::display::Base64Display<'a, 'e, E>where
E: Engine,
impl<'a, 'e, E> Display for base64::display::Base64Display<'a, 'e, E>where
E: Engine,
impl<'a, I> Display for Format<'a, I>
impl<'a, I, F> Display for FormatWith<'a, I, F>
impl<'a, K, V> Display for std::collections::hash::map::OccupiedError<'a, K, V>
impl<'a, K, V, A> Display for alloc::collections::btree::map::entry::OccupiedError<'a, K, V, A>
impl<'a, K, V, S, A> Display for hashbrown::map::OccupiedError<'a, K, V, S, A>
impl<'a, R, G, T> Display for MappedReentrantMutexGuard<'a, R, G, T>
impl<'a, R, G, T> Display for ReentrantMutexGuard<'a, R, G, T>
impl<'a, R, T> Display for lock_api::mutex::MappedMutexGuard<'a, R, T>
impl<'a, R, T> Display for lock_api::mutex::MutexGuard<'a, R, T>
impl<'a, R, T> Display for lock_api::rwlock::MappedRwLockReadGuard<'a, R, T>
impl<'a, R, T> Display for lock_api::rwlock::MappedRwLockWriteGuard<'a, R, T>
impl<'a, R, T> Display for lock_api::rwlock::RwLockReadGuard<'a, R, T>
impl<'a, R, T> Display for RwLockUpgradableReadGuard<'a, R, T>
impl<'a, R, T> Display for lock_api::rwlock::RwLockWriteGuard<'a, R, T>
impl<'a, T> Display for tokio::sync::mutex::MappedMutexGuard<'a, T>
impl<'a, T> Display for tokio::sync::rwlock::read_guard::RwLockReadGuard<'a, T>
impl<'a, T> Display for tokio::sync::rwlock::write_guard::RwLockWriteGuard<'a, T>
impl<'a, T> Display for RwLockMappedWriteGuard<'a, T>
impl<A> Display for snarkvm_circuit_program::data::access::Access<A>where
A: Aleo,
impl<A> Display for snarkvm_circuit_program::data::literal::Literal<A>where
A: Aleo,
impl<A> Display for snarkvm_circuit_account::signature::Signature<A>where
A: Aleo,
impl<A> Display for snarkvm_circuit_program::data::identifier::Identifier<A>where
A: Aleo,
impl<A, S, V> Display for ConvertError<A, S, V>
Produces a human-readable error message.
The message differs between debug and release builds. When
debug_assertions are enabled, this message is verbose and includes
potentially sensitive information.
impl<B> Display for Cow<'_, B>
impl<D> Display for StyledObject<D>where
D: Display,
impl<E> Display for Err<E>where
E: Debug,
impl<E> Display for snarkvm_debug::prelude::Address<E>where
E: Environment,
impl<E> Display for snarkvm_debug::prelude::Boolean<E>where
E: Environment,
impl<E> Display for snarkvm_debug::prelude::Field<E>where
E: Environment,
impl<E> Display for snarkvm_debug::prelude::Group<E>where
E: Environment,
impl<E> Display for snarkvm_debug::prelude::Scalar<E>where
E: Environment,
impl<E> Display for snarkvm_debug::prelude::StringType<E>where
E: Environment,
impl<E> Display for Report<E>where
E: Error,
impl<E> Display for CircuitVerifyingKey<E>where
E: PairingEngine,
impl<E> Display for snarkvm_circuit_types_address::Address<E>where
E: Environment,
impl<E> Display for snarkvm_circuit_types_boolean::Boolean<E>where
E: Environment,
impl<E> Display for snarkvm_circuit_types_field::Field<E>where
E: Environment,
impl<E> Display for snarkvm_circuit_types_group::Group<E>where
E: Environment,
impl<E> Display for snarkvm_circuit_types_scalar::Scalar<E>where
E: Environment,
impl<E> Display for snarkvm_circuit_types_string::StringType<E>where
E: Environment,
impl<E, I> Display for snarkvm_debug::prelude::integers::Integer<E, I>where
E: Environment,
I: IntegerType,
impl<E, I> Display for snarkvm_circuit_types_integers::Integer<E, I>where
E: Environment,
I: IntegerType,
impl<F> Display for Variable<F>where
F: PrimeField,
impl<F> Display for FromFn<F>
impl<F> Display for clap_builder::error::Error<F>where
F: ErrorFormatter,
impl<F> Display for Constraint<F>where
F: PrimeField,
impl<F> Display for LinearCombination<F>where
F: PrimeField,
impl<F> Display for R1CS<F>where
F: PrimeField,
impl<F> Display for PersistError<F>
impl<F, const PREFIX: u16> Display for AleoID<F, PREFIX>where
F: FieldTrait,
impl<I> Display for ExactlyOneError<I>where
I: Iterator,
impl<I> Display for nom::error::Error<I>where
I: Display,
The Display implementation allows the std::error::Error implementation
impl<I> Display for VerboseError<I>where
I: Display,
impl<K, V, S, A> Display for hashbrown::map::OccupiedError<'_, K, V, S, A>
impl<L, R> Display for Either<L, R>
impl<N> Display for snarkvm_debug::prelude::authority::Authority<N>where
N: Network,
impl<N> Display for ConfirmedTransaction<N>where
N: Network,
impl<N> Display for Ratify<N>where
N: Network,
impl<N> Display for Transaction<N>where
N: Network,
impl<N> Display for snarkvm_debug::prelude::Access<N>where
N: Network,
impl<N> Display for Entry<N, Plaintext<N>>where
N: Network,
impl<N> Display for EntryType<N>where
N: Network,
impl<N> Display for FinalizeType<N>where
N: Network,
impl<N> Display for Input<N>where
N: Network,
impl<N> Display for InputID<N>where
N: Network,
impl<N> Display for Instruction<N>where
N: Network,
impl<N> Display for snarkvm_debug::prelude::Literal<N>where
N: Network,
impl<N> Display for Output<N>where
N: Network,
impl<N> Display for Owner<N, Plaintext<N>>where
N: Network,
impl<N> Display for Plaintext<N>where
N: Network,
impl<N> Display for PlaintextType<N>where
N: Network,
impl<N> Display for Register<N>where
N: Network,
impl<N> Display for RegisterType<N>where
N: Network,
impl<N> Display for Rejected<N>where
N: Network,
impl<N> Display for snarkvm_debug::prelude::Value<N>where
N: Network,
impl<N> Display for ValueType<N>where
N: Network,
impl<N> Display for BatchCertificate<N>where
N: Network,
impl<N> Display for Transmission<N>where
N: Network,
impl<N> Display for TransmissionID<N>where
N: Network,
impl<N> Display for snarkvm_synthesizer_program::logic::command::Command<N>where
N: Network,
impl<N> Display for MappingLocator<N>where
N: Network,
impl<N> Display for FinalizeOperation<N>where
N: Network,
impl<N> Display for Operand<N>where
N: Network,
impl<N> Display for CallOperator<N>where
N: Network,
impl<N> Display for CastType<N>where
N: Network,
impl<N> Display for Block<N>where
N: Network,
impl<N> Display for Header<N>where
N: Network,
impl<N> Display for Metadata<N>where
N: Network,
impl<N> Display for Transactions<N>where
N: Network,
impl<N> Display for CoinbaseSolution<N>where
N: Network,
impl<N> Display for PartialSolution<N>where
N: Network,
impl<N> Display for ProverSolution<N>where
N: Network,
impl<N> Display for PuzzleCommitment<N>where
N: Network,
impl<N> Display for Committee<N>where
N: Network,
impl<N> Display for BatchHeader<N>where
N: Network,
impl<N> Display for Subdag<N>where
N: Network,
impl<N> Display for ArrayType<N>where
N: Network,
impl<N> Display for Authorization<N>where
N: Network,
impl<N> Display for Certificate<N>where
N: Network,
impl<N> Display for Ciphertext<N>where
N: Network,
impl<N> Display for Deployment<N>where
N: Network,
impl<N> Display for Execution<N>where
N: Network,
impl<N> Display for Fee<N>where
N: Network,
impl<N> Display for Future<N>where
N: Network,
impl<N> Display for GraphKey<N>where
N: Network,
impl<N> Display for HeaderLeaf<N>where
N: Network,
impl<N> Display for snarkvm_debug::prelude::Identifier<N>where
N: Network,
impl<N> Display for Locator<N>where
N: Network,
impl<N> Display for Mapping<N>where
N: Network,
impl<N> Display for PrivateKey<N>where
N: Network,
impl<N> Display for ProgramID<N>where
N: Network,
impl<N> Display for ProgramOwner<N>where
N: Network,
impl<N> Display for Proof<N>where
N: Network,
impl<N> Display for ProvingKey<N>where
N: Network,
impl<N> Display for Ratifications<N>where
N: Network,
impl<N> Display for Record<N, Plaintext<N>>where
N: Network,
impl<N> Display for Record<N, Ciphertext<N>>where
N: Network,
impl<N> Display for RecordType<N>where
N: Network,
impl<N> Display for Request<N>where
N: Network,
impl<N> Display for snarkvm_debug::prelude::Signature<N>where
N: Network,
impl<N> Display for StatePath<N>where
N: Network,
impl<N> Display for StructType<N>where
N: Network,
impl<N> Display for TransactionLeaf<N>where
N: Network,
impl<N> Display for Transition<N>where
N: Network,
impl<N> Display for TransitionLeaf<N>where
N: Network,
impl<N> Display for VerifyingKey<N>where
N: Network,
impl<N> Display for ViewKey<N>where
N: Network,
impl<N> Display for Import<N>where
N: Network,
impl<N> Display for Await<N>where
N: Network,
impl<N> Display for Contains<N>where
N: Network,
impl<N> Display for Get<N>where
N: Network,
impl<N> Display for GetOrUse<N>where
N: Network,
impl<N> Display for Position<N>where
N: Network,
impl<N> Display for RandChaCha<N>where
N: Network,
impl<N> Display for Remove<N>where
N: Network,
impl<N> Display for Set<N>where
N: Network,
impl<N> Display for Async<N>where
N: Network,
impl<N> Display for Call<N>where
N: Network,
impl<N> Display for SignVerify<N>where
N: Network,
impl<N, Command> Display for FinalizeCore<N, Command>where
N: Network,
Command: CommandTrait<N>,
impl<N, Instruction> Display for ClosureCore<N, Instruction>where
N: Network,
Instruction: InstructionTrait<N>,
impl<N, Instruction, Command> Display for FunctionCore<N, Instruction, Command>
impl<N, Instruction, Command> Display for ProgramCore<N, Instruction, Command>
impl<N, O, const NUM_OPERANDS: usize> Display for Literals<N, O, NUM_OPERANDS>
impl<N, const VARIANT: u8> Display for Branch<N, VARIANT>where
N: Network,
impl<N, const VARIANT: u8> Display for AssertInstruction<N, VARIANT>where
N: Network,
impl<N, const VARIANT: u8> Display for CastOperation<N, VARIANT>where
N: Network,
impl<N, const VARIANT: u8> Display for CommitInstruction<N, VARIANT>where
N: Network,
impl<N, const VARIANT: u8> Display for HashInstruction<N, VARIANT>where
N: Network,
impl<N, const VARIANT: u8> Display for IsInstruction<N, VARIANT>where
N: Network,
impl<O> Display for F32<O>where
O: ByteOrder,
impl<O> Display for F64<O>where
O: ByteOrder,
impl<O> Display for I16<O>where
O: ByteOrder,
impl<O> Display for I32<O>where
O: ByteOrder,
impl<O> Display for I64<O>where
O: ByteOrder,
impl<O> Display for I128<O>where
O: ByteOrder,
impl<O> Display for Isize<O>where
O: ByteOrder,
impl<O> Display for U16<O>where
O: ByteOrder,
impl<O> Display for U32<O>where
O: ByteOrder,
impl<O> Display for U64<O>where
O: ByteOrder,
impl<O> Display for U128<O>where
O: ByteOrder,
impl<O> Display for Usize<O>where
O: ByteOrder,
impl<P> Display for snarkvm_curves::templates::short_weierstrass_jacobian::affine::Affine<P>where
P: ShortWeierstrassParameters,
impl<P> Display for snarkvm_curves::templates::short_weierstrass_jacobian::projective::Projective<P>where
P: ShortWeierstrassParameters,
impl<P> Display for snarkvm_curves::templates::twisted_edwards_extended::affine::Affine<P>where
P: TwistedEdwardsParameters,
impl<P> Display for snarkvm_curves::templates::twisted_edwards_extended::projective::Projective<P>where
P: TwistedEdwardsParameters,
impl<P> Display for Fp2<P>where
P: Fp2Parameters,
impl<P> Display for Fp6<P>where
P: Fp6Parameters,
impl<P> Display for Fp12<P>where
P: Fp12Parameters,
impl<P> Display for Fp256<P>where
P: Fp256Parameters,
impl<P> Display for Fp384<P>where
P: Fp384Parameters,
impl<Ptr> Display for Pin<Ptr>where
Ptr: Display,
impl<S> Display for native_tls::HandshakeError<S>
impl<S> Display for openssl::ssl::error::HandshakeError<S>where
S: Debug,
impl<S> Display for Host<S>
impl<Src, Dst> Display for AlignmentError<Src, Dst>
Produces a human-readable error message.
The message differs between debug and release builds. When
debug_assertions are enabled, this message is verbose and includes
potentially sensitive information.
impl<Src, Dst> Display for SizeError<Src, Dst>
Produces a human-readable error message.
The message differs between debug and release builds. When
debug_assertions are enabled, this message is verbose and includes
potentially sensitive information.
impl<Src, Dst> Display for ValidityError<Src, Dst>
Produces a human-readable error message.
The message differs between debug and release builds. When
debug_assertions are enabled, this message is verbose and includes
potentially sensitive information.