Trait rocket::mtls::oid::asn1_rs::nom::lib::std::fmt::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 LogLevel

source§

impl Display for Sig

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

source§

impl Display for SameSite

§

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

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

§

impl Display for rocket::mtls::Error

source§

impl Display for Class

source§

impl Display for PEMError

source§

impl Display for X509Error

source§

impl Display for DerConstraint

source§

impl Display for rocket::mtls::oid::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 base64::alphabet::ParseAlphabetError

source§

impl Display for base64::alphabet::ParseAlphabetError

source§

impl Display for base64::decode::DecodeError

source§

impl Display for base64::decode::DecodeError

source§

impl Display for base64::decode::DecodeError

source§

impl Display for base64::decode::DecodeSliceError

source§

impl Display for base64::decode::DecodeSliceError

source§

impl Display for base64::encode::EncodeSliceError

source§

impl Display for base64::encode::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 DecodeKind

source§

impl Display for Actual

source§

impl Display for figment::error::Kind

source§

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.

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 webpki::error::Error

source§

impl Display for rustls::error::Error

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 BernoulliError

source§

impl Display for 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 Catcher

source§

impl Display for Ident

source§

impl Display for SecretKey

source§

impl Display for Shutdown

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 Limits

source§

impl Display for N

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 Request<'_>

source§

impl Display for Route

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 BigInt

source§

impl Display for BigUint

source§

impl Display for ParseBigIntError

§

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

source§

impl Display for Tag

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 ASN1DateTime

source§

impl Display for GeneralizedTime

source§

impl Display for UtcTime

source§

impl Display for rocket::mtls::oid::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::oid::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.36.0 · source§

impl Display for 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 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 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 hkdf::errors::InvalidLength

source§

impl Display for InvalidPrkLength

source§

impl Display for LengthLimitError

source§

impl Display for http::error::Error

source§

impl Display for http::header::map::MaxSizeReached

source§

impl Display for http::header::name::HeaderName

source§

impl Display for http::header::name::InvalidHeaderName

source§

impl Display for http::header::value::InvalidHeaderValue

source§

impl Display for http::header::value::ToStrError

source§

impl Display for http::method::InvalidMethod

source§

impl Display for http::method::Method

source§

impl Display for http::status::InvalidStatusCode

source§

impl Display for http::status::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 http::uri::path::PathAndQuery

source§

impl Display for http::uri::scheme::Scheme

source§

impl Display for http::uri::InvalidUri

source§

impl Display for http::uri::InvalidUriParts

source§

impl Display for http::uri::Uri

source§

impl Display for http::error::Error

source§

impl Display for http::header::map::MaxSizeReached

source§

impl Display for http::header::name::HeaderName

source§

impl Display for http::header::name::InvalidHeaderName

source§

impl Display for http::header::value::InvalidHeaderValue

source§

impl Display for http::header::value::ToStrError

source§

impl Display for http::method::InvalidMethod

source§

impl Display for http::method::Method

source§

impl Display for http::status::InvalidStatusCode

source§

impl Display for http::status::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 http::uri::path::PathAndQuery

source§

impl Display for http::uri::scheme::Scheme

source§

impl Display for http::uri::InvalidUri

source§

impl Display for http::uri::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 num_traits::ParseFloatError

source§

impl Display for KeyRejected

source§

impl Display for Unspecified

source§

impl Display for Errno

source§

impl Display for webpki::subject_name::dns_name::InvalidDnsNameError

source§

impl Display for webpki::subject_name::ip_address::AddrParseError

source§

impl Display for rustls::dns_name::InvalidDnsNameError

source§

impl Display for SignError

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 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 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::Level

source§

impl Display for tracing_core::metadata::LevelFilter

source§

impl Display for tracing_core::metadata::ParseLevelError

source§

impl Display for ParseLevelFilterError

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 ReadError

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::oid::asn1_rs::nom::lib::std::fmt::Error

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 Unexpected<'a>

source§

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

source§

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

1.60.0 · source§

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

1.34.0 · source§

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

1.34.0 · source§

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

1.34.0 · source§

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

source§

impl<'a> Display for base64::display::Base64Display<'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> Display for dyn Expected + 'a

source§

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

source§

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

source§

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

source§

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

source§

impl<'a, K, V> Display for rocket::mtls::oid::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::oid::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, K, V, S, A> Display for hashbrown::map::OccupiedError<'a, K, V, S, A>
where K: Debug, V: Debug, A: Allocator,

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,

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<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 ErrMode<E>
where E: Debug,

source§

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

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::oid::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<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 I16<O>
where O: ByteOrder,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<O> Display for 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<S, E, F> Display for Outcome<S, E, F>

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 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 futures_channel::mpsc::TrySendError<T>

source§

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

source§

impl<T> Display for http::uri::port::Port<T>

source§

impl<T> Display for http::uri::port::Port<T>

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::oid::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>