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 &dyn Show
impl Display for ShownJobStatus
impl Display for tag2upload_service_manager::db_migration::Outcome
impl Display for NotForUsReason
impl Display for OracleTaskError
impl Display for ProcessingError
impl Display for StartupError
impl Display for WebError
impl Display for BadNamever
impl Display for Interval
impl Display for BadMessage
impl Display for ExpectedKeyword
impl Display for MetadataItemError
impl Display for InvalidOrNullGitObjectId
impl Display for WorkerFidelity
impl Display for Info
impl Display for IpAddr
impl Display for IpNet
impl Display for Void
impl Display for tag2upload_service_manager::prelude::fs::TryLockError
impl Display for AsciiChar
impl Display for Infallible
impl Display for FromBytesWithNulError
impl Display for SocketAddr
impl Display for core::slice::GetDisjointMutError
impl Display for VarError
impl Display for std::sync::mpsc::RecvTimeoutError
impl Display for std::sync::mpsc::TryRecvError
impl Display for ParseAlphabetError
impl Display for base64::decode::DecodeError
impl Display for DecodeSliceError
impl Display for EncodeSliceError
impl Display for Tz
impl Display for RoundingError
impl Display for chrono::weekday::Weekday
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 cookie::parse::ParseError
impl Display for SameSite
impl Display for crossbeam_channel::err::RecvTimeoutError
impl Display for crossbeam_channel::err::TryRecvError
impl Display for DecodeKind
impl Display for BinaryError
impl Display for Actual
impl Display for figment::error::Kind
impl Display for Source
Displays the source. Location and custom sources are displayed directly. File paths are displayed relative to the current working directory if the relative path is shorter than the complete path.
impl Display for globset::ErrorKind
impl Display for ProtoErrorKind
impl Display for MessageType
impl Display for OpCode
impl Display for ResponseCode
impl Display for DNSClass
impl Display for Property
impl Display for hickory_proto::rr::rdata::caa::Value
impl Display for Algorithm
impl Display for CertType
impl Display for SvcParamKey
impl Display for SvcParamValue
impl Display for RData
impl Display for RecordType
impl Display for hickory_proto::serialize::binary::decoder::DecodeError
impl Display for Protocol
impl Display for ResolveErrorKind
impl Display for httparse::Error
impl Display for humantime::date::Error
impl Display for humantime::duration::Error
impl Display for GetTimezoneError
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 ignore::Error
impl Display for indexmap::GetDisjointMutError
impl Display for InlinableString
impl Display for log::Level
impl Display for log::LevelFilter
impl Display for mini_sqlite_dump::Error
impl Display for PredicateError
impl Display for multer::error::Error
impl Display for nix::errno::consts::Errno
impl Display for rand::distr::bernoulli::BernoulliError
impl Display for rand::distr::uniform::Error
impl Display for rand::distr::weighted::Error
impl Display for rand::distributions::bernoulli::BernoulliError
impl Display for WeightedError
impl Display for regex_automata::dfa::automaton::StartError
impl Display for regex_automata::hybrid::error::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 resolv_conf::ParseError
impl Display for Network
impl Display for ScopedIp
impl Display for Sig
impl Display for rocket::error::ErrorKind
impl Display for Entity
impl Display for rocket::form::error::ErrorKind<'_>
impl Display for LogLevel
impl Display for Feature
impl Display for rocket_http::method::Method
impl Display for rocket_http::uri::uri::Uri<'_>
impl Display for rusqlite::error::Error
impl Display for Type
impl Display for FromSqlError
impl Display for rustls_pki_types::pem::Error
impl Display for NotifyState<'_>
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 StrSimError
impl Display for strum::ParseError
impl Display for LogicOperator
impl Display for MathOperator
impl Display for time::error::Error
impl Display for time::error::format::Format
impl Display for InvalidFormatDescription
impl Display for Parse
impl Display for ParseFromDescription
impl Display for TryFromParsed
impl Display for Month
impl Display for time::weekday::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 toml::value::Value
impl Display for Offset
impl Display for Item
impl Display for toml_edit::ser::Error
impl Display for toml_edit::value::Value
impl Display for ServerErrorsFailureClass
impl Display for GrpcFailureClass
impl Display for StatusInRangeFailureClass
impl Display for ubyte::parse::Error
impl Display for ucd_trie::owned::Error
impl Display for url::parser::ParseError
impl Display for SyntaxViolation
impl Display for uuid::Variant
impl Display for StrContext
impl Display for StrContextValue
impl Display for BigEndian
impl Display for LittleEndian
impl Display for ZeroTrieBuildError
impl Display for UleError
impl Display for tag2upload_service_manager::prelude::io::ErrorKind
impl Display for tag2upload_service_manager::prelude::oneshot::error::TryRecvError
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 CodeLocation
impl Display for UnexecutedCodeLocations
impl Display for DbSqlError
impl Display for FromSqlEnumInvalidValue
impl Display for SchemaGenerationError
impl Display for ActualClient
impl Display for DisallowedClient
impl Display for InvalidAllowedClient
impl Display for HttpNotFound
impl Display for InternalError
impl Display for MismatchError
impl Display for Namever
impl Display for DbData1
impl Display for DbData2
impl Display for ProjectId
impl Display for UserId
impl Display for tag2upload_service_manager::logging::LevelFilter
impl Display for ProtocolViolation
impl Display for OracleConnection
impl Display for AttemptInfo
impl Display for EmptyProcessingInfo
impl Display for GitObjectId
impl Display for GitObjectIdOrNull
impl Display for HistEntId
impl Display for Hostname
impl Display for InvalidGitObjectId
impl Display for InvalidHostname
impl Display for InvalidPackageName
impl Display for InvalidTagObjectData
impl Display for InvalidVersionString
impl Display for InvalidWorkerId
impl Display for JobId
impl Display for PackageName
impl Display for PauseId
impl Display for ProcessingInfo
impl Display for SomeZeroForZeroAsNone
impl Display for TagObjectData
impl Display for TimeT
impl Display for UnexpectedNullGitObjectId
impl Display for VersionString
impl Display for WorkerId
impl Display for ContentType
impl Display for WrongVhost
impl Display for HtDuration
impl Display for HtTimeT
impl Display for tag2upload_service_manager::prelude::fairing::Kind
impl Display for Arguments<'_>
impl Display for tag2upload_service_manager::prelude::fmt::Error
impl Display for Aborted
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 alloc::string::FromUtf8Error
impl Display for FromUtf16Error
impl Display for String
impl Display for LayoutError
impl Display for AllocError
impl Display for core::array::TryFromSliceError
impl Display for core::ascii::EscapeDefault
impl Display for 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 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 StrippedStr<'_>
impl Display for Reset
impl Display for Style
impl Display for bitflags::parser::ParseError
impl Display for bstr::bstr::BStr
impl Display for BString
impl Display for bstr::ext_vec::FromUtf8Error
impl Display for bstr::utf8::Utf8Error
impl Display for TryGetError
impl Display for chrono_tz::timezones::ParseError
impl Display for chrono::format::ParseError
impl Display for ParseMonthError
impl Display for NaiveDate
The Display output of the naive date d is the same as
d.format("%Y-%m-%d").
The string printed can be readily parsed via the parse method on str.
§Example
use chrono::NaiveDate;
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(2015, 9, 5).unwrap()), "2015-09-05");
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(0, 1, 1).unwrap()), "0000-01-01");
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(9999, 12, 31).unwrap()), "9999-12-31");ISO 8601 requires an explicit sign for years before 1 BCE or after 9999 CE.
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(-1, 1, 1).unwrap()), "-0001-01-01");
assert_eq!(format!("{}", NaiveDate::from_ymd_opt(10000, 12, 31).unwrap()), "+10000-12-31");impl Display for NaiveDateTime
The Display output of the naive date and time dt is the same as
dt.format("%Y-%m-%d %H:%M:%S%.f").
It should be noted that, for leap seconds not on the minute boundary, it may print a representation not distinguishable from non-leap seconds. This doesn’t matter in practice, since such leap seconds never happened. (By the time of the first leap second on 1972-06-30, every time zone offset around the world has standardized to the 5-minute alignment.)
§Example
use chrono::NaiveDate;
let dt = NaiveDate::from_ymd_opt(2016, 11, 15).unwrap().and_hms_opt(7, 39, 24).unwrap();
assert_eq!(format!("{}", dt), "2016-11-15 07:39:24");Leap seconds may also be used.
let dt =
NaiveDate::from_ymd_opt(2015, 6, 30).unwrap().and_hms_milli_opt(23, 59, 59, 1_500).unwrap();
assert_eq!(format!("{}", dt), "2015-06-30 23:59:60.500");impl Display for NaiveTime
The Display output of the naive time t is the same as
t.format("%H:%M:%S%.f").
The string printed can be readily parsed via the parse method on str.
It should be noted that, for leap seconds not on the minute boundary, it may print a representation not distinguishable from non-leap seconds. This doesn’t matter in practice, since such leap seconds never happened. (By the time of the first leap second on 1972-06-30, every time zone offset around the world has standardized to the 5-minute alignment.)
§Example
use chrono::NaiveTime;
assert_eq!(format!("{}", NaiveTime::from_hms_opt(23, 56, 4).unwrap()), "23:56:04");
assert_eq!(
format!("{}", NaiveTime::from_hms_milli_opt(23, 56, 4, 12).unwrap()),
"23:56:04.012"
);
assert_eq!(
format!("{}", NaiveTime::from_hms_micro_opt(23, 56, 4, 1234).unwrap()),
"23:56:04.001234"
);
assert_eq!(
format!("{}", NaiveTime::from_hms_nano_opt(23, 56, 4, 123456).unwrap()),
"23:56:04.000123456"
);Leap seconds may also be used.
assert_eq!(
format!("{}", NaiveTime::from_hms_milli_opt(6, 59, 59, 1_500).unwrap()),
"06:59:60.500"
);impl Display for FixedOffset
impl Display for Utc
impl Display for OutOfRange
impl Display for OutOfRangeError
impl Display for TimeDelta
impl Display for ParseWeekdayError
impl Display for WeekdaySet
Print the collection as a slice-like list of weekdays.
§Example
use chrono::Weekday::*;
assert_eq!("[]", WeekdaySet::EMPTY.to_string());
assert_eq!("[Mon]", WeekdaySet::single(Mon).to_string());
assert_eq!("[Mon, Fri, Sun]", WeekdaySet::from_array([Mon, Fri, Sun]).to_string());impl Display for Arg
impl Display for 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 CookieBuilder<'_>
impl Display for crossbeam_channel::err::RecvError
impl Display for SelectTimeoutError
impl Display for TrySelectError
impl Display for data_encoding::DecodeError
impl Display for data_encoding::Display<'_>
impl Display for SpecificationError
impl Display for deranged::ParseIntError
impl Display for deranged::TryFromIntError
impl Display for WrongVariantError
impl Display for UnitError
impl Display for derive_more::str::FromStrError
impl Display for AsciiCharsIter<'_>
Format without a temporary string
use deunicode::AsciiChars;
format!("what's up {}", "🐶".ascii_chars());impl Display for figment::error::Error
impl Display for OneOf
impl Display for Profile
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 getrandom::error::Error
impl Display for getrandom::error::Error
impl Display for glob::GlobError
impl Display for Pattern
Show the original glob pattern.
impl Display for PatternError
impl Display for Glob
impl Display for globset::Error
impl Display for globwalk::GlobError
impl Display for h2::error::Error
impl Display for h2::error::Error
impl Display for h2::frame::reason::Reason
impl Display for h2::frame::reason::Reason
impl Display for ProtoError
impl Display for Edns
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 hickory_proto::op::header::Header
impl Display for LowerQuery
impl Display for Message
impl Display for hickory_proto::op::query::Query
impl Display for Label
impl Display for hickory_proto::rr::domain::name::Name
impl Display for LowerName
impl Display for A
impl Display for AAAA
impl Display for CAA
impl Display for KeyValue
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 CSYNC
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 UNIXimpl Display for HTTPS
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 ANAME
impl Display for CNAME
impl Display for NS
impl Display for PTR
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 NULL
impl Display for OPENPGPKEY
Parse the RData from a set of tokens.
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 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 ) ;minimumimpl 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 Alpn
impl Display for EchConfigList
impl Display for Mandatory
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 Unknown
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 TXT
impl Display for NameServerConfig
impl Display for ResolveError
impl Display for http_body_util::limited::LengthLimitError
impl Display for http_body::limited::LengthLimitError
impl Display for http::error::Error
impl Display for http::error::Error
impl Display for http::header::map::MaxSizeReached
impl Display for http::header::map::MaxSizeReached
impl Display for http::header::name::HeaderName
impl Display for http::header::name::HeaderName
impl Display for http::header::name::InvalidHeaderName
impl Display for http::header::name::InvalidHeaderName
impl Display for http::header::value::InvalidHeaderValue
impl Display for http::header::value::InvalidHeaderValue
impl Display for http::header::value::ToStrError
impl Display for http::header::value::ToStrError
impl Display for http::method::InvalidMethod
impl Display for http::method::InvalidMethod
impl Display for http::method::Method
impl Display for http::method::Method
impl Display for http::status::InvalidStatusCode
impl Display for http::status::InvalidStatusCode
impl Display for http::status::StatusCode
Formats the status code, including the canonical reason.
§Example
assert_eq!(format!("{}", StatusCode::OK), "200 OK");impl Display for http::status::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 http::uri::authority::Authority
impl Display for http::uri::path::PathAndQuery
impl Display for http::uri::path::PathAndQuery
impl Display for http::uri::scheme::Scheme
impl Display for http::uri::scheme::Scheme
impl Display for http::uri::InvalidUri
impl Display for http::uri::InvalidUri
impl Display for http::uri::InvalidUriParts
impl Display for http::uri::InvalidUriParts
impl Display for http::uri::Uri
impl Display for http::uri::Uri
impl Display for InvalidChunkSize
impl Display for HttpDate
impl Display for httpdate::Error
impl Display for Rfc3339Timestamp
impl Display for FormattedDuration
impl Display for humantime::wrapper::Duration
impl Display for Timestamp
impl Display for hyper_util::client::legacy::client::Error
impl Display for InvalidNameError
impl Display for hyper_util::client::legacy::connect::dns::Name
impl Display for hyper::error::Error
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 icu_locale_core::subtags::variant::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 idna::Errors
impl Display for indexmap::TryReserveError
impl Display for InlineString
impl Display for Ipv4Net
impl Display for Ipv6Net
impl Display for PrefixLenError
impl Display for ipnet::parser::AddrParseError
impl Display for CapacityOverflowError
impl Display for iri_string::normalize::error::Error
impl Display for iri_string::template::error::Error
impl Display for UriTemplateString
impl Display for UriTemplateStr
impl Display for iri_string::validate::Error
impl Display for libsqlite3_sys::error::Error
impl Display for log::ParseLevelError
impl Display for SetLoggerError
impl Display for mime::FromStrError
impl Display for Mime
impl Display for native_tls::Error
impl Display for TimeSpec
impl Display for TimeVal
impl Display for MissingPrefixBufError
impl Display for MissingPrefixError
impl Display for ParentError
impl Display for Infix
impl Display for Prefix
impl Display for Suffix
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 Empty
impl Display for ReadError
impl Display for rand_core::error::Error
impl Display for OsError
impl Display for regex_automata::dfa::dense::BuildError
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 resolv_conf::ip::AddrParseError
impl Display for Config
impl Display for Catcher
impl Display for Ident
impl Display for Shutdown
impl Display for N
impl Display for Limits
impl Display for rocket::error::Error
impl Display for rocket::form::error::Error<'_>
impl Display for rocket::form::error::Errors<'_>
impl Display for NameBuf<'_>
impl Display for rocket::form::name::key::Key
impl Display for rocket::form::name::name::Name
impl Display for NameView<'_>
impl Display for Request<'_>
impl Display for Route
impl Display for RouteUri<'_>
impl Display for Accept
impl Display for rocket_http::header::header::Header<'_>
impl Display for MediaType
impl Display for rocket_http::parse::uri::error::Error<'_>
impl Display for RawStr
impl Display for RawStrBuf
impl Display for Status
impl Display for Absolute<'_>
impl Display for Asterisk
impl Display for rocket_http::uri::authority::Authority<'_>
impl Display for TryFromUriError
impl Display for rocket_http::uri::host::Host<'_>
impl Display for Origin<'_>
impl Display for Path<'_>
impl Display for rocket_http::uri::path_query::Query<'_>
impl Display for Reference<'_>
impl Display for rustix::backend::io::errno::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 serde_core::de::value::Error
impl Display for serde_json::error::Error
impl Display for Number
impl Display for PathPersistError
impl Display for tera::errors::Error
impl Display for time::date::Date
impl Display for time::duration::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::time::Time
impl Display for UtcDateTime
impl Display for UtcOffset
impl Display for tinyvec::arrayvec::TryFromSliceError
impl Display for tokio_stream::stream_ext::timeout::Elapsed
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::time::error::Elapsed
impl Display for tokio::time::error::Error
impl Display for toml::de::Error
impl Display for Map<String, Value>
impl Display for toml::ser::Error
impl Display for toml_datetime::datetime::Date
impl Display for Datetime
impl Display for DatetimeParseError
impl Display for toml_datetime::datetime::Time
impl Display for Array
impl Display for ArrayOfTables
impl Display for toml_edit::de::Error
impl Display for DocumentMut
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 InlineTable
impl Display for InternalString
impl Display for toml_edit::key::Key
impl Display for KeyMut<'_>
impl Display for Table
impl Display for InvalidBackoff
impl Display for tower::timeout::error::Elapsed
impl Display for None
impl Display for SetGlobalDefaultError
impl Display for Field
impl Display for FieldSet
impl Display for ValueSet<'_>
impl Display for tracing_core::metadata::Level
impl Display for tracing_core::metadata::ParseLevelError
impl Display for ParseLevelFilterError
impl Display for tracing_subscriber::filter::directive::ParseError
impl Display for Directive
impl Display for BadName
impl Display for EnvFilter
impl Display for FromEnvError
impl Display for Targets
impl Display for tracing_subscriber::reload::Error
impl Display for TryInitError
impl Display for ByteUnit
Display self as best as possible. For perfectly custom display output,
consider using ByteUnit::repr().
§Example
use ubyte::{ByteUnit, ToByteUnit};
assert_eq!(323.kilobytes().to_string(), "323kB");
assert_eq!(3.megabytes().to_string(), "3MB");
assert_eq!(3.mebibytes().to_string(), "3MiB");
assert_eq!((3.mebibytes() + 140.kilobytes()).to_string(), "3.13MiB");
assert_eq!((3.mebibytes() + 2.mebibytes()).to_string(), "5MiB");
assert_eq!((7.gigabytes() + 58.mebibytes() + 3.kilobytes()).to_string(), "7.06GB");
assert_eq!((7.gibibytes() + 920.mebibytes()).to_string(), "7.90GiB");
assert_eq!(7231.kilobytes().to_string(), "6.90MiB");
assert_eq!(format!("{:.0}", 7.gibibytes() + 920.mebibytes()), "8GiB");
assert_eq!(format!("{:.1}", 7.gibibytes() + 920.mebibytes()), "7.9GiB");
assert_eq!(format!("{:.2}", 7.gibibytes() + 920.mebibytes()), "7.90GiB");
assert_eq!(format!("{:.3}", 7.gibibytes() + 920.mebibytes()), "7.898GiB");
assert_eq!(format!("{:.4}", 7.gibibytes() + 920.mebibytes()), "7.8984GiB");
assert_eq!(format!("{:.4}", 7231.kilobytes()), "6.8960MiB");
assert_eq!(format!("{:.0}", 7231.kilobytes()), "7MiB");
assert_eq!(format!("{:.2}", 999.kilobytes() + 990.bytes()), "976.55KiB");
assert_eq!(format!("{:.0}", 999.kilobytes() + 990.bytes()), "1MB");
assert_eq!(format!("{:04.2}", 999.kilobytes() + 990.bytes()), "0976.55KiB");
assert_eq!(format!("{:02.0}", 999.kilobytes() + 990.bytes()), "01MB");
assert_eq!(format!("{:04.0}", 999.kilobytes() + 990.bytes()), "0001MB");impl Display for UncasedStr
impl Display for Uncased<'_>
impl Display for Utf8CharsError
impl Display for uuid::error::Error
impl Display for Braced
impl Display for Hyphenated
impl Display for Simple
impl Display for Urn
impl Display for NonNilUuid
impl Display for Uuid
impl Display for walkdir::error::Error
impl Display for ContextError
impl Display for EmptyError
impl Display for winnow::stream::bstr::BStr
impl Display for Bytes
impl Display for Range
impl Display for tag2upload_service_manager::prelude::io::Error
impl Display for WriterPanicked
impl Display for tag2upload_service_manager::prelude::oneshot::error::RecvError
impl Display for ParseBoolError
impl Display for tag2upload_service_manager::prelude::str::Utf8Error
impl Display for tag2upload_service_manager::prelude::AE
impl Display for Url
Display the serialization of this URL.
impl Display for tag2upload_service_manager::prelude::watch::error::RecvError
impl Display for dyn Expected + '_
impl Display for dyn Value
impl<'a> Display for rocket::serde::json::Error<'a>
impl<'a> Display for Unexpected<'a>
impl<'a> Display for EscapeAscii<'a>
impl<'a> Display for EscapeBytes<'a>
impl<'a> Display for mime::Name<'a>
impl<'a> Display for AnsiGenericString<'a, str>
impl<'a> Display for AnsiGenericStrings<'a, str>
impl<'a> Display for tag2upload_service_manager::prelude::str::EscapeDebug<'a>
impl<'a> Display for tag2upload_service_manager::prelude::str::EscapeDefault<'a>
impl<'a> Display for tag2upload_service_manager::prelude::str::EscapeUnicode<'a>
impl<'a, 'c> Display for cookie::Display<'a, 'c>where
'c: 'a,
impl<'a, 'e, E> Display for Base64Display<'a, 'e, E>where
E: Engine,
impl<'a, I> Display for itertools::format::Format<'a, I>
impl<'a, I, B> Display for DelayedFormat<I>
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, 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 MaybeOwned<'a, T>where
T: Display,
impl<'a, T> Display for MaybeOwnedMut<'a, T>where
T: Display,
impl<'a, T> Display for SpinMutexGuard<'a, T>
impl<'a, T> Display for spin::mutex::MutexGuard<'a, 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<'c> Display for Cookie<'c>
impl<'i, R> Display for Pair<'i, R>where
R: RuleType,
impl<'i, R> Display for Pairs<'i, R>where
R: RuleType,
impl<'s, T> Display for SliceVec<'s, T>where
T: Display,
impl<A> Display for TinyVec<A>
impl<A> Display for ArrayVec<A>
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<C, E> Display for pear::error::ParseError<C, E>
impl<E> Display for DbError<E>where
E: Display,
impl<E> Display for ErrMode<E>where
E: Debug,
impl<E> Display for Report<E>where
E: Error,
impl<E> Display for FormattedFields<E>where
E: ?Sized,
impl<F> Display for FromFn<F>
impl<F> Display for clap_builder::error::Error<F>where
F: ErrorFormatter,
impl<F> Display for PersistError<F>
impl<I> Display for ExactlyOneError<I>where
I: Iterator,
impl<I> Display for InputError<I>
The Display implementation allows the std::error::Error implementation
impl<I> Display for TreeErrorBase<I>where
I: Display,
impl<I> Display for LocatingSlice<I>where
I: Display,
impl<I> Display for Partial<I>where
I: Display,
impl<I, C> Display for TreeError<I, C>
impl<I, C> Display for TreeErrorContext<I, C>
impl<I, E> Display for winnow::error::ParseError<I, E>
impl<I, F> Display for FormatWith<'_, I, F>
impl<I, S> Display for Stateful<I, S>where
I: Display,
impl<K, V, S, A> Display for hashbrown::map::OccupiedError<'_, K, V, S, A>
impl<K, V, S, A> Display for hashbrown::map::OccupiedError<'_, K, V, S, A>
impl<L, R> Display for Either<L, R>
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 &dyn UriDisplay<P>where
P: Part,
impl<P> Display for UdpClientStream<P>
impl<Ptr> Display for Pin<Ptr>where
Ptr: Display,
impl<R> Display for ErrorVariant<R>where
R: RuleType,
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 pest::error::Error<R>where
R: RuleType,
impl<S> Display for native_tls::HandshakeError<S>
impl<S> Display for openssl::ssl::error::HandshakeError<S>where
S: Debug,
impl<S> Display for url::host::Host<S>
impl<S> Display for TcpClientStream<S>where
S: DnsTcpStream,
impl<S> Display for DnsMultiplexer<S>where
S: DnsClientStream + 'static,
impl<S> Display for Built<'_, RiAbsoluteStr<S>>where
S: Spec,
impl<S> Display for Built<'_, RiStr<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 MappedToUri<'_, RiAbsoluteStr<S>>where
S: Spec,
impl<S> Display for MappedToUri<'_, RiFragmentStr<S>>where
S: Spec,
impl<S> Display for MappedToUri<'_, RiStr<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 PasswordMasked<'_, RiAbsoluteStr<S>>where
S: Spec,
impl<S> Display for PasswordMasked<'_, RiStr<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 Normalized<'_, RiAbsoluteStr<S>>where
S: Spec,
impl<S> Display for Normalized<'_, 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 RiStr<S>where
S: Spec,
impl<S> Display for RiString<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, C> Display for Expanded<'_, S, C>
impl<S, D> Display for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
impl<S, D> Display for PasswordReplaced<'_, RiStr<S>, D>
impl<S, D> Display for PasswordReplaced<'_, RiReferenceStr<S>, D>
impl<S, D> Display for PasswordReplaced<'_, RiRelativeStr<S>, D>
impl<S, E, F> Display for rocket::outcome::Outcome<S, E, F>
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.