Skip to main content

Display

Trait Display 

1.0.0 · Source
pub trait Display {
    // Required method
    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>;
}
Available on crate features crypto and std only.
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 · Source

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, }),
);

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Display for !

§

impl Display for A

§

impl Display for AAAA

§

impl Display for ANAME

§

impl Display for ASN1DateTime

§

impl Display for ASN1Error

§

impl Display for ASN1Time

§

impl Display for rama::layer::abort::Aborted

§

impl Display for rama::futures::prelude::future::Aborted

1.26.0 · Source§

impl Display for AccessError

§

impl Display for AcquireError

1.4.0 · Source§

impl Display for core::net::parser::AddrParseError

§

impl Display for rama::crypto::dep::pki_types::AddrParseError

Source§

impl Display for rama::net::stream::dep::ipnet::AddrParseError

§

impl Display for AddrParseError

§

impl Display for AddressType

§

impl Display for Addresses

§

impl Display for AkamaiH2

§

impl Display for AkamaiH2ComputeError

§

impl Display for Algorithm

Source§

impl Display for rama::utils::collections::smallvec::alloc::alloc::AllocError

§

impl Display for AllocError

§

impl Display for Alpn

§

impl Display for AnyDelimiterCodecError

§

impl Display for ApplicationProtocol

§

impl Display for ArcStr

1.0.0 · Source§

impl Display for Arguments<'_>

§

impl Display for Array

Source§

impl Display for AsciiChar

§

impl Display for Asn

§

impl Display for Asn1GeneralizedTimeRef

§

impl Display for Asn1ObjectRef

§

impl Display for Asn1TimeRef

§

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 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 rama::net::address::Authority

§

impl Display for rama::http::uri::Authority

§

impl Display for AuthorityRef<'_>

§

impl Display for BStr

Available on crate feature alloc only.
1.65.0 · Source§

impl Display for Backtrace

§

impl Display for BadName

§

impl Display for Baggage

§

impl Display for BaggageMetadata

§

impl Display for Basic

§

impl Display for Bearer

Source§

impl Display for rand::distr::bernoulli::BernoulliError

§

impl Display for BernoulliError

§

impl Display for BigEndian

Source§

impl Display for BigInt

§

impl Display for BigNum

§

impl Display for BigNumRef

Source§

impl Display for BigUint

§

impl Display for BinaryParseError

§

impl Display for Bit

§

impl Display for BitPerSecond

1.13.0 · Source§

impl Display for BorrowError

1.13.0 · Source§

impl Display for BorrowMutError

Source§

impl Display for Braced

§

impl Display for BridgeCloseReason

§

impl Display for BroadcastStreamRecvError

§

impl Display for BufReadDecoderError<'_>

§

impl Display for BuildError

Available on crate feature dfa-build only.
§

impl Display for BuildError

§

impl Display for BuildError

§

impl Display for BuildError

§

impl Display for BuildError

§

impl Display for BuildError

§

impl Display for Byte

§

impl Display for BytePerSecond

Source§

impl Display for ByteStr

Source§

impl Display for ByteString

§

impl Display for Bytes

§

impl Display for BytesRejection

§

impl Display for CAA

§

impl Display for CERT


[2.2](https://datatracker.ietf.org/doc/html/rfc4398#section-2.2).  Text Representation of CERT RRs

   The RDATA portion of a CERT RR has the type field as an unsigned
   decimal integer or as a mnemonic symbol as listed in [Section 2.1](https://datatracker.ietf.org/doc/html/rfc4398#section-2.1),
   above.

   The key tag field is represented as an unsigned decimal integer.

   The algorithm field is represented as an unsigned decimal integer or
   a mnemonic symbol as listed in [[12](https://datatracker.ietf.org/doc/html/rfc4398#ref-12)].

   The certificate/CRL portion is represented in base 64 [[16](https://datatracker.ietf.org/doc/html/rfc4398#ref-16)] and may be
   divided into any number of white-space-separated substrings, down to
   single base-64 digits, which are concatenated to obtain the full
   signature.  These substrings can span lines using the standard
   parenthesis.

   Note that the certificate/CRL portion may have internal sub-fields,
   but these do not appear in the master file representation.  For
   example, with type 254, there will be an OID size, an OID, and then
   the certificate/CRL proper.  However, only a single logical base-64
   string will appear in the text representation.
§

impl Display for CNAME

§

impl Display for CSYNC

§

impl Display for CacheError

§

impl Display for Canceled

§

impl Display for CapacityOverflowError

§

impl Display for CaseFoldError

§

impl Display for CertIssueDeniedError

§

impl Display for CertType

§

impl Display for CertificateCompressionAlgorithm

§

impl Display for CertificateError

1.34.0 · Source§

impl Display for CharTryFromError

§

impl Display for CipherSuite

§

impl Display for Class

§

impl Display for rama::tls::acme::ClientError

§

impl Display for rama::gateway::fastcgi::ClientError

§

impl Display for ClientHint

§

impl Display for CloseCode

§

impl Display for CloseFrame

§

impl Display for Code

§

impl Display for CollectionAllocErr

§

impl Display for Command

§

impl Display for Component

§

impl Display for ComponentRange

§

impl Display for ComposeError

Source§

impl Display for CompressError

§

impl Display for CompressionAlgorithm

§

impl Display for CompressionEncoding

§

impl Display for Config

§

impl Display for ConnectError

§

impl Display for ContentEncodingDirective

§

impl Display for ContentSecurityPolicy

§

impl Display for ContentSizeError

§

impl Display for ContentType

§

impl Display for ContextError

§

impl Display for ConversionRange

§

impl Display for Count

§

impl Display for CrossOriginKind

Source§

impl Display for CsrError

§

impl Display for CsvRejection

§

impl Display for DNSClass

§

impl Display for DataError

§

impl Display for DataErrorKind

§

impl Display for DataIdentifierBorrowed<'_>

§

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 Date

§

impl Display for Date

§

impl Display for Date

§

impl Display for DateTime

Converts a DateTime into an ISO 8601 compliant string.

§Formatting options supported

  • std::fmt::Formatter::precision can be set to control the precision of the fractional second component. When not set, the minimum precision required to losslessly render the value is used.

§Example

This shows the default rendering:

use jiff::civil::date;

// No fractional seconds:
let dt = date(2024, 6, 15).at(7, 0, 0, 0);
assert_eq!(format!("{dt}"), "2024-06-15T07:00:00");

// With fractional seconds:
let dt = date(2024, 6, 15).at(7, 0, 0, 123_000_000);
assert_eq!(format!("{dt}"), "2024-06-15T07:00:00.123");

§Example: setting the precision

use jiff::civil::date;

let dt = date(2024, 6, 15).at(7, 0, 0, 123_000_000);
assert_eq!(format!("{dt:.6}"), "2024-06-15T07:00:00.123000");
// Precision values greater than 9 are clamped to 9.
assert_eq!(format!("{dt:.300}"), "2024-06-15T07:00:00.123000000");
// A precision of 0 implies the entire fractional
// component is always truncated.
assert_eq!(format!("{dt:.0}"), "2024-06-15T07:00:00");
§

impl Display for Datetime

Available on crate feature alloc only.
§

impl Display for DatetimeParseError

§

impl Display for DecodeError

§

impl Display for DecodeError

§

impl Display for DecodeError

§

impl Display for rama::dns::client::hickory::resolver::net::proto::serialize::binary::DecodeError

Source§

impl Display for rama::http::grpc::protobuf::prost::DecodeError

§

impl Display for rama::utils::str::utf8::DecodeError<'_>

§

impl Display for DecodeKind

§

impl Display for DecodeSliceError

1.9.0 · Source§

impl Display for DecodeUtf16Error

Source§

impl Display for DecompressError

§

impl Display for DerConstraint

§

impl Display for DeserializeError

§

impl Display for DeserializeError

§

impl Display for DeserializeErrorKind

§

impl Display for DeviceKind

§

impl Display for DeviceName

§

impl Display for Dial9ConfigBuilderError

§

impl Display for DifferentVariant

§

impl Display for Directive

§

impl Display for rama::http::headers::Directive

§

impl Display for DirectiveDateTime

§

impl Display for DirectiveName

§

impl Display for DirectoryServeMode

1.87.0 · Source§

impl Display for std::ffi::os_str::Display<'_>

1.0.0 · Source§

impl Display for std::path::Display<'_>

§

impl Display for Display<'_>

§

impl Display for DnsDeniedError

§

impl Display for DnsError

§

impl Display for DnsResolveMode

§

impl Display for Domain

§

impl Display for DomainAddress

§

impl Display for DomainParseError

§

impl Display for DomainRef<'_>

§

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.

Source§

impl Display for rama::http::grpc::protobuf::prost::types::Duration

Source§

impl Display for DurationError

§

impl Display for ECPointFormat

§

impl Display for EarlyDataError

§

impl Display for EchConfigList

§

impl Display for Edns

§

impl Display for rama::layer::timeout::Elapsed

§

impl Display for Elapsed

§

impl Display for rama::stream::Elapsed

§

impl Display for ElementPatchMode

Source§

impl Display for rand::distr::slice::Empty

§

impl Display for Empty

§

impl Display for EmptyError

§

impl Display for EmptyStrErr

Source§

impl Display for rama::http::grpc::protobuf::prost::EncodeError

§

impl Display for rama::tls::rustls::dep::rustls::unbuffered::EncodeError

§

impl Display for EncodeSliceError

§

impl Display for Encoding

§

impl Display for EncryptError

§

impl Display for EnterError

§

impl Display for EnvFilter

§

impl Display for Errno

§

impl Display for Errno

1.0.0 · Source§

impl Display for rama::futures::io::Error

1.0.0 · Source§

impl Display for rama::utils::collections::smallvec::alloc::fmt::Error

Source§

impl Display for serde_core::de::value::Error

§

impl Display for rama::utils::thirdparty::regex::Error

§

impl Display for Error

§

impl Display for Error

§

impl Display for Error

§

impl Display for Error

Source§

impl Display for serde_json::error::Error

Source§

impl Display for rand::distr::uniform::Error

Source§

impl Display for rand::distr::weighted::Error

§

impl Display for Error

§

impl Display for Error

§

impl Display for Error

§

impl Display for Error

§

impl Display for rama::crypto::dep::rcgen::Error

§

impl Display for rama::crypto::dep::pki_types::pem::Error

§

impl Display for rama::crypto::dep::x509_parser::prelude::asn1_rs::Error

§

impl Display for Error

§

impl Display for Error

§

impl Display for Error

§

impl Display for rama::http::HttpError

§

impl Display for Error

§

impl Display for Error

§

impl Display for Error

Source§

impl Display for uuid::error::Error

§

impl Display for rama::http::headers::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

Source§

impl Display for syn::error::Error

§

impl Display for Error

§

impl Display for Error

§

impl Display for rama::http::core::Error

§

impl Display for rama::http::core::h2::Error

§

impl Display for rama::tls::boring::core::error::Error

§

impl Display for rama::tls::boring::core::ssl::Error

§

impl Display for rama::tls::rustls::dep::rustls::Error

Source§

impl Display for getrandom::error::Error

§

impl Display for Error

§

impl Display for rama::tls::rustls::dep::native_certs::Error

§

impl Display for rama::proxy::socks5::server::Error

§

impl Display for rama::gateway::fastcgi::server::Error

§

impl Display for ErrorCode

1.60.0 · Source§

impl Display for rama::futures::io::ErrorKind

§

impl Display for ErrorKind

§

impl Display for ErrorKind

§

impl Display for ErrorKind

§

impl Display for ErrorStack

§

impl Display for Errors

1.20.0 · Source§

impl Display for core::char::EscapeDebug

1.39.0 · Source§

impl Display for core::ascii::EscapeDefault

1.16.0 · Source§

impl Display for core::char::EscapeDefault

1.16.0 · Source§

impl Display for core::char::EscapeUnicode

§

impl Display for EventBuildError

§

impl Display for EventType

1.0.0 · Source§

impl Display for ExitStatus

Source§

impl Display for ExitStatusError

Source§

impl Display for ExpandError

§

impl Display for ExtendedKeyPurpose

§

impl Display for Extension

§

impl Display for ExtensionId

§

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 FailedToDeserializeCsv

§

impl Display for FailedToDeserializeForm

§

impl Display for FailedToDeserializeJson

§

impl Display for FailedToDeserializeQueryString

§

impl Display for Field

§

impl Display for FieldSet

§

impl Display for FieldSpecError

§

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 FixedBitSet

§

impl Display for Flags

We are following the dig commands display format for the header flags

Example: “RD,AA,RA;” is Recursion-Desired, Authoritative-Answer, Recursion-Available.

§

impl Display for FormRejection

§

impl Display for Format

§

impl Display for Forwarded

§

impl Display for ForwardedAuthority

§

impl Display for ForwardedElement

§

impl Display for ForwardedProtocol

§

impl Display for ForwardedVersion

§

impl Display for Fragment

§

impl Display for FragmentRef<'_>

§

impl Display for Frame

1.69.0 · Source§

impl Display for FromBytesUntilNulError

1.17.0 · Source§

impl Display for FromBytesWithNulError

§

impl Display for FromEnvError

Source§

impl Display for FromHexError

Source§

impl Display for FromStrError

1.0.0 · Source§

impl Display for rama::utils::collections::smallvec::alloc::string::FromUtf8Error

§

impl Display for FromUtf8Error

1.0.0 · Source§

impl Display for FromUtf16Error

1.58.0 · Source§

impl Display for FromVecWithNulError

§

impl Display for GeneralName<'_>

§

impl Display for GeneralizedTime

1.86.0 · Source§

impl Display for rama::utils::collections::smallvec::alloc::slice::GetDisjointMutError

§

impl Display for GetDisjointMutError

§

impl Display for GetDisjointMutError

§

impl Display for Gid

§

impl Display for Gigabit

§

impl Display for GigabitPerSecond

§

impl Display for Gigabyte

§

impl Display for GigabytePerSecond

Source§

impl Display for GraphError

Source§

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::Groups with Delimiter::None delimiters.

1.29.0 · Source§

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::Groups with Delimiter::None delimiters.

§

impl Display for GroupInfoError

§

impl Display for GrpcFailureClass

§

impl Display for GrpcStatus

§

impl Display for HINFO

RFC 1033, DOMAIN OPERATIONS GUIDE, November 1987

HINFO (Host Info)

           <host>   [<ttl>] [<class>]   HINFO   <hardware>   <software>

   The HINFO record gives information about a particular host.  The data
   is two strings separated by whitespace.  The first string is a
   hardware description and the second is software.  The hardware is
   usually a manufacturer name followed by a dash and model designation.
   The software string is usually the name of the operating system.

   Official HINFO types can be found in the latest Assigned Numbers RFC,
   the latest of which is RFC-1010.  The Hardware type is called the
   Machine name and the Software type is called the System name.

   Some sample HINFO records:

           SRI-NIC.ARPA.           HINFO   DEC-2060 TOPS20
           UCBARPA.Berkeley.EDU.   HINFO   VAX-11/780 UNIX
§

impl Display for HTTPS

§

impl Display for rama::http::ws::handshake::client::HandshakeError

§

impl Display for HashAlgorithm

§

impl Display for rama::proxy::haproxy::protocol::v1::Header<'_>

§

impl Display for rama::proxy::haproxy::protocol::v2::Header<'_>

§

impl Display for HeaderName

§

impl Display for HeaderValueErr

§

impl Display for HeaderValueString

§

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 rama::net::address::Host

§

impl Display for rama::http::headers::Host

§

impl Display for HostRef<'_>

§

impl Display for HostSource

§

impl Display for HostSourcePort

§

impl Display for HostWithOptPort

§

impl Display for HostWithPort

§

impl Display for Http1HeaderName

§

impl Display for HttpAgent

§

impl Display for rama::http::headers::util::HttpDate

§

impl Display for HttpDate

§

impl Display for HttpProxyError

§

impl Display for HttpVersion

Source§

impl Display for Hyphenated

§

impl Display for ISOWeekDate

§

impl Display for Ia5String

§

impl Display for Id

§

impl Display for Id

Source§

impl Display for proc_macro2::Ident

Prints the identifier as a string that should be losslessly convertible back into the same identifier.

1.29.0 · Source§

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 Identifier

1.34.0 · Source§

impl Display for Infallible

§

impl Display for Infix

§

impl Display for InitError

§

impl Display for InsertError

1.7.0 · Source§

impl Display for IntoStringError

§

impl Display for InvalidAsn

§

impl Display for InvalidAsn1String

§

impl Display for InvalidBufferSize

§

impl Display for InvalidChunkSize

§

impl Display for InvalidCsvContentType

§

impl Display for InvalidDnsNameError

§

impl Display for InvalidFormContentType

§

impl Display for InvalidFormatDescription

§

impl Display for InvalidHeaderName

§

impl Display for InvalidHeaderValue

§

impl Display for InvalidHistogramConfiguration

§

impl Display for InvalidJsonContentType

§

impl Display for InvalidLength

§

impl Display for InvalidMetadataKey

§

impl Display for InvalidMetadataValue

§

impl Display for InvalidMetadataValueBytes

§

impl Display for InvalidMethod

§

impl Display for InvalidMultipartBoundary

§

impl Display for InvalidMultipartContentType

§

impl Display for InvalidOctetStreamContentType

§

impl Display for InvalidOutputSize

§

impl Display for InvalidPseudoHeaderStr

§

impl Display for InvalidReasonPhrase

§

impl Display for InvalidSetError

§

impl Display for InvalidStatusCode

§

impl Display for InvalidStringList

§

impl Display for InvalidTextContentType

§

impl Display for InvalidUri

§

impl Display for InvalidUriParts

§

impl Display for InvalidUtf8Text

§

impl Display for InvalidVariant

§

impl Display for InvalidXClacksOverhead

§

impl Display for IoStreamError

1.7.0 · Source§

impl Display for IpAddr

Source§

impl Display for IpNet

1.0.0 · Source§

impl Display for Ipv4Addr

Source§

impl Display for Ipv4Net

1.0.0 · Source§

impl Display for Ipv6Addr

Writes an Ipv6Addr, conforming to the canonical style described by RFC 5952.

Source§

impl Display for Ipv6Net

§

impl Display for Ja3

§

impl Display for Ja4

§

impl Display for Ja3ComputeError

§

impl Display for Ja4ComputeError

§

impl Display for Ja4H

§

impl Display for Ja4HComputeError

§

impl Display for JoinError

1.0.0 · Source§

impl Display for JoinPathsError

§

impl Display for JsonRejection

§

impl Display for rama::telemetry::opentelemetry::Key

§

impl Display for Key

§

impl Display for Key

This trait is implemented for compatibility with fmt!. To create a string, [Writeable::write_to_string] is usually more efficient.

§

impl Display for Key

This trait is implemented for compatibility with fmt!. To create a string, [Writeable::write_to_string] is usually more efficient.

§

impl Display for rama::crypto::dep::aws_lc_rs::error::KeyRejected

§

impl Display for KeyRejected

§

impl Display for KeyUsage

§

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 Kilobit

§

impl Display for KilobitPerSecond

§

impl Display for Kilobyte

§

impl Display for KilobytePerSecond

§

impl Display for rama::net::address::Label

§

impl Display for rama::dns::client::hickory::resolver::net::proto::rr::Label

§

impl Display for LabelError

§

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 LanguageIdentifier

This trait is implemented for compatibility with fmt!. To create a string, [Writeable::write_to_string] is usually more efficient.

§

impl Display for LastEventId

1.28.0 · Source§

impl Display for LayoutError

§

impl Display for LengthDelimitedCodecError

§

impl Display for LengthLimitError

§

impl Display for rama::telemetry::tracing::Level

Source§

impl Display for log::Level

§

impl Display for rama::telemetry::tracing::level_filters::LevelFilter

Source§

impl Display for log::LevelFilter

Source§

impl Display for proc_macro2::LexError

1.44.0 · Source§

impl Display for proc_macro::LexError

§

impl Display for LexerError

Source§

impl Display for Lifetime

§

impl Display for LimitReached

§

impl Display for LinesCodecError

Source§

impl Display for LitFloat

Source§

impl Display for LitInt

Source§

impl Display for proc_macro2::Literal

1.29.0 · Source§

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 LittleEndian

§

impl Display for Locale

This trait is implemented for compatibility with fmt!. To create a string, [Writeable::write_to_string] is usually more efficient.

1.26.0 · Source§

impl Display for Location<'_>

§

impl Display for LowerName

§

impl Display for LowerQuery

§

impl Display for MX

RFC 1033, DOMAIN OPERATIONS GUIDE, November 1987

  MX (Mail Exchanger)  (See RFC-974 for more details.)

          <name>   [<ttl>] [<class>]   MX   <preference>   <host>

  MX records specify where mail for a domain name should be delivered.
  There may be multiple MX records for a particular name.  The
  preference value specifies the order a mailer should try multiple MX
  records when delivering mail.  Zero is the highest preference.
  Multiple records for the same name may have the same preference.

  A host BAR.FOO.COM may want its mail to be delivered to the host
  PO.FOO.COM and would then use the MX record:

          BAR.FOO.COM.    MX      10      PO.FOO.COM.

  A host BAZ.FOO.COM may want its mail to be delivered to one of three
  different machines, in the following order:

          BAZ.FOO.COM.    MX      10      PO1.FOO.COM.
                          MX      20      PO2.FOO.COM.
                          MX      30      PO3.FOO.COM.

  An entire domain of hosts not connected to the Internet may want
  their mail to go through a mail gateway that knows how to deliver
  mail to them.  If they would like mail addressed to any host in the
  domain FOO.COM to go through the mail gateway they might use:

          FOO.COM.        MX       10     RELAY.CS.NET.
          *.FOO.COM.      MX       20     RELAY.CS.NET.

  Note that you can specify a wildcard in the MX record to match on
  anything in FOO.COM, but that it won't match a plain FOO.COM.
§

impl Display for Mandatory

§

impl Display for MatchError

§

impl Display for MatchError

§

impl Display for MatchError

§

impl Display for MaxImagePreviewSetting

§

impl Display for MaxSizeReached

§

impl Display for Megabit

§

impl Display for MegabitPerSecond

§

impl Display for Megabyte

§

impl Display for MegabytePerSecond

§

impl Display for MemoryProxyDBInsertError

§

impl Display for MemoryProxyDBQueryError

§

impl Display for MergeError

§

impl Display for rama::dns::client::hickory::resolver::net::proto::op::Message

§

impl Display for rama::http::ws::Message

§

impl Display for MessageType

§

impl Display for Metadata

§

impl Display for Method

§

impl Display for Microsecond

§

impl Display for Millisecond

Source§

impl Display for Mime

§

impl Display for MissingAuthority

§

impl Display for MissingHost

§

impl Display for MissingPathParams

Source§

impl Display for Module

§

impl Display for Month

§

impl Display for MultipartError

§

impl Display for MultipartRejection

§

impl Display for NAPTR

RFC 2915, NAPTR DNS RR, September 2000

Master File Format

  The master file format follows the standard rules in RFC-1035 [1].
  Order and preference, being 16-bit unsigned integers, shall be an
  integer between 0 and 65535.  The Flags and Services and Regexp
  fields are all quoted <character-string>s.  Since the Regexp field
  can contain numerous backslashes and thus should be treated with
  care.  See Section 10 for how to correctly enter and escape the
  regular expression.

;;      order pflags service           regexp replacement
IN NAPTR 100  50  "a"    "z3950+N2L+N2C"     ""   cidserver.example.com.
IN NAPTR 100  50  "a"    "rcds+N2C"          ""   cidserver.example.com.
IN NAPTR 100  50  "s"    "http+N2L+N2C+N2R"  ""   www.example.com.
§

impl Display for NS

§

impl Display for NSCertType

§

impl Display for NULL

§

impl Display for rama::dns::client::hickory::resolver::net::proto::rr::Name

§

impl Display for NetError

§

impl Display for Network

§

impl Display for NoHttpRejectError

§

impl Display for NoSocks5RejectError

§

impl Display for NoTlsRejectError

§

impl Display for NodeId

§

impl Display for NonEmptySmallVecEmptyError

§

impl Display for NonEmptyStr

§

impl Display for NonEmptyVecEmptyError

Source§

impl Display for NonNilUuid

§

impl Display for None

Source§

impl Display for NormalizeError

1.0.0 · Source§

impl Display for NulError

Source§

impl Display for Number

§

impl Display for OPENPGPKEY

Parse the RData from a set of tokens.

RFC 7929

2.3.  The OPENPGPKEY RDATA Presentation Format

   The RDATA Presentation Format, as visible in Zone Files [RFC1035],
   consists of a single OpenPGP Transferable Public Key as defined in
   Section 11.1 of [RFC4880] encoded in base64 as defined in Section 4
   of [RFC4648].
§

impl Display for OPT

§

impl Display for OTelSdkError

§

impl Display for ObjectIdentifier

§

impl Display for OctetStreamRejection

§

impl Display for Offset

§

impl Display for Offset

§

impl Display for OffsetDateTime

§

impl Display for Oid<'_>

§

impl Display for OidParseError

§

impl Display for rama::dns::client::hickory::resolver::net::proto::op::OpCode

§

impl Display for rama::http::ws::protocol::frame::coding::OpCode

§

impl Display for OpCodeControl

§

impl Display for OpCodeData

§

impl Display for OpaqueError

§

impl Display for OpensslString

§

impl Display for OpensslStringRef

§

impl Display for OptPort

§

impl Display for Origin

Source§

impl Display for OsError

§

impl Display for OtelExporterConfigError

§

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 OtherError

§

impl Display for PEMError

§

impl Display for PTR

1.26.0 · Source§

impl Display for PanicHookInfo<'_>

1.26.0 · Source§

impl Display for PanicInfo<'_>

1.81.0 · Source§

impl Display for PanicMessage<'_>

§

impl Display for Parse

§

impl Display for ParseAlphabetError

Source§

impl Display for ParseBigIntError

1.0.0 · Source§

impl Display for ParseBoolError

1.20.0 · Source§

impl Display for ParseCharError

§

impl Display for ParseError

§

impl Display for rama::net::uri::ParseError

§

impl Display for ParseError

§

impl Display for ParseError

§

impl Display for rama::dns::client::hickory::resolver::net::proto::serialize::txt::ParseError

Source§

impl Display for url::parser::ParseError

§

impl Display for ParseError

§

impl Display for ParseError

§

impl Display for rama::proxy::haproxy::protocol::v1::ParseError

§

impl Display for rama::proxy::haproxy::protocol::v2::ParseError

1.0.0 · Source§

impl Display for core::num::float_parse::ParseFloatError

Source§

impl Display for num_traits::ParseFloatError

§

impl Display for ParseFromDescription

1.0.0 · Source§

impl Display for core::num::error::ParseIntError

§

impl Display for ParseIntError

§

impl Display for rama::telemetry::tracing::metadata::ParseLevelError

Source§

impl Display for log::ParseLevelError

§

impl Display for ParseLevelFilterError

§

impl Display for ParseOidError

§

impl Display for PathAndQuery

Source§

impl Display for PathPersistError

§

impl Display for PathRef<'_>

§

impl Display for PathRejection

§

impl Display for PatternIDError

§

impl Display for PatternIDError

§

impl Display for PatternSetInsertError

Available on crate feature alloc only.
§

impl Display for PeetComputeError

§

impl Display for PeetPrint

§

impl Display for Pem

§

impl Display for PemError

§

impl Display for PerMessageDeflateIdentifier

§

impl Display for Percent

§

impl Display for PercentEncode<'_>

§

impl Display for PlatformKind

§

impl Display for PredicateError

§

impl Display for PreferencesParseError

§

impl Display for Prefix

Source§

impl Display for PrefixLenError

§

impl Display for PrimitiveDateTime

§

impl Display for PrintableString

§

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 Problem

§

impl Display for ProcessError

§

impl Display for ProcessErrorKind

§

impl Display for ProtoError

§

impl Display for rama::net::Protocol

§

impl Display for rama::dns::client::hickory::resolver::net::xfer::Protocol

§

impl Display for rama::proxy::socks5::proto::ProtocolError

§

impl Display for rama::http::ws::ProtocolError

§

impl Display for rama::gateway::fastcgi::proto::ProtocolError

§

impl Display for ProtocolStatus

§

impl Display for rama::net::tls::ProtocolVersion

§

impl Display for rama::proxy::socks5::proto::ProtocolVersion

§

impl Display for ProxyAddress

§

impl Display for ProxyCredential

§

impl Display for ProxyCsvRowReaderError

§

impl Display for ProxyID

§

impl Display for PseudoHeader

Source§

impl Display for proc_macro2::Punct

Prints the punctuation character as a string that should be losslessly convertible back into the same character.

1.29.0 · Source§

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 PushError

§

impl Display for rama::net::uri::Query

§

impl Display for rama::dns::client::hickory::resolver::net::proto::op::Query

§

impl Display for QueryDeserializeError

§

impl Display for QueryRef<'_>

§

impl Display for RData

§

impl Display for Range

§

impl Display for RangeError

§

impl Display for RangeUnsatisfiableError

§

impl Display for RawProblemResponse

§

impl Display for RawToken

§

impl Display for Reason

§

impl Display for ReasonCode

§

impl Display for ReasonFlags

§

impl Display for rama::dns::client::hickory::resolver::net::proto::rr::RecordType

§

impl Display for rama::gateway::fastcgi::proto::RecordType

1.0.0 · Source§

impl Display for std::sync::mpsc::RecvError

§

impl Display for RecvError

§

impl Display for RecvError

§

impl Display for RecvError

§

impl Display for rama::futures::channel::mpsc::RecvError

§

impl Display for RecvError

§

impl Display for RecvError

1.15.0 · Source§

impl Display for std::sync::mpsc::RecvTimeoutError

§

impl Display for RecvTimeoutError

§

impl Display for RecvTimeoutError

§

impl Display for Referer

§

impl Display for ReferrerPolicy

§

impl Display for rama::utils::thirdparty::regex::bytes::Regex

§

impl Display for rama::utils::thirdparty::regex::Regex

§

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 RejectError

§

impl Display for ReplyKind

§

impl Display for RequestInitiator

§

impl Display for RequestValidateError

§

impl Display for ResolveError

§

impl Display for ResponseCode

§

impl Display for ResponseValidateError

§

impl Display for RetryError

§

impl Display for ReuniteError

§

impl Display for ReuniteError

§

impl Display for RobotsDirectiveParseError

§

impl Display for RobotsGroup

§

impl Display for RobotsRule

§

impl Display for RobotsRuleKind

§

impl Display for RobotsTag

§

impl Display for RobotsTxt

§

impl Display for Role

§

impl Display for RouterError

§

impl Display for SMIMEA

§

impl Display for SOA

RFC 1033, DOMAIN OPERATIONS GUIDE, November 1987

SOA  (Start Of Authority)

<name>  [<ttl>]  [<class>]  SOA  <origin>  <person>  (
   <serial>
   <refresh>
   <retry>
   <expire>
   <minimum> )

The Start Of Authority record designates the start of a zone.  The
zone ends at the next SOA record.

<name> is the name of the zone.

<origin> is the name of the host on which the master zone file
resides.

<person> is a mailbox for the person responsible for the zone.  It is
formatted like a mailing address but the at-sign that normally
separates the user from the host name is replaced with a dot.

<serial> is the version number of the zone file.  It should be
incremented anytime a change is made to data in the zone.

<refresh> is how long, in seconds, a secondary name server is to
check with the primary name server to see if an update is needed.  A
good value here would be one hour (3600).

<retry> is how long, in seconds, a secondary name server is to retry
after a failure to check for a refresh.  A good value here would be
10 minutes (600).

<expire> is the upper limit, in seconds, that a secondary name server
is to use the data before it expires for lack of getting a refresh.
You want this to be rather large, and a nice value is 3600000, about
42 days.

<minimum> is the minimum number of seconds to be used for TTL values
in RRs.  A minimum of at least a day is a good value here (86400).

There should only be one SOA record per zone.  A sample SOA record
would look something like:

@   IN   SOA   SRI-NIC.ARPA.   HOSTMASTER.SRI-NIC.ARPA. (
    45         ;serial
    3600       ;refresh
    600        ;retry
    3600000    ;expire
    86400 )    ;minimum
§

impl Display for SRV

The format of the SRV RR

  Here is the format of the SRV RR, whose DNS type code is 33:

  _Service._Proto.Name TTL Class SRV Priority Weight Port Target

  (There is an example near the end of this document.)
§

impl Display for SSHFP

3.2.  Presentation Format of the SSHFP RR

   The RDATA of the presentation format of the SSHFP resource record
   consists of two numbers (algorithm and fingerprint type) followed by
   the fingerprint itself, presented in hex, e.g.:

       host.example.  SSHFP 2 1 123456789abcdef67890123456789abcdef67890

   The use of mnemonics instead of numbers is not allowed.
§

impl Display for SVCB

simple.example. 7200 IN HTTPS 1 . alpn=h3
pool  7200 IN HTTPS 1 h3pool alpn=h2,h3 ech="123..."
              HTTPS 2 .      alpn=h2 ech="abc..."
@     7200 IN HTTPS 0 www
_8765._baz.api.example.com. 7200 IN SVCB 0 svc4-baz.example.net.
§

impl Display for Scheme

§

impl Display for ScopedIp

§

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 Second

§

impl Display for Seconds

§

impl Display for SelectError

§

impl Display for SelectTimeoutError

§

impl Display for rama::futures::channel::mpsc::SendError

§

impl Display for SerialNumber

§

impl Display for SerializeError

§

impl Display for rama::crypto::dep::x509_parser::prelude::asn1_rs::SerializeError

§

impl Display for Server

§

impl Display for ServerErrorsFailureClass

§

impl Display for ServingStatus

§

impl Display for SetGlobalDefaultError

Source§

impl Display for SetLoggerError

§

impl Display for SetParentError

§

impl Display for SettingId

§

impl Display for SignatureScheme

§

impl Display for SignedDuration

Source§

impl Display for Simple

§

impl Display for SmallIndexError

§

impl Display for SmolStr

1.0.0 · Source§

impl Display for SocketAddr

1.0.0 · Source§

impl Display for SocketAddrV4

1.0.0 · Source§

impl Display for SocketAddrV6

§

impl Display for SocketAddress

§

impl Display for Socks5ProxyError

§

impl Display for SocksMethod

§

impl Display for SourceExpression

§

impl Display for SourceList

§

impl Display for Span

§

impl Display for SpanId

§

impl Display for SpawnError

§

impl Display for SpecificationError

Available on crate feature alloc only.
§

impl Display for SslError

§

impl Display for SslErrorStack

§

impl Display for SslVersion

§

impl Display for StartError

§

impl Display for StartError

§

impl Display for StateIDError

§

impl Display for StateIDError

§

impl Display for Status

§

impl Display for StatusCode

Formats the status code, including the canonical reason.

§Example

assert_eq!(format!("{}", StatusCode::OK), "200 OK");
§

impl Display for StatusCodeError

§

impl Display for StatusInRangeFailureClass

§

impl Display for StrContext

§

impl Display for StrContextValue

1.0.0 · Source§

impl Display for String

§

impl Display for StringFilter

§

impl Display for StringValue

1.7.0 · Source§

impl Display for StripPrefixError

§

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 Substr

§

impl Display for Subtag

This trait is implemented for compatibility with fmt!. To create a string, [Writeable::write_to_string] is usually more efficient.

§

impl Display for Subtag

This trait is implemented for compatibility with fmt!. To create a string, [Writeable::write_to_string] is usually more efficient.

§

impl Display for Suffix

§

impl Display for SupportedGroup

§

impl Display for SvcParamKey

§

impl Display for SvcParamValue

Source§

impl Display for SyntaxViolation

1.8.0 · Source§

impl Display for SystemTimeError

§

impl Display for TLSA

2.2.  TLSA RR Presentation Format

  The presentation format of the RDATA portion (as defined in
  [RFC1035]) is as follows:

  o  The certificate usage field MUST be represented as an 8-bit
     unsigned integer.

  o  The selector field MUST be represented as an 8-bit unsigned
     integer.

  o  The matching type field MUST be represented as an 8-bit unsigned
     integer.

  o  The certificate association data field MUST be represented as a
     string of hexadecimal characters.  Whitespace is allowed within
     the string of hexadecimal characters, as described in [RFC1035].

2.3.  TLSA RR Examples

   In the following examples, the domain name is formed using the rules
   in Section 3.

   An example of a hashed (SHA-256) association of a PKIX CA
   certificate:

   _443._tcp.www.example.com. IN TLSA (
      0 0 1 d2abde240d7cd3ee6b4b28c54df034b9
            7983a1d16e8a410e4561cb106618e971 )

   An example of a hashed (SHA-512) subject public key association of a
   PKIX end entity certificate:

   _443._tcp.www.example.com. IN TLSA (
      1 1 2 92003ba34942dc74152e2f2c408d29ec
            a5a520e7f2e06bb944f4dca346baf63c
            1b177615d466f6c4b71c216a50292bd5
            8c9ebdd2f74e38fe51ffd48c43326cbc )

   An example of a full certificate association of a PKIX end entity
   certificate:

   _443._tcp.www.example.com. IN TLSA (
      3 0 0 30820307308201efa003020102020... )
§

impl Display for TSIG

§

impl Display for TXT

§

impl Display for Tag

§

impl Display for Targets

§

impl Display for TaskId

§

impl Display for TcpConnectDeniedError

§

impl Display for TeDirective

§

impl Display for TelemetryRuntimeError

§

impl Display for TeletexString

§

impl Display for Terabit

§

impl Display for TerabitPerSecond

§

impl Display for Terabyte

§

impl Display for TerabytePerSecond

§

impl Display for TextRejection

§

impl Display for Time

§

impl Display for Time

Converts a Time into an ISO 8601 compliant string.

§Formatting options supported

  • std::fmt::Formatter::precision can be set to control the precision of the fractional second component. When not set, the minimum precision required to losslessly render the value is used.

§Example

use jiff::civil::time;

// No fractional seconds:
let t = time(7, 0, 0, 0);
assert_eq!(format!("{t}"), "07:00:00");

// With fractional seconds:
let t = time(7, 0, 0, 123_000_000);
assert_eq!(format!("{t}"), "07:00:00.123");

§Example: setting the precision

use jiff::civil::time;

let t = time(7, 0, 0, 123_000_000);
assert_eq!(format!("{t:.6}"), "07:00:00.123000");
// Precision values greater than 9 are clamped to 9.
assert_eq!(format!("{t:.300}"), "07:00:00.123000000");
// A precision of 0 implies the entire fractional
// component is always truncated.
assert_eq!(format!("{t:.0}"), "07:00:00");
§

impl Display for Time

Available on crate feature alloc only.
§

impl Display for TimeoutError

§

impl Display for TimeoutExpired

§

impl Display for Timestamp

Converts a Timestamp datetime into a RFC 3339 compliant string.

Since a Timestamp never has an offset associated with it and is always in UTC, the string emitted by this trait implementation uses Z for “Zulu” time. The significance of Zulu time is prescribed by RFC 9557 and means that “the time in UTC is known, but the offset to local time is unknown.” If you need to emit an RFC 3339 compliant string with a specific offset, then use [Timestamp::display_with_offset].

§Formatting options supported

  • std::fmt::Formatter::precision can be set to control the precision of the fractional second component. When not set, the minimum precision required to losslessly render the value is used.

§Example

This shows the default rendering:

use jiff::Timestamp;

// No fractional seconds.
let ts = Timestamp::from_second(1_123_456_789)?;
assert_eq!(format!("{ts}"), "2005-08-07T23:19:49Z");

// With fractional seconds.
let ts = Timestamp::new(1_123_456_789, 123_000_000)?;
assert_eq!(format!("{ts}"), "2005-08-07T23:19:49.123Z");

§Example: setting the precision

use jiff::Timestamp;

let ts = Timestamp::new(1_123_456_789, 123_000_000)?;
assert_eq!(
    format!("{ts:.6}"),
    "2005-08-07T23:19:49.123000Z",
);
// Precision values greater than 9 are clamped to 9.
assert_eq!(
    format!("{ts:.300}"),
    "2005-08-07T23:19:49.123000000Z",
);
// A precision of 0 implies the entire fractional
// component is always truncated.
assert_eq!(
    format!("{ts:.0}"),
    "2005-08-07T23:19:49Z",
);
Source§

impl Display for rama::http::grpc::protobuf::prost::types::Timestamp

§

impl Display for TimestampDisplayWithOffset

Source§

impl Display for TimestampError

§

impl Display for TlsAgent

§

impl Display for TlsMitmRelayError

1.16.0 · Source§

impl Display for ToLowercase

§

impl Display for rama::http::header::ToStrError

§

impl Display for rama::http::grpc::metadata::errors::ToStrError

Source§

impl Display for ToTitlecase

1.16.0 · Source§

impl Display for ToUppercase

Source§

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::Groups with Delimiter::None delimiters and negative numeric literals.

1.15.0 · Source§

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::Groups with Delimiter::None delimiters and negative numeric literals.

Note: the exact form of the output is subject to change, e.g. there might be changes in the whitespace used between tokens. Therefore, you should not do any kind of simple substring matching on the output string (as produced by to_string) to implement a proc macro, because that matching might stop working if such changes happen. Instead, you should work at the TokenTree level, e.g. matching against TokenTree::Ident, TokenTree::Punct, or TokenTree::Literal.

Source§

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::Groups with Delimiter::None delimiters and negative numeric literals.

1.29.0 · Source§

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::Groups with Delimiter::None delimiters and negative numeric literals.

Note: the exact form of the output is subject to change, e.g. there might be changes in the whitespace used between tokens. Therefore, you should not do any kind of simple substring matching on the output string (as produced by to_string) to implement a proc macro, because that matching might stop working if such changes happen. Instead, you should work at the TokenTree level, e.g. matching against TokenTree::Ident, TokenTree::Punct, or TokenTree::Literal.

§

impl Display for TokioDnsTxtUnsupportedError

§

impl Display for TomlError

Displays a TOML parse error

§Example

TOML parse error at line 1, column 10 | 1 | 00:32:00.a999999 | ^ Unexpected a Expected digit While parsing a Time While parsing a Date-Time

§

impl Display for TraceError

§

impl Display for TraceId

§

impl Display for TransferEncodingDirective

§

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 TryAcquireError

§

impl Display for TryCurrentError

1.59.0 · Source§

impl Display for TryFromCharError

1.66.0 · Source§

impl Display for TryFromFloatSecsError

1.34.0 · Source§

impl Display for core::num::error::TryFromIntError

§

impl Display for TryFromIntError

§

impl Display for TryFromParsed

1.35.0 · Source§

impl Display for core::array::TryFromSliceError

§

impl Display for TryFromSliceError

§

impl Display for TryGetError

§

impl Display for TryInitError

§

impl Display for TryIntoArrayError

1.89.0 · Source§

impl Display for std::fs::TryLockError

§

impl Display for TryLockError

1.0.0 · Source§

impl Display for std::sync::mpsc::TryRecvError

§

impl Display for TryRecvError

§

impl Display for TryRecvError

§

impl Display for TryRecvError

§

impl Display for rama::futures::channel::mpsc::TryRecvError

§

impl Display for TryRecvError

§

impl Display for TryRecvError

1.57.0 · Source§

impl Display for rama::utils::collections::smallvec::alloc::collections::TryReserveError

§

impl Display for TryReserveError

§

impl Display for TryReserveError

§

impl Display for TryReserveError

§

impl Display for TrySelectError

§

impl Display for rama::telemetry::opentelemetry::sdk::runtime::TrySendError

§

impl Display for TsigAlgorithm

§

impl Display for Type

§

impl Display for TypedHeaderRejection

§

impl Display for Uid

§

impl Display for UleError

§

impl Display for Unauthorized

§

impl Display for Undefined

§

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 UnicodeWordBoundaryError

§

impl Display for UnicodeWordError

§

impl Display for UninterpretedHost

§

impl Display for UninterpretedHostRef<'_>

§

impl Display for Unit

§

impl Display for Unknown

Source§

impl Display for UnknownEnumValue

Source§

impl Display for UnorderedKeyError

§

impl Display for rama::crypto::dep::aws_lc_rs::error::Unspecified

§

impl Display for Unspecified

§

impl Display for UnsupportedOperationError

§

impl Display for rama::net::uri::Uri

§

impl Display for rama::http::Uri

§

impl Display for UriError

§

impl Display for UriMatchError<'_>

§

impl Display for UriParamsDeserializeError

§

impl Display for UriRef<'_>

§

impl Display for UriTemplateStr

§

impl Display for UriTemplateString

Source§

impl Display for Url

Display the serialization of this URL.

Source§

impl Display for Urn

§

impl Display for rama::http::headers::UserAgent

§

impl Display for rama::ua::UserAgent

§

impl Display for UserAgentKind

§

impl Display for UserError

§

impl Display for UserInfo

§

impl Display for UserInfoRef<'_>

§

impl Display for UsernamePasswordSubnegotiationVersion

§

impl Display for UtcDateTime

§

impl Display for UtcOffset

§

impl Display for UtcTime

§

impl Display for Utf8Bytes

§

impl Display for Utf8CharsError

1.0.0 · Source§

impl Display for rama::utils::collections::smallvec::alloc::str::Utf8Error

§

impl Display for Utf8Error

§

impl Display for Utf8Error

Source§

impl Display for Uuid

§

impl Display for ValidationError

§

impl Display for ValidationError

Source§

impl Display for serde_json::value::Value

§

impl Display for rama::telemetry::opentelemetry::Value

§

impl Display for Value

This trait is implemented for compatibility with fmt!. To create a string, [Writeable::write_to_string] is usually more efficient.

§

impl Display for Value

This trait is implemented for compatibility with fmt!. To create a string, [Writeable::write_to_string] is usually more efficient.

§

impl Display for ValueSet<'_>

1.0.0 · Source§

impl Display for VarError

§

impl Display for Variant

This trait is implemented for compatibility with fmt!. To create a string, [Writeable::write_to_string] is usually more efficient.

Source§

impl Display for uuid::Variant

§

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 VerifierBuilderError

§

impl Display for Weekday

§

impl Display for WildcardError

§

impl Display for WireError

§

impl Display for WorkerId

Source§

impl Display for WouldBlock

1.56.0 · Source§

impl Display for WriterPanicked

§

impl Display for X509Error

§

impl Display for X509Name<'_>

§

impl Display for X509VerifyError

§

impl Display for X509Version

§

impl Display for XClacksOverhead

§

impl Display for ZeroTrieBuildError

§

impl Display for ZipDateTimeKind

§

impl Display for Zoned

Converts a Zoned datetime into a RFC 9557 compliant string.

§Formatting options supported

  • std::fmt::Formatter::precision can be set to control the precision of the fractional second component. When not set, the minimum precision required to losslessly render the value is used.

§Example

This shows the default rendering:

use jiff::civil::date;

// No fractional seconds:
let zdt = date(2024, 6, 15).at(7, 0, 0, 0).in_tz("US/Eastern")?;
assert_eq!(format!("{zdt}"), "2024-06-15T07:00:00-04:00[US/Eastern]");

// With fractional seconds:
let zdt = date(2024, 6, 15).at(7, 0, 0, 123_000_000).in_tz("US/Eastern")?;
assert_eq!(format!("{zdt}"), "2024-06-15T07:00:00.123-04:00[US/Eastern]");

§Example: setting the precision

use jiff::civil::date;

let zdt = date(2024, 6, 15).at(7, 0, 0, 123_000_000).in_tz("US/Eastern")?;
assert_eq!(
    format!("{zdt:.6}"),
    "2024-06-15T07:00:00.123000-04:00[US/Eastern]",
);
// Precision values greater than 9 are clamped to 9.
assert_eq!(
    format!("{zdt:.300}"),
    "2024-06-15T07:00:00.123000000-04:00[US/Eastern]",
);
// A precision of 0 implies the entire fractional
// component is always truncated.
assert_eq!(
    format!("{zdt:.0}"),
    "2024-06-15T07:00:00-04:00[US/Eastern]",
);
1.0.0 · Source§

impl Display for bool

1.0.0 · Source§

impl Display for char

Source§

impl Display for dyn Expected + '_

§

impl Display for dyn Value

1.0.0 · Source§

impl Display for f16

1.0.0 · Source§

impl Display for f32

1.0.0 · Source§

impl Display for f64

1.0.0 · Source§

impl Display for i8

1.0.0 · Source§

impl Display for i16

1.0.0 · Source§

impl Display for i32

1.0.0 · Source§

impl Display for i64

1.0.0 · Source§

impl Display for i128

1.0.0 · Source§

impl Display for isize

1.0.0 · Source§

impl Display for str

1.0.0 · Source§

impl Display for u8

1.0.0 · Source§

impl Display for u16

1.0.0 · Source§

impl Display for u32

1.0.0 · Source§

impl Display for u64

1.0.0 · Source§

impl Display for u128

1.0.0 · Source§

impl Display for usize

§

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, 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 MappedMutexGuard<'a, T>
where T: Display + ?Sized,

§

impl<'a, T> Display for MutexGuard<'a, T>
where T: Display + ?Sized,

§

impl<'a, T> Display for RwLockMappedWriteGuard<'a, T>
where T: Display + ?Sized,

§

impl<'a, T> Display for RwLockReadGuard<'a, T>
where T: Display + ?Sized,

§

impl<'a, T> Display for RwLockWriteGuard<'a, T>
where T: Display + ?Sized,

§

impl<'a, T> Display for SpinMutexGuard<'a, T>
where T: Display + ?Sized,

§

impl<'a> Display for AnsiGenericString<'a, str>

§

impl<'a> Display for AnsiGenericStrings<'a, str>

1.60.0 · Source§

impl<'a> Display for EscapeAscii<'a>

1.34.0 · Source§

impl<'a> Display for rama::utils::collections::smallvec::alloc::str::EscapeDebug<'a>

1.34.0 · Source§

impl<'a> Display for rama::utils::collections::smallvec::alloc::str::EscapeDefault<'a>

1.34.0 · Source§

impl<'a> Display for rama::utils::collections::smallvec::alloc::str::EscapeUnicode<'a>

Source§

impl<'a> Display for rama::http::mime::Name<'a>

Source§

impl<'a> Display for ParseBuffer<'a>

Source§

impl<'a> Display for Unexpected<'a>

§

impl<'d> Display for TimeZoneName<'d>

§

impl<'f> Display for Display<'f>

§

impl<'n> Display for Pieces<'n>

§

impl<'rwlock, T, R> Display for RwLockUpgradableGuard<'rwlock, T, R>
where T: Display + ?Sized,

§

impl<'rwlock, T, R> Display for RwLockWriteGuard<'rwlock, T, R>
where T: Display + ?Sized,

§

impl<'rwlock, T> Display for RwLockReadGuard<'rwlock, T>
where T: Display + ?Sized,

§

impl<'s, T> Display for SliceVec<'s, T>
where T: Display,

§

impl<A, B, C, D, E, F, G, H, I> Display for Either9<A, B, C, D, E, F, G, H, I>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display, H: Display, I: Display,

§

impl<A, B, C, D, E, F, G, H, I> Display for EitherConn9<A, B, C, D, E, F, G, H, I>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display, H: Display, I: Display,

§

impl<A, B, C, D, E, F, G, H, I> Display for EitherConn9Connected<A, B, C, D, E, F, G, H, I>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display, H: Display, I: Display,

§

impl<A, B, C, D, E, F, G, H> Display for Either8<A, B, C, D, E, F, G, H>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display, H: Display,

§

impl<A, B, C, D, E, F, G, H> Display for EitherConn8<A, B, C, D, E, F, G, H>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display, H: Display,

§

impl<A, B, C, D, E, F, G, H> Display for EitherConn8Connected<A, B, C, D, E, F, G, H>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display, H: Display,

§

impl<A, B, C, D, E, F, G> Display for Either7<A, B, C, D, E, F, G>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display,

§

impl<A, B, C, D, E, F, G> Display for EitherConn7<A, B, C, D, E, F, G>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display,

§

impl<A, B, C, D, E, F, G> Display for EitherConn7Connected<A, B, C, D, E, F, G>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display,

§

impl<A, B, C, D, E, F> Display for Either6<A, B, C, D, E, F>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display,

§

impl<A, B, C, D, E, F> Display for EitherConn6<A, B, C, D, E, F>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display,

§

impl<A, B, C, D, E, F> Display for EitherConn6Connected<A, B, C, D, E, F>
where A: Display, B: Display, C: Display, D: Display, E: Display, F: Display,

§

impl<A, B, C, D, E> Display for Either5<A, B, C, D, E>
where A: Display, B: Display, C: Display, D: Display, E: Display,

§

impl<A, B, C, D, E> Display for EitherConn5<A, B, C, D, E>
where A: Display, B: Display, C: Display, D: Display, E: Display,

§

impl<A, B, C, D, E> Display for EitherConn5Connected<A, B, C, D, E>
where A: Display, B: Display, C: Display, D: Display, E: Display,

§

impl<A, B, C, D> Display for Either4<A, B, C, D>
where A: Display, B: Display, C: Display, D: Display,

§

impl<A, B, C, D> Display for EitherConn4<A, B, C, D>
where A: Display, B: Display, C: Display, D: Display,

§

impl<A, B, C, D> Display for EitherConn4Connected<A, B, C, D>
where A: Display, B: Display, C: Display, D: Display,

§

impl<A, B, C> Display for Either3<A, B, C>
where A: Display, B: Display, C: Display,

§

impl<A, B, C> Display for EitherConn3<A, B, C>
where A: Display, B: Display, C: Display,

§

impl<A, B, C> Display for EitherConn3Connected<A, B, C>
where A: Display, B: Display, C: Display,

§

impl<A, B> Display for Concat<A, B>
where A: Writeable, B: Writeable,

§

impl<A, B> Display for rama::combinators::Either<A, B>
where A: Display, B: Display,

§

impl<A, B> Display for EitherConn<A, B>
where A: Display, B: Display,

§

impl<A, B> Display for EitherConnConnected<A, B>
where A: Display, B: Display,

§

impl<A, S, V> Display for ConvertError<A, S, V>
where A: Display, S: Display, V: Display,

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<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,

1.0.0 · Source§

impl<B> Display for Cow<'_, B>
where B: Display + ToOwned + ?Sized, <B as ToOwned>::Owned: Display,

§

impl<E> Display for rama::crypto::dep::x509_parser::prelude::asn1_rs::Err<E>
where E: Debug,

§

impl<E> Display for Err<E>
where E: Debug,

§

impl<E> Display for ErrMode<E>
where E: Debug,

§

impl<E> Display for FormattedFields<E>
where E: ?Sized,

Source§

impl<E> Display for Report<E>
where E: Error,

§

impl<E> Display for TryForEachError<E>
where E: Display,

1.93.0 · Source§

impl<F> Display for FromFn<F>
where F: Fn(&mut Formatter<'_>) -> Result<(), Error>,

Source§

impl<F> Display for PersistError<F>

Source§

impl<G> Display for Dot<'_, G>

§

impl<I, C> Display for TreeError<I, C>
where I: Display, C: Display,

§

impl<I, C> Display for TreeErrorContext<I, C>
where I: Display, C: Display,

§

impl<I, E> Display for ParseError<I, E>
where I: AsBStr, E: Display,

§

impl<I, F> Display for FormatWith<'_, I, F>
where I: Iterator, F: FnMut(<I as Iterator>::Item, &mut dyn FnMut(&dyn Display) -> Result<(), Error>) -> Result<(), Error>,

§

impl<I, S> Display for Stateful<I, S>
where I: Display,

§

impl<I> Display for Decompositions<I>
where I: Iterator<Item = char> + Clone,

§

impl<I> Display for rama::crypto::dep::x509_parser::prelude::asn1_rs::nom::error::Error<I>
where I: Display,

The Display implementation allows the std::error::Error implementation

§

impl<I> Display for Error<I>
where I: Display,

The Display implementation allows the std::error::Error implementation

§

impl<I> Display for ExactlyOneError<I>
where I: Iterator,

§

impl<I> Display for InputError<I>
where I: Clone + Display,

The Display implementation allows the std::error::Error implementation

§

impl<I> Display for LocatingSlice<I>
where I: Display,

§

impl<I> Display for Partial<I>
where I: Display,

§

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<I> Display for TreeErrorBase<I>
where I: Display,

§

impl<I> Display for VerboseError<I>
where I: Display,

Available on crate feature alloc only.
§

impl<K, V, S, A> Display for OccupiedError<'_, K, V, S, A>
where K: Debug, V: Debug, A: Allocator,

§

impl<K, V, S, A> Display for OccupiedError<'_, K, V, S, A>
where K: Debug, V: Debug, A: Allocator,

§

impl<K, V, S, A> Display for OccupiedError<'_, K, V, S, A>
where K: Debug, V: Debug, A: Allocator,

§

impl<K, V> Display for TryIntoHeaderError<K, V>

Source§

impl<L, R> Display for either::Either<L, R>
where L: Display, R: Display,

§

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 UdpClientStream<P>

1.33.0 · Source§

impl<Ptr> Display for Pin<Ptr>
where Ptr: Display,

§

impl<R> Display for Record<R>
where R: RecordData,

RFC 1033, DOMAIN OPERATIONS GUIDE, November 1987

  RESOURCE RECORDS

  Records in the zone data files are called resource records (RRs).
  They are specified in RFC-883 and RFC-973.  An RR has a standard
  format as shown:

          <name>   [<ttl>]   [<class>]   <type>   <data>

  The record is divided into fields which are separated by white space.

     <name>

        The name field defines what domain name applies to the given
        RR.  In some cases the name field can be left blank and it will
        default to the name field of the previous RR.

     <ttl>

        TTL stands for Time To Live.  It specifies how long a domain
        resolver should cache the RR before it throws it out and asks a
        domain server again.  See the section on TTL's.  If you leave
        the TTL field blank it will default to the minimum time
        specified in the SOA record (described later).

     <class>

        The class field specifies the protocol group.  If left blank it
        will default to the last class specified.

     <type>

        The type field specifies what type of data is in the RR.  See
        the section on types.

     <data>

        The data field is defined differently for each type and class
        of data.  Popular RR data formats are described later.
§

impl<R> Display for SetRecorderError<R>

§

impl<S, C> Display for Expanded<'_, S, C>
where S: Spec, C: Context,

§

impl<S, D> Display for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
where S: Spec, D: Display,

§

impl<S, D> Display for PasswordReplaced<'_, RiReferenceStr<S>, D>
where S: Spec, D: Display,

§

impl<S, D> Display for PasswordReplaced<'_, RiRelativeStr<S>, D>
where S: Spec, D: Display,

§

impl<S, D> Display for PasswordReplaced<'_, RiStr<S>, D>
where S: Spec, D: Display,

§

impl<S> Display for Ascii<S>
where S: Display,

§

impl<S> Display for BindError<S>

§

impl<S> Display for Built<'_, RiAbsoluteStr<S>>
where S: Spec,

§

impl<S> Display for Built<'_, RiReferenceStr<S>>
where S: Spec,

§

impl<S> Display for Built<'_, RiRelativeStr<S>>
where S: Spec,

§

impl<S> Display for Built<'_, RiStr<S>>
where S: Spec,

§

impl<S> Display for rama::tls::boring::core::ssl::HandshakeError<S>

§

impl<S> Display for rama::tls::boring::core::tokio::HandshakeError<S>

Source§

impl<S> Display for url::host::Host<S>
where S: AsRef<str>,

§

impl<S> Display for MappedToUri<'_, RiAbsoluteStr<S>>
where S: Spec,

§

impl<S> Display for MappedToUri<'_, RiFragmentStr<S>>
where S: Spec,

§

impl<S> Display for MappedToUri<'_, RiQueryStr<S>>
where S: Spec,

§

impl<S> Display for MappedToUri<'_, RiReferenceStr<S>>
where S: Spec,

§

impl<S> Display for MappedToUri<'_, RiRelativeStr<S>>
where S: Spec,

§

impl<S> Display for MappedToUri<'_, RiStr<S>>
where S: Spec,

§

impl<S> Display for Normalized<'_, RiAbsoluteStr<S>>
where S: Spec,

§

impl<S> Display for Normalized<'_, RiStr<S>>
where S: Spec,

§

impl<S> Display for PasswordMasked<'_, RiAbsoluteStr<S>>
where S: Spec,

§

impl<S> Display for PasswordMasked<'_, RiReferenceStr<S>>
where S: Spec,

§

impl<S> Display for PasswordMasked<'_, RiRelativeStr<S>>
where S: Spec,

§

impl<S> Display for PasswordMasked<'_, RiStr<S>>
where S: Spec,

§

impl<S> Display for RiAbsoluteStr<S>
where S: Spec,

§

impl<S> Display for RiAbsoluteString<S>
where S: Spec,

§

impl<S> Display for RiFragmentStr<S>
where S: Spec,

§

impl<S> Display for RiFragmentString<S>
where S: Spec,

§

impl<S> Display for RiQueryStr<S>
where S: Spec,

§

impl<S> Display for RiQueryString<S>
where S: Spec,

§

impl<S> Display for RiReferenceStr<S>
where S: Spec,

§

impl<S> Display for RiReferenceString<S>
where S: Spec,

§

impl<S> Display for RiRelativeStr<S>
where S: Spec,

§

impl<S> Display for RiRelativeString<S>
where S: Spec,

§

impl<S> Display for RiStr<S>
where S: Spec,

§

impl<S> Display for RiString<S>
where S: Spec,

§

impl<S> Display for TlsConnectError<S>

§

impl<S> Display for UniCase<S>
where S: Display,

§

impl<Src, Dst> Display for AlignmentError<Src, Dst>
where Src: Deref, Dst: KnownLayout + ?Sized,

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>
where Src: Deref, Dst: KnownLayout + ?Sized,

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>
where Dst: KnownLayout + TryFromBytes + ?Sized,

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.

1.0.0 · Source§

impl<T, A> Display for Arc<T, A>
where T: Display + ?Sized, A: Allocator,

1.0.0 · Source§

impl<T, A> Display for rama::utils::collections::smallvec::alloc::boxed::Box<T, A>
where T: Display + ?Sized, A: Allocator,

§

impl<T, A> Display for Box<T, A>
where T: Display + ?Sized, A: Allocator,

1.0.0 · Source§

impl<T, A> Display for Rc<T, A>
where T: Display + ?Sized, A: Allocator,

Source§

impl<T, A> Display for UniqueArc<T, A>
where T: Display + ?Sized, A: Allocator,

Source§

impl<T, A> Display for UniqueRc<T, A>
where T: Display + ?Sized, A: Allocator,

§

impl<T, B> Display for Ref<B, T>
where B: ByteSlice, T: FromBytes + Display + KnownLayout + Immutable + ?Sized,

§

impl<T, E> Display for TryChunksError<T, E>
where E: Display,

§

impl<T, E> Display for TryReadyChunksError<T, E>
where E: Display,

§

impl<T, Item> Display for rama::futures::prelude::stream::ReuniteError<T, Item>

§

impl<T, S> Display for ArcSwapAny<T, S>
where S: Strategy<T>, T: Display + RefCnt,

§

impl<T, S> Display for Guard<T, S>
where T: Display + RefCnt, S: Strategy<T>,

§

impl<T, S> Display for PercentEncoded<T, S>
where T: Display, S: Spec,

§

impl<T, U> Display for OwnedMappedMutexGuard<T, U>
where U: Display + ?Sized, T: ?Sized,

§

impl<T, U> Display for OwnedRwLockMappedWriteGuard<T, U>
where U: Display + ?Sized, T: ?Sized,

§

impl<T, U> Display for OwnedRwLockReadGuard<T, U>
where U: Display + ?Sized, T: ?Sized,

1.0.0 · Source§

impl<T> Display for &T
where T: Display + ?Sized,

1.0.0 · Source§

impl<T> Display for &mut T
where T: Display + ?Sized,

§

impl<T> Display for AsKebabCase<T>
where T: AsRef<str>,

§

impl<T> Display for AsLowerCamelCase<T>
where T: AsRef<str>,

§

impl<T> Display for AsShoutyKebabCase<T>
where T: AsRef<str>,

§

impl<T> Display for AsShoutySnakeCase<T>
where T: AsRef<str>,

§

impl<T> Display for AsSnakeCase<T>
where T: AsRef<str>,

§

impl<T> Display for AsTitleCase<T>
where T: AsRef<str>,

§

impl<T> Display for AsTrainCase<T>
where T: AsRef<str>,

§

impl<T> Display for AsUpperCamelCase<T>
where T: AsRef<str>,

§

impl<T> Display for AsyncFdTryNewError<T>

§

impl<T> Display for CachePadded<T>
where T: Display,

§

impl<T> Display for CreationError<T>

Available on crate feature alloc only.
§

impl<T> Display for CreationError<T>

§

impl<T> Display for DisplayValue<T>
where T: Display,

§

impl<T> Display for IpHint<T>
where T: Display,

§

impl<T> Display for LossyWrap<T>
where T: TryWriteable,

Source§

impl<T> Display for std::sync::nonpoison::mutex::MappedMutexGuard<'_, T>
where T: Display + ?Sized,

Source§

impl<T> Display for std::sync::poison::mutex::MappedMutexGuard<'_, T>
where T: Display + ?Sized,

Source§

impl<T> Display for std::sync::nonpoison::rwlock::MappedRwLockReadGuard<'_, T>
where T: Display + ?Sized,

Source§

impl<T> Display for std::sync::poison::rwlock::MappedRwLockReadGuard<'_, T>
where T: Display + ?Sized,

Source§

impl<T> Display for std::sync::nonpoison::rwlock::MappedRwLockWriteGuard<'_, T>
where T: Display + ?Sized,

Source§

impl<T> Display for std::sync::poison::rwlock::MappedRwLockWriteGuard<'_, T>
where T: Display + ?Sized,

Source§

impl<T> Display for std::sync::nonpoison::mutex::MutexGuard<'_, T>
where T: Display + ?Sized,

1.20.0 · Source§

impl<T> Display for rama::tls::rustls::dep::rustls::lock::MutexGuard<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for MutexGuard<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for MutexGuard<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for MutexGuardArc<T>
where T: Display + ?Sized,

1.28.0 · Source§

impl<T> Display for NonZero<T>

§

impl<T> Display for OwnedMutexGuard<T>
where T: Display + ?Sized,

§

impl<T> Display for OwnedRwLockWriteGuard<T>
where T: Display + ?Sized,

1.0.0 · Source§

impl<T> Display for PoisonError<T>

§

impl<T> Display for PollSendError<T>

§

impl<T> Display for Port<T>

§

impl<T> Display for PreEscaped<T>
where T: Display,

§

impl<T> Display for QualityValue<T>
where T: Display,

Source§

impl<T> Display for std::sync::oneshot::RecvTimeoutError<T>

Source§

impl<T> Display for ReentrantLockGuard<'_, T>
where T: Display + ?Sized,

1.20.0 · Source§

impl<T> Display for core::cell::Ref<'_, T>
where T: Display + ?Sized,

1.20.0 · Source§

impl<T> Display for RefMut<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for rama::futures::io::ReuniteError<T>

Source§

impl<T> Display for std::sync::nonpoison::rwlock::RwLockReadGuard<'_, T>
where T: Display + ?Sized,

1.20.0 · Source§

impl<T> Display for std::sync::poison::rwlock::RwLockReadGuard<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for RwLockReadGuard<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for RwLockReadGuardArc<T>
where T: Display,

§

impl<T> Display for RwLockUpgradableReadGuard<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for RwLockUpgradableReadGuardArc<T>
where T: Display + ?Sized,

Source§

impl<T> Display for std::sync::nonpoison::rwlock::RwLockWriteGuard<'_, T>
where T: Display + ?Sized,

1.20.0 · Source§

impl<T> Display for std::sync::poison::rwlock::RwLockWriteGuard<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for RwLockWriteGuard<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for RwLockWriteGuardArc<T>
where T: Display + ?Sized,

1.74.0 · Source§

impl<T> Display for Saturating<T>
where T: Display,

1.0.0 · Source§

impl<T> Display for std::sync::mpsc::SendError<T>

§

impl<T> Display for SendError<T>

§

impl<T> Display for SendError<T>

§

impl<T> Display for SendError<T>

§

impl<T> Display for SendError<T>

§

impl<T> Display for SendError<T>

Source§

impl<T> Display for std::sync::mpmc::error::SendTimeoutError<T>

§

impl<T> Display for SendTimeoutError<T>

Available on crate feature time only.
§

impl<T> Display for SendTimeoutError<T>

§

impl<T> Display for SendTimeoutError<T>

§

impl<T> Display for SetError<T>

§

impl<T> Display for SetOnceError<T>

§

impl<T> Display for ShardedLockReadGuard<'_, T>
where T: Display + ?Sized,

§

impl<T> Display for ShardedLockWriteGuard<'_, T>
where T: Display + ?Sized,

Source§

impl<T> Display for ThinBox<T>
where T: Display + ?Sized,

Source§

impl<T> Display for TryFromBigIntError<T>

1.0.0 · Source§

impl<T> Display for std::sync::poison::TryLockError<T>

Source§

impl<T> Display for std::sync::oneshot::TryRecvError<T>

1.0.0 · Source§

impl<T> Display for std::sync::mpsc::TrySendError<T>

§

impl<T> Display for TrySendError<T>

§

impl<T> Display for rama::futures::channel::mpsc::TrySendError<T>

§

impl<T> Display for TrySendError<T>

§

impl<T> Display for TrySendError<T>

§

impl<T> Display for TryWriteableInfallibleAsWriteable<T>
where T: TryWriteable<Error = Infallible>,

§

impl<T> Display for Unalign<T>
where T: Unaligned + Display,

§

impl<T> Display for WithPart<T>
where T: Writeable + ?Sized,

1.10.0 · Source§

impl<T> Display for Wrapping<T>
where T: Display,

§

impl<TZ> Display for ZipDateTime<TZ>
where TZ: TimeZoneMarker,

§

impl<V, U> Display for WithUnit<V, U>
where V: Display, U: UnitTag,

§

impl<VE> Display for MetadataKey<VE>
where VE: ValueEncoding,

1.0.0 · Source§

impl<W> Display for std::io::buffered::IntoInnerError<W>

§

impl<W> Display for IntoInnerError<W>

§

impl<Y, C> Display for Yoke<Y, C>
where Y: for<'a> Yokeable<'a>, <Y as Yokeable<'a>>::Output: for<'a> Display,

§

impl<const MIN: i8, const MAX: i8> Display for RangedI8<MIN, MAX>

§

impl<const MIN: i16, const MAX: i16> Display for RangedI16<MIN, MAX>

§

impl<const MIN: i32, const MAX: i32> Display for RangedI32<MIN, MAX>

§

impl<const MIN: i64, const MAX: i64> Display for RangedI64<MIN, MAX>

§

impl<const MIN: i128, const MAX: i128> Display for RangedI128<MIN, MAX>

§

impl<const MIN: isize, const MAX: isize> Display for RangedIsize<MIN, MAX>

§

impl<const MIN: u8, const MAX: u8> Display for RangedU8<MIN, MAX>

§

impl<const MIN: u16, const MAX: u16> Display for RangedU16<MIN, MAX>

§

impl<const MIN: u32, const MAX: u32> Display for RangedU32<MIN, MAX>

§

impl<const MIN: u64, const MAX: u64> Display for RangedU64<MIN, MAX>

§

impl<const MIN: u128, const MAX: u128> Display for RangedU128<MIN, MAX>

§

impl<const MIN: usize, const MAX: usize> Display for RangedUsize<MIN, MAX>

§

impl<const N: usize> Display for TinyAsciiStr<N>

§

impl<const SIZE: usize> Display for WriteBuffer<SIZE>