rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::fmt

Trait Display

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

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

Implementors§

Source§

impl Display for &dyn Show

Source§

impl Display for CliColors

Source§

impl Display for rocket::error::ErrorKind

Source§

impl Display for Entity

Source§

impl Display for rocket::form::error::ErrorKind<'_>

§

impl Display for rocket::http::Method

§

impl Display for ProxyProto<'_>

Source§

impl Display for SameSite

§

impl Display for rocket::http::uri::Uri<'_>

§

impl Display for PathError

Source§

impl Display for Endpoint

Source§

impl Display for rocket::listener::Error

Source§

impl Display for rocket::serde::json::Value

Source§

impl Display for rocket::serde::msgpack::Error

Source§

impl Display for Variant

Source§

impl Display for Feature

Source§

impl Display for Sig

Source§

impl Display for rocket::tls::Error

Available on crate feature tls only.
Source§

impl Display for rocket::mtls::Error

Source§

impl Display for PEMError

Source§

impl Display for X509Error

Source§

impl Display for rocket::mtls::x509::der_parser::asn1_rs::Class

Source§

impl Display for DerConstraint

Source§

impl Display for rocket::mtls::x509::der_parser::asn1_rs::Error

Source§

impl Display for SerializeError

1.34.0 · Source§

impl Display for Infallible

Source§

impl Display for AsciiChar

1.7.0 · Source§

impl Display for IpAddr

1.0.0 · Source§

impl Display for SocketAddr

1.0.0 · Source§

impl Display for VarError

1.60.0 · Source§

impl Display for std::io::error::ErrorKind

1.15.0 · Source§

impl Display for RecvTimeoutError

1.0.0 · Source§

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

Source§

impl Display for ParseAlphabetError

Source§

impl Display for base64::decode::DecodeError

Source§

impl Display for DecodeSliceError

Source§

impl Display for EncodeSliceError

Source§

impl Display for const_oid::error::Error

Source§

impl Display for cookie::parse::ParseError

Source§

impl Display for KeyError

Source§

impl Display for CuckooError

Source§

impl Display for DecodeKind

Source§

impl Display for Actual

Source§

impl Display for figment::error::Kind

Source§

impl Display for figment::metadata::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.

Source§

impl Display for httparse::Error

Source§

impl Display for InlinableString

Source§

impl Display for log::Level

Source§

impl Display for log::LevelFilter

Source§

impl Display for multer::error::Error

Source§

impl Display for rmp_serde::encode::Error

Source§

impl Display for BytesReadError

Source§

impl Display for ValueReadError

Source§

impl Display for rustls_pki_types::pem::Error

Source§

impl Display for webpki::error::Error

Source§

impl Display for EarlyDataError

Source§

impl Display for EncodeError

Source§

impl Display for EncryptError

Source§

impl Display for rustls::error::Error

Source§

impl Display for VerifierBuilderError

Source§

impl Display for DecoderError

Source§

impl Display for s2n_quic_core::connection::error::Error

Source§

impl Display for s2n_quic_core::connection::id::Error

Source§

impl Display for BuilderError

Source§

impl Display for DatagramError

Source§

impl Display for s2n_quic_core::endpoint::Location

Source§

impl Display for EndpointType

Source§

impl Display for s2n_quic_core::inet::ip::SocketAddress

Source§

impl Display for s2n_quic_core::query::Error

Source§

impl Display for StreamError

Source§

impl Display for s2n_quic_platform::bpf::cbpf::Alu

Source§

impl Display for s2n_quic_platform::bpf::cbpf::Class

Source§

impl Display for s2n_quic_platform::bpf::cbpf::Jump

Source§

impl Display for s2n_quic_platform::bpf::cbpf::Mode

Source§

impl Display for s2n_quic_platform::bpf::cbpf::Size

Source§

impl Display for s2n_quic_platform::bpf::common::Source

Source§

impl Display for s2n_quic_platform::bpf::ebpf::Alu

Source§

impl Display for s2n_quic_platform::bpf::ebpf::Class

Source§

impl Display for s2n_quic_platform::bpf::ebpf::Jump

Source§

impl Display for s2n_quic_platform::bpf::ebpf::Mode

Source§

impl Display for s2n_quic_platform::bpf::ebpf::Size

Source§

impl Display for Swap

Source§

impl Display for CollectionAllocErr

Source§

impl Display for time::error::Error

Source§

impl Display for Format

Source§

impl Display for InvalidFormatDescription

Source§

impl Display for Parse

Source§

impl Display for ParseFromDescription

Source§

impl Display for TryFromParsed

Source§

impl Display for Month

Source§

impl Display for Weekday

Source§

impl Display for AnyDelimiterCodecError

Source§

impl Display for LinesCodecError

Source§

impl Display for TryAcquireError

Source§

impl Display for tokio::sync::broadcast::error::RecvError

Source§

impl Display for tokio::sync::broadcast::error::TryRecvError

Source§

impl Display for tokio::sync::mpsc::error::TryRecvError

Source§

impl Display for tokio::sync::oneshot::error::TryRecvError

Source§

impl Display for toml::value::Value

Source§

impl Display for Offset

Source§

impl Display for Item

Source§

impl Display for toml_edit::ser::Error

Source§

impl Display for toml_edit::value::Value

Source§

impl Display for ubyte::parse::Error

Source§

impl Display for winnow::error::ErrorKind

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

Source§

impl Display for StrContext

Source§

impl Display for StrContextValue

Source§

impl Display for rand::distributions::bernoulli::BernoulliError

Source§

impl Display for rand::distributions::bernoulli::BernoulliError

Source§

impl Display for rand::distributions::weighted::WeightedError

Source§

impl Display for rand::distributions::weighted_index::WeightedError

1.0.0 · Source§

impl Display for bool

1.0.0 · Source§

impl Display for char

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

Source§

impl Display for !

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

Source§

impl Display for Ident

Source§

impl Display for rocket::config::Level

Source§

impl Display for SecretKey

Source§

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");
Source§

impl Display for N

Source§

impl Display for Empty

Source§

impl Display for InvalidOption<'_>

Source§

impl Display for rocket::fairing::Kind

Source§

impl Display for rocket::form::name::Key

Source§

impl Display for rocket::form::name::Name

Source§

impl Display for NameBuf<'_>

Source§

impl Display for NameView<'_>

Source§

impl Display for rocket::form::Error<'_>

Source§

impl Display for Errors<'_>

§

impl Display for Accept

§

impl Display for ContentType

§

impl Display for Header<'_>

§

impl Display for MediaType

§

impl Display for RawStr

§

impl Display for RawStrBuf

§

impl Display for Status

Source§

impl Display for Uncased<'_>

Source§

impl Display for UncasedStr

§

impl Display for TryFromUriError

§

impl Display for Absolute<'_>

§

impl Display for Asterisk

§

impl Display for rocket::http::uri::Authority<'_>

§

impl Display for rocket::http::uri::Error<'_>

§

impl Display for Host<'_>

§

impl Display for Origin<'_>

§

impl Display for Path<'_>

§

impl Display for Query<'_>

§

impl Display for Reference<'_>

Source§

impl Display for RouteUri<'_>

Source§

impl Display for Braced

Source§

impl Display for Hyphenated

Source§

impl Display for Simple

Source§

impl Display for Urn

Source§

impl Display for rocket::serde::uuid::Error

Source§

impl Display for Uuid

Source§

impl Display for rocket::Error

Source§

impl Display for rocket::trace::LevelFilter

Source§

impl Display for RequestId

Available on crate feature trace only.
Source§

impl Display for rocket::mtls::Name<'_>

Source§

impl Display for ASN1Time

Source§

impl Display for KeyUsage

Source§

impl Display for NSCertType

Source§

impl Display for ReasonCode

Source§

impl Display for ReasonFlags

Source§

impl Display for X509Version

Source§

impl Display for BigInt

Source§

impl Display for BigUint

Source§

impl Display for ParseBigIntError

Source§

impl Display for ASN1DateTime

Source§

impl Display for GeneralizedTime

Source§

impl Display for Tag

Source§

impl Display for UtcTime

Source§

impl Display for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::alloc::AllocError

1.28.0 · Source§

impl Display for LayoutError

Source§

impl Display for UnorderedKeyError

1.57.0 · Source§

impl Display for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::collections::TryReserveError

1.0.0 · Source§

impl Display for ParseBoolError

1.0.0 · Source§

impl Display for Utf8Error

1.0.0 · Source§

impl Display for FromUtf8Error

1.0.0 · Source§

impl Display for FromUtf16Error

1.0.0 · Source§

impl Display for String

1.58.0 · Source§

impl Display for FromVecWithNulError

1.7.0 · Source§

impl Display for IntoStringError

1.0.0 · Source§

impl Display for NulError

1.35.0 · Source§

impl Display for core::array::TryFromSliceError

1.39.0 · Source§

impl Display for core::ascii::EscapeDefault

1.13.0 · Source§

impl Display for BorrowError

1.13.0 · Source§

impl Display for BorrowMutError

1.34.0 · Source§

impl Display for CharTryFromError

1.20.0 · Source§

impl Display for ParseCharError

1.9.0 · Source§

impl Display for DecodeUtf16Error

1.20.0 · Source§

impl Display for core::char::EscapeDebug

1.16.0 · Source§

impl Display for core::char::EscapeDefault

1.16.0 · Source§

impl Display for core::char::EscapeUnicode

1.16.0 · Source§

impl Display for ToLowercase

1.16.0 · Source§

impl Display for ToUppercase

1.59.0 · Source§

impl Display for TryFromCharError

1.69.0 · Source§

impl Display for FromBytesUntilNulError

1.17.0 · Source§

impl Display for FromBytesWithNulError

1.0.0 · Source§

impl Display for Ipv4Addr

1.0.0 · Source§

impl Display for Ipv6Addr

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

1.4.0 · Source§

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

1.0.0 · Source§

impl Display for SocketAddrV4

1.0.0 · Source§

impl Display for SocketAddrV6

1.0.0 · Source§

impl Display for core::num::dec2flt::ParseFloatError

1.0.0 · Source§

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

1.34.0 · Source§

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

1.26.0 · Source§

impl Display for core::panic::location::Location<'_>

1.26.0 · Source§

impl Display for PanicInfo<'_>

1.81.0 · Source§

impl Display for PanicMessage<'_>

1.66.0 · Source§

impl Display for TryFromFloatSecsError

1.65.0 · Source§

impl Display for Backtrace

1.0.0 · Source§

impl Display for JoinPathsError

Source§

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

1.56.0 · Source§

impl Display for WriterPanicked

1.0.0 · Source§

impl Display for std::io::error::Error

1.26.0 · Source§

impl Display for PanicHookInfo<'_>

1.0.0 · Source§

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

1.7.0 · Source§

impl Display for StripPrefixError

1.0.0 · Source§

impl Display for ExitStatus

Source§

impl Display for ExitStatusError

1.0.0 · Source§

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

1.26.0 · Source§

impl Display for AccessError

1.8.0 · Source§

impl Display for SystemTimeError

Source§

impl Display for aead::Error

Source§

impl Display for allocator_api2::stable::alloc::AllocError

Source§

impl Display for allocator_api2::stable::raw_vec::TryReserveError

Source§

impl Display for aws_lc_rs::error::KeyRejected

Source§

impl Display for aws_lc_rs::error::Unspecified

Source§

impl Display for bitflags::parser::ParseError

Source§

impl Display for block_buffer::Error

Source§

impl Display for OverflowError

Source§

impl Display for StreamCipherError

Source§

impl Display for ObjectIdentifier

Source§

impl Display for CookieBuilder<'_>

Source§

impl Display for crypto_common::InvalidLength

Source§

impl Display for data_encoding::DecodeError

Source§

impl Display for SpecificationError

Source§

impl Display for deranged::ParseIntError

Source§

impl Display for deranged::TryFromIntError

Source§

impl Display for MacError

Source§

impl Display for InvalidBufferSize

Source§

impl Display for InvalidOutputSize

Source§

impl Display for figment::error::Error

Source§

impl Display for OneOf

Source§

impl Display for Profile

Source§

impl Display for futures_channel::mpsc::SendError

Source§

impl Display for futures_channel::mpsc::TryRecvError

Source§

impl Display for Canceled

Source§

impl Display for SpawnError

Source§

impl Display for Aborted

Source§

impl Display for getrandom::error::Error

Source§

impl Display for h2::error::Error

Source§

impl Display for Reason

Source§

impl Display for h3::error::Error

Source§

impl Display for InvalidStreamId

Source§

impl Display for StreamId

Source§

impl Display for hkdf::errors::InvalidLength

Source§

impl Display for InvalidPrkLength

Source§

impl Display for http::error::Error

Source§

impl Display for MaxSizeReached

Source§

impl Display for HeaderName

Source§

impl Display for InvalidHeaderName

Source§

impl Display for InvalidHeaderValue

Source§

impl Display for ToStrError

Source§

impl Display for InvalidMethod

Source§

impl Display for http::method::Method

Source§

impl Display for InvalidStatusCode

Source§

impl Display for StatusCode

Formats the status code, including the canonical reason.

§Example

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

impl Display for http::uri::authority::Authority

Source§

impl Display for PathAndQuery

Source§

impl Display for Scheme

Source§

impl Display for InvalidUri

Source§

impl Display for InvalidUriParts

Source§

impl Display for http::uri::Uri

Source§

impl Display for InvalidChunkSize

Source§

impl Display for HttpDate

Source§

impl Display for httpdate::Error

Source§

impl Display for hyper::error::Error

Source§

impl Display for indexmap::TryReserveError

Source§

impl Display for InlineString

Source§

impl Display for IntoArrayError

Source§

impl Display for NotEqualError

Source§

impl Display for OutIsTooSmallError

Source§

impl Display for log::ParseLevelError

Source§

impl Display for SetLoggerError

Source§

impl Display for FromStrError

Source§

impl Display for Mime

Source§

impl Display for ParseRatioError

Source§

impl Display for num_traits::ParseFloatError

Source§

impl Display for ring::error::KeyRejected

Source§

impl Display for ring::error::Unspecified

Source§

impl Display for Errno

Source§

impl Display for rustls_pki_types::server_name::AddrParseError

Source§

impl Display for InvalidDnsNameError

Source§

impl Display for UnsupportedOperationError

Source§

impl Display for OtherError

Source§

impl Display for s2n_codec::unaligned::TryFromIntError

Source§

impl Display for s2n_codec::zerocopy::I16

Source§

impl Display for s2n_codec::zerocopy::I32

Source§

impl Display for s2n_codec::zerocopy::I64

Source§

impl Display for s2n_codec::zerocopy::I128

Source§

impl Display for s2n_codec::zerocopy::U16

Source§

impl Display for s2n_codec::zerocopy::U32

Source§

impl Display for s2n_codec::zerocopy::U64

Source§

impl Display for s2n_codec::zerocopy::U128

Source§

impl Display for s2n_quic_core::application::error::Error

Source§

impl Display for FillError

Source§

impl Display for s2n_quic_core::crypto::packet_protection::Error

Source§

impl Display for s2n_quic_core::crypto::tls::error::Error

Source§

impl Display for Str

Source§

impl Display for s2n_quic_core::event::Timestamp

Source§

impl Display for FitError

Source§

impl Display for EtherType

Source§

impl Display for MacAddress

Source§

impl Display for Protocol

Source§

impl Display for IpV4Address

Source§

impl Display for SocketAddressV4

Source§

impl Display for IpV6Address

Source§

impl Display for SocketAddressV6

Source§

impl Display for PacketNumber

Source§

impl Display for MtuError

Source§

impl Display for s2n_quic_core::time::timestamp::Timestamp

Source§

impl Display for Code

Source§

impl Display for s2n_quic_core::transport::error::Error

Source§

impl Display for ValidationError

Source§

impl Display for VarInt

Source§

impl Display for VarIntError

Source§

impl Display for MaxSegmentsError

Source§

impl Display for Connect

Source§

impl Display for StartError

Source§

impl Display for serde::de::value::Error

Source§

impl Display for serde_json::error::Error

Source§

impl Display for Number

Source§

impl Display for RawValue

Source§

impl Display for PathPersistError

Source§

impl Display for time::date::Date

Source§

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 ComponentRange

Source§

impl Display for ConversionRange

Source§

impl Display for DifferentVariant

Source§

impl Display for InvalidVariant

Source§

impl Display for OffsetDateTime

Source§

impl Display for PrimitiveDateTime

Source§

impl Display for time::time::Time

Source§

impl Display for UtcOffset

Source§

impl Display for tinyvec::arrayvec::TryFromSliceError

Source§

impl Display for tokio_stream::stream_ext::timeout::Elapsed

Source§

impl Display for LengthDelimitedCodecError

Source§

impl Display for tokio::net::tcp::split_owned::ReuniteError

Source§

impl Display for tokio::net::unix::split_owned::ReuniteError

Source§

impl Display for TryCurrentError

Source§

impl Display for JoinError

Source§

impl Display for Id

Source§

impl Display for AcquireError

Source§

impl Display for tokio::sync::mutex::TryLockError

Source§

impl Display for tokio::sync::oneshot::error::RecvError

Source§

impl Display for tokio::sync::watch::error::RecvError

Source§

impl Display for tokio::time::error::Elapsed

Source§

impl Display for tokio::time::error::Error

Source§

impl Display for toml::de::Error

Source§

impl Display for Map<String, Value>

Source§

impl Display for toml::ser::Error

Source§

impl Display for toml_datetime::datetime::Date

Source§

impl Display for Datetime

Source§

impl Display for DatetimeParseError

Source§

impl Display for toml_datetime::datetime::Time

Source§

impl Display for Array

Source§

impl Display for ArrayOfTables

Source§

impl Display for toml_edit::de::Error

Source§

impl Display for DocumentMut

Source§

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

Source§

impl Display for InlineTable

Source§

impl Display for InternalString

Source§

impl Display for toml_edit::key::Key

Source§

impl Display for Table

Source§

impl Display for SetGlobalDefaultError

Source§

impl Display for Field

Source§

impl Display for FieldSet

Source§

impl Display for tracing_core::metadata::ParseLevelError

Source§

impl Display for ParseLevelFilterError

Source§

impl Display for tracing_subscriber::filter::directive::ParseError

Source§

impl Display for Targets

Source§

impl Display for tracing_subscriber::reload::Error

Source§

impl Display for TryInitError

Source§

impl Display for universal_hash::Error

Source§

impl Display for ContextError

Source§

impl Display for BStr

Source§

impl Display for Bytes

Source§

impl Display for Range

Source§

impl Display for getrandom::error::Error

Source§

impl Display for rand::rngs::adapter::read::ReadError

Source§

impl Display for rand::rngs::adapter::read::ReadError

Source§

impl Display for rand_core::error::Error

Source§

impl Display for rand_core::error::Error

1.0.0 · Source§

impl Display for Arguments<'_>

1.0.0 · Source§

impl Display for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::fmt::Error

§

impl Display for ConnectionError

§

impl Display for ReadError

§

impl Display for SendStreamError

Source§

impl Display for dyn Expected + '_

Source§

impl Display for dyn Value

Source§

impl<'a> Display for rocket::serde::json::Error<'a>

Available on crate feature json only.
Source§

impl<'a> Display for GeneralName<'a>

Source§

impl<'a> Display for s2n_quic_core::event::generated::api::SocketAddress<'a>

Source§

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

Source§

impl<'a> Display for Oid<'a>

Source§

impl<'a> Display for X509Name<'a>

1.60.0 · Source§

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

1.34.0 · Source§

impl<'a> Display for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::str::EscapeDebug<'a>

1.34.0 · Source§

impl<'a> Display for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::str::EscapeDefault<'a>

1.34.0 · Source§

impl<'a> Display for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::str::EscapeUnicode<'a>

Source§

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

Source§

impl<'a> Display for PercentEncode<'a>

Source§

impl<'a> Display for ValueSet<'a>

Source§

impl<'a, 'c> Display for cookie::Display<'a, 'c>
where 'c: 'a,

Source§

impl<'a, 'e, E> Display for Base64Display<'a, 'e, E>
where E: Engine,

Source§

impl<'a, D> Display for Program<'a, D>
where D: Dialect,

Source§

impl<'a, E> Display for DecodeStringError<'a, E>
where E: RmpReadErr,

Source§

impl<'a, K, V> Display for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::collections::hash_map::OccupiedError<'a, K, V>
where K: Debug, V: Debug,

Source§

impl<'a, K, V, A> Display for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::collections::btree_map::OccupiedError<'a, K, V, A>
where K: Debug + Ord, V: Debug, A: Allocator + Clone,

Source§

impl<'a, R, G, T> Display for MappedReentrantMutexGuard<'a, R, G, T>
where R: RawMutex + 'a, G: GetThreadId + 'a, T: Display + 'a + ?Sized,

Source§

impl<'a, R, G, T> Display for ReentrantMutexGuard<'a, R, G, T>
where R: RawMutex + 'a, G: GetThreadId + 'a, T: Display + 'a + ?Sized,

Source§

impl<'a, R, T> Display for lock_api::mutex::MappedMutexGuard<'a, R, T>
where R: RawMutex + 'a, T: Display + 'a + ?Sized,

Source§

impl<'a, R, T> Display for lock_api::mutex::MutexGuard<'a, R, T>
where R: RawMutex + 'a, T: Display + 'a + ?Sized,

Source§

impl<'a, R, T> Display for lock_api::rwlock::MappedRwLockReadGuard<'a, R, T>
where R: RawRwLock + 'a, T: Display + 'a + ?Sized,

Source§

impl<'a, R, T> Display for lock_api::rwlock::MappedRwLockWriteGuard<'a, R, T>
where R: RawRwLock + 'a, T: Display + 'a + ?Sized,

Source§

impl<'a, R, T> Display for lock_api::rwlock::RwLockReadGuard<'a, R, T>
where R: RawRwLock + 'a, T: Display + 'a + ?Sized,

Source§

impl<'a, R, T> Display for RwLockUpgradableReadGuard<'a, R, T>
where R: RawRwLockUpgrade + 'a, T: Display + 'a + ?Sized,

Source§

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

Source§

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

Source§

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

Source§

impl<'a, T> Display for tokio::sync::mutex::MappedMutexGuard<'a, T>
where T: Display + ?Sized,

Source§

impl<'a, T> Display for tokio::sync::rwlock::read_guard::RwLockReadGuard<'a, T>
where T: Display + ?Sized,

Source§

impl<'a, T> Display for tokio::sync::rwlock::write_guard::RwLockWriteGuard<'a, T>
where T: Display + ?Sized,

Source§

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

Source§

impl<'c> Display for Cookie<'c>

Source§

impl<'k> Display for KeyMut<'k>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<A> Display for TinyVec<A>
where A: Array, <A as Array>::Item: Display,

Source§

impl<A> Display for ArrayVec<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,

Source§

impl<C, E> Display for pear::error::ParseError<C, E>
where C: Show, E: Display,

Source§

impl<D> Display for Instruction<D>
where D: Dialect,

Source§

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

Source§

impl<E> Display for NumValueReadError<E>
where E: RmpReadErr,

Source§

impl<E> Display for ValueWriteError<E>
where E: RmpWriteErr,

Source§

impl<E> Display for s2n_quic_core::buffer::error::Error<E>
where E: Display,

Source§

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

Source§

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

Source§

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

Source§

impl<F> Display for PersistError<F>

Source§

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

Source§

impl<I> Display for rocket::mtls::x509::der_parser::asn1_rs::nom::error::Error<I>
where I: Display,

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

Source§

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

Source§

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

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

Source§

impl<I> Display for TreeErrorBase<I>
where I: Stream + Clone + Display,

Source§

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

Source§

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

Source§

impl<I, C> Display for TreeError<I, C>
where I: Stream + Clone + Display, C: Display,

Source§

impl<I, C> Display for TreeErrorContext<I, C>
where I: Stream + Clone + Display, C: Display,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<O> Display for F32<O>
where O: ByteOrder,

Source§

impl<O> Display for F64<O>
where O: ByteOrder,

Source§

impl<O> Display for zerocopy::byteorder::I16<O>
where O: ByteOrder,

Source§

impl<O> Display for zerocopy::byteorder::I32<O>
where O: ByteOrder,

Source§

impl<O> Display for zerocopy::byteorder::I64<O>
where O: ByteOrder,

Source§

impl<O> Display for zerocopy::byteorder::I128<O>
where O: ByteOrder,

Source§

impl<O> Display for zerocopy::byteorder::U16<O>
where O: ByteOrder,

Source§

impl<O> Display for zerocopy::byteorder::U32<O>
where O: ByteOrder,

Source§

impl<O> Display for zerocopy::byteorder::U64<O>
where O: ByteOrder,

Source§

impl<O> Display for zerocopy::byteorder::U128<O>
where O: ByteOrder,

§

impl<P> Display for &dyn UriDisplay<P>
where P: Part,

1.33.0 · Source§

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

Source§

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

1.0.0 · Source§

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

1.0.0 · Source§

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

Source§

impl<T> Display for s2n_quic_core::state::Error<T>
where T: Debug,

Source§

impl<T> Display for tokio::sync::mpsc::error::SendTimeoutError<T>

Source§

impl<T> Display for tokio::sync::mpsc::error::TrySendError<T>

Source§

impl<T> Display for SetError<T>

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,

Source§

impl<T> Display for TryFromBigIntError<T>

Source§

impl<T> Display for ThinBox<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,

1.28.0 · Source§

impl<T> Display for NonZero<T>

1.74.0 · Source§

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

1.10.0 · Source§

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

1.0.0 · Source§

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

Source§

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

1.20.0 · Source§

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

1.0.0 · Source§

impl<T> Display for PoisonError<T>

Source§

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

Source§

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

Source§

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

1.20.0 · Source§

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

1.20.0 · Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<T> Display for futures_channel::mpsc::TrySendError<T>

Source§

impl<T> Display for futures_util::io::split::ReuniteError<T>

Source§

impl<T> Display for Port<T>

Source§

impl<T> Display for Ratio<T>
where T: Display + Clone + Integer,

Source§

impl<T> Display for PollSendError<T>

Source§

impl<T> Display for AsyncFdTryNewError<T>

Source§

impl<T> Display for tokio::sync::broadcast::error::SendError<T>

Source§

impl<T> Display for tokio::sync::mpsc::error::SendError<T>

Source§

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

Source§

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

Source§

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

Source§

impl<T> Display for tokio::sync::watch::error::SendError<T>

Source§

impl<T> Display for Formatted<T>
where T: ValueRepr,

Source§

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

Source§

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

Source§

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

1.0.0 · Source§

impl<T, A> Display for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::boxed::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,

1.0.0 · Source§

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

Source§

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

Source§

impl<T, B> Display for zerocopy::Ref<B, [T]>
where B: ByteSlice, T: FromBytes, [T]: Display,

Source§

impl<T, B> Display for zerocopy::Ref<B, T>
where B: ByteSlice, T: FromBytes + Display,

Source§

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

Source§

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

Source§

impl<T, Item> Display for futures_util::stream::stream::split::ReuniteError<T, Item>

Source§

impl<T, S> Display for Expected<T, S>
where T: Show, S: Show,

Source§

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

Source§

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

Source§

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

Source§

impl<T: Send + Sync + Display + 'static> Display for State<T>

1.0.0 · Source§

impl<W> Display for IntoInnerError<W>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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