pub trait Eq: PartialEq { }
mtls
only.Expand description
Trait for comparisons corresponding to equivalence relations.
The primary difference to PartialEq
is the additional requirement for reflexivity. A type
that implements PartialEq
guarantees that for all a
, b
and c
:
- symmetric:
a == b
impliesb == a
anda != b
implies!(a == b)
- transitive:
a == b
andb == c
impliesa == c
Eq
, which builds on top of PartialEq
also implies:
- reflexive:
a == a
This property cannot be checked by the compiler, and therefore Eq
is a trait without methods.
Violating this property is a logic error. The behavior resulting from a logic error is not
specified, but users of the trait must ensure that such logic errors do not result in
undefined behavior. This means that unsafe
code must not rely on the correctness of these
methods.
Floating point types such as f32
and f64
implement only PartialEq
but not Eq
because NaN
!= NaN
.
§Derivable
This trait can be used with #[derive]
. When derive
d, because Eq
has no extra methods, it
is only informing the compiler that this is an equivalence relation rather than a partial
equivalence relation. Note that the derive
strategy requires all fields are Eq
, which isn’t
always desired.
§How can I implement Eq
?
If you cannot use the derive
strategy, specify that your type implements Eq
, which has no
extra methods:
enum BookFormat {
Paperback,
Hardback,
Ebook,
}
struct Book {
isbn: i32,
format: BookFormat,
}
impl PartialEq for Book {
fn eq(&self, other: &Self) -> bool {
self.isbn == other.isbn
}
}
impl Eq for Book {}
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl Eq for CliColors
impl Eq for Entity
impl Eq for rocket::http::Method
impl Eq for SameSite
impl Eq for StatusClass
impl Eq for PathError
impl Eq for Endpoint
impl Eq for Value
impl Eq for Feature
impl Eq for Sig
impl Eq for rocket::tls::CipherSuite
tls
only.impl Eq for TraceFormat
impl Eq for Sign
impl Eq for ASN1TimeZone
impl Eq for Class
impl Eq for DerConstraint
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::Error
impl Eq for Explicit
impl Eq for Implicit
impl Eq for Length
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::Needed
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::error::ErrorKind
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::number::Endianness
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::collections::TryReserveErrorKind
impl Eq for Infallible
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::fmt::Alignment
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::str::pattern::SearchStep
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::cmp::Ordering
impl Eq for AsciiChar
impl Eq for core::net::ip_addr::IpAddr
impl Eq for Ipv6MulticastScope
impl Eq for SocketAddr
impl Eq for FpCategory
impl Eq for IntErrorKind
impl Eq for core::sync::atomic::Ordering
impl Eq for BacktraceStatus
impl Eq for VarError
impl Eq for std::io::SeekFrom
impl Eq for std::io::error::ErrorKind
impl Eq for Shutdown
impl Eq for BacktraceStyle
impl Eq for RecvTimeoutError
impl Eq for std::sync::mpsc::TryRecvError
impl Eq for allocator_api2::stable::raw_vec::TryReserveErrorKind
impl Eq for TlsProtocolId
impl Eq for AlgorithmId
impl Eq for OperatingMode
impl Eq for BlockCipherId
impl Eq for KeySize
impl Eq for point_conversion_form_t
impl Eq for ParseAlphabetError
impl Eq for base64::decode::DecodeError
impl Eq for DecodeSliceError
impl Eq for EncodeSliceError
impl Eq for DecodePaddingMode
impl Eq for BigEndian
impl Eq for LittleEndian
impl Eq for const_oid::error::Error
impl Eq for Expiration
impl Eq for cookie::parse::ParseError
impl Eq for BitOrder
impl Eq for DecodeKind
impl Eq for CoderResult
impl Eq for DecoderResult
impl Eq for EncoderResult
impl Eq for Latin1Bidi
impl Eq for PollNext
impl Eq for ErrorLevel
impl Eq for hashbrown::TryReserveError
impl Eq for httparse::Error
impl Eq for InlinableString
impl Eq for intrusive_collections::rbtree::Color
impl Eq for fsconfig_command
impl Eq for membarrier_cmd
impl Eq for membarrier_cmd_flag
impl Eq for log::Level
impl Eq for log::LevelFilter
impl Eq for multer::error::Error
impl Eq for OnceState
impl Eq for FilterOp
impl Eq for ParkResult
impl Eq for RequeueOp
impl Eq for BytesMode
impl Eq for Advice
impl Eq for rustix::backend::fs::types::FileType
impl Eq for FlockOperation
impl Eq for rustix::fs::seek_from::SeekFrom
impl Eq for Direction
impl Eq for rustls_pki_types::server_name::IpAddr
impl Eq for ExpirationPolicy
impl Eq for RevocationCheckDepth
impl Eq for UnknownStatusPolicy
impl Eq for RevocationReason
impl Eq for DerTypeId
impl Eq for webpki::error::Error
impl Eq for EchStatus
impl Eq for CompressionLevel
impl Eq for AlertDescription
impl Eq for CertificateCompressionAlgorithm
impl Eq for rustls::enums::CipherSuite
impl Eq for rustls::enums::ContentType
impl Eq for rustls::enums::HandshakeType
impl Eq for ProtocolVersion
impl Eq for SignatureAlgorithm
impl Eq for SignatureScheme
impl Eq for EncryptedClientHelloError
impl Eq for InconsistentKeys
impl Eq for HashAlgorithm
impl Eq for NamedGroup
impl Eq for s2n_quic_core::ack::ranges::Error
impl Eq for s2n_quic_core::connection::error::Error
impl Eq for Classification
impl Eq for s2n_quic_core::connection::id::Interest
impl Eq for s2n_quic_core::crypto::tls::HandshakeType
impl Eq for s2n_quic_core::endpoint::Location
impl Eq for s2n_quic_core::endpoint::Type
impl Eq for s2n_quic_core::endpoint::limits::Outcome
impl Eq for s2n_quic_core::event::generated::api::CipherSuite
impl Eq for s2n_quic_core::event::generated::supervisor::Outcome
impl Eq for Units
impl Eq for AckElicitation
impl Eq for Probe
impl Eq for ExplicitCongestionNotification
impl Eq for IpAddress
impl Eq for SocketAddress
impl Eq for UnicastScope
impl Eq for IntervalSetError
impl Eq for s2n_quic_core::io::tx::Error
impl Eq for PacketNumberSpace
impl Eq for ValidationOutcome
impl Eq for DenyReason
impl Eq for s2n_quic_core::path::migration::Outcome
impl Eq for MtuResult
impl Eq for s2n_quic_core::recovery::loss::Outcome
impl Eq for StreamError
impl Eq for s2n_quic_core::stream::ops::Status
impl Eq for Receiver
impl Eq for Sender
impl Eq for StreamType
impl Eq for s2n_quic_core::task::cooldown::Outcome
impl Eq for Source
impl Eq for Constraint
impl Eq for s2n_quic_core::transmission::interest::Interest
impl Eq for s2n_quic_core::transmission::mode::Mode
impl Eq for SocketType
impl Eq for AmplificationOutcome
impl Eq for Category
impl Eq for stable_pattern::pattern::SearchStep
impl Eq for InvalidFormatDescription
impl Eq for Parse
impl Eq for ParseFromDescription
impl Eq for TryFromParsed
impl Eq for time::format_description::component::Component
impl Eq for MonthRepr
impl Eq for time::format_description::modifier::Padding
impl Eq for SubsecondDigits
impl Eq for UnixTimestampPrecision
impl Eq for WeekNumberRepr
impl Eq for WeekdayRepr
impl Eq for YearRepr
impl Eq for OwnedFormatItem
impl Eq for DateKind
impl Eq for FormattedComponents
impl Eq for OffsetPrecision
impl Eq for TimePrecision
impl Eq for time::month::Month
impl Eq for time::weekday::Weekday
impl Eq for RuntimeFlavor
impl Eq for TryAcquireError
impl Eq for tokio::sync::broadcast::error::RecvError
impl Eq for tokio::sync::broadcast::error::TryRecvError
impl Eq for tokio::sync::mpsc::error::TryRecvError
impl Eq for tokio::sync::oneshot::error::TryRecvError
impl Eq for MissedTickBehavior
impl Eq for Offset
impl Eq for toml_edit::ser::Error
impl Eq for winnow::binary::Endianness
impl Eq for winnow::error::ErrorKind
impl Eq for winnow::error::Needed
impl Eq for StrContext
impl Eq for StrContextValue
impl Eq for CompareResult
impl Eq for Attribute
impl Eq for Quirk
impl Eq for yansi::color::Color
impl Eq for rand::distributions::bernoulli::BernoulliError
impl Eq for rand::distributions::bernoulli::BernoulliError
impl Eq for rand::distributions::weighted::WeightedError
impl Eq for rand::distributions::weighted_index::WeightedError
impl Eq for bool
impl Eq for char
impl Eq for i8
impl Eq for i16
impl Eq for i32
impl Eq for i64
impl Eq for i128
impl Eq for isize
impl Eq for !
impl Eq for str
impl Eq for u8
impl Eq for u16
impl Eq for u32
impl Eq for u64
impl Eq for u128
impl Eq for ()
impl Eq for usize
impl Eq for rocket::config::Level
impl Eq for ByteUnit
impl Eq for rocket::data::Limits
impl Eq for rocket::error::Empty
impl Eq for rocket::form::name::Key
impl Eq for rocket::form::name::Name
impl Eq for NameBuf<'_>
impl Eq for NameView<'_>
impl Eq for Options
impl Eq for rocket::http::ContentType
impl Eq for MediaType
impl Eq for RawStr
impl Eq for RawStrBuf
impl Eq for rocket::http::Status
impl Eq for Uncased<'_>
impl Eq for UncasedStr
impl Eq for TryFromUriError
impl Eq for Absolute<'_>
impl Eq for Asterisk
impl Eq for rocket::http::uri::Authority<'_>
impl Eq for Host<'_>
impl Eq for Origin<'_>
impl Eq for rocket::http::uri::Path<'_>
impl Eq for Query<'_>
impl Eq for Reference<'_>
impl Eq for Event
impl Eq for Braced
impl Eq for Hyphenated
impl Eq for Simple
impl Eq for Urn
impl Eq for rocket::serde::uuid::Error
impl Eq for Uuid
impl Eq for rocket::trace::LevelFilter
impl Eq for RequestId
trace
only.impl Eq for ASN1Time
impl Eq for BasicConstraints
impl Eq for ChallengePassword
impl Eq for CtVersion
impl Eq for InhibitAnyPolicy
impl Eq for KeyUsage
impl Eq for NSCertType
impl Eq for NidError
impl Eq for Pem
impl Eq for PolicyConstraints
impl Eq for ReasonCode
impl Eq for ReasonFlags
impl Eq for Validity
impl Eq for X509Version
impl Eq for BigInt
impl Eq for BigUint
impl Eq for ParseBigIntError
impl Eq for ASN1DateTime
impl Eq for BerClassFromIntError
impl Eq for Boolean
impl Eq for Enumerated
impl Eq for GeneralizedTime
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::Header<'_>
impl Eq for Null
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::Tag
impl Eq for UtcTime
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::alloc::AllocError
impl Eq for Layout
impl Eq for LayoutError
impl Eq for UnorderedKeyError
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::collections::TryReserveError
impl Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::fmt::Error
impl Eq for Assume
impl Eq for RangeFull
impl Eq for ParseBoolError
impl Eq for Utf8Error
impl Eq for FromUtf8Error
impl Eq for String
impl Eq for untrusted::reader::EndOfInput
impl Eq for untrusted::EndOfInput
impl Eq for CString
impl Eq for FromVecWithNulError
impl Eq for IntoStringError
impl Eq for NulError
impl Eq for TypeId
impl Eq for CharTryFromError
impl Eq for ParseCharError
impl Eq for DecodeUtf16Error
impl Eq for TryFromCharError
impl Eq for CpuidResult
impl Eq for CStr
impl Eq for FromBytesUntilNulError
impl Eq for FromBytesWithNulError
impl Eq for PhantomPinned
impl Eq for core::net::ip_addr::Ipv4Addr
impl Eq for core::net::ip_addr::Ipv6Addr
impl Eq for core::net::parser::AddrParseError
impl Eq for SocketAddrV4
impl Eq for SocketAddrV6
impl Eq for ParseFloatError
impl Eq for core::num::error::ParseIntError
impl Eq for core::num::error::TryFromIntError
impl Eq for core::ptr::alignment::Alignment
impl Eq for core::time::Duration
impl Eq for TryFromFloatSecsError
impl Eq for OsStr
impl Eq for OsString
impl Eq for std::fs::FileType
impl Eq for Permissions
impl Eq for std::os::unix::net::ucred::UCred
impl Eq for Components<'_>
impl Eq for std::path::Path
impl Eq for PathBuf
impl Eq for StripPrefixError
impl Eq for ExitStatus
impl Eq for ExitStatusError
impl Eq for Output
impl Eq for std::sync::condvar::WaitTimeoutResult
impl Eq for std::sync::mpsc::RecvError
impl Eq for AccessError
impl Eq for ThreadId
impl Eq for std::time::Instant
impl Eq for std::time::SystemTime
impl Eq for aead::Error
impl Eq for allocator_api2::stable::alloc::AllocError
impl Eq for allocator_api2::stable::raw_vec::TryReserveError
impl Eq for aws_lc_rs::aead::quic::Algorithm
impl Eq for aws_lc_rs::aead::Algorithm
impl Eq for aws_lc_rs::agreement::Algorithm
impl Eq for aws_lc_rs::cipher::Algorithm
impl Eq for aws_lc_rs::digest::Algorithm
impl Eq for aws_lc_rs::ec::EcdsaSigningAlgorithm
impl Eq for EcdsaVerificationAlgorithm
impl Eq for Unspecified
impl Eq for aws_lc_rs::hkdf::Algorithm
impl Eq for aws_lc_rs::hmac::Algorithm
impl Eq for aws_lc_rs::pbkdf2::Algorithm
impl Eq for ACCESS_DESCRIPTION_st
impl Eq for ASN1_ADB_TABLE_st
impl Eq for ASN1_ADB_st
impl Eq for ASN1_AUX_st
impl Eq for ASN1_EXTERN_FUNCS_st
impl Eq for ASN1_ITEM_st
impl Eq for ASN1_TEMPLATE_st
impl Eq for AUTHORITY_KEYID_st
impl Eq for BASIC_CONSTRAINTS_st
impl Eq for CRYPTO_dynlock
impl Eq for CRYPTO_dynlock_value
impl Eq for DES_cblock_st
impl Eq for DES_ks
impl Eq for DIST_POINT_st
impl Eq for DSA_SIG_st
impl Eq for EC_builtin_curve
impl Eq for EDIPartyName_st
impl Eq for GENERAL_SUBTREE_st
impl Eq for HRSS_private_key
impl Eq for HRSS_public_key
impl Eq for ISSUING_DIST_POINT_st
impl Eq for NAME_CONSTRAINTS_st
impl Eq for NOTICEREF_st
impl Eq for Netscape_spkac_st
impl Eq for Netscape_spki_st
impl Eq for POLICYINFO_st
impl Eq for POLICY_CONSTRAINTS_st
impl Eq for POLICY_MAPPING_st
impl Eq for RIPEMD160state_st
impl Eq for USERNOTICE_st
impl Eq for X509_algor_st
impl Eq for X509_info_st
impl Eq for _IO_FILE
impl Eq for __va_list_tag
impl Eq for aes_key_st
impl Eq for asn1_string_st
impl Eq for bf_key_st
impl Eq for bignum_st
impl Eq for bio_method_st
impl Eq for bio_st
impl Eq for blake2b_state_st
impl Eq for bn_mont_ctx_st
impl Eq for buf_mem_st
impl Eq for cbb_buffer_st
impl Eq for cbb_child_st
impl Eq for cbs_st
impl Eq for conf_value_st
impl Eq for crypto_ex_data_st
impl Eq for ecdsa_sig_st
impl Eq for env_md_ctx_st
impl Eq for evp_cipher_ctx_st
impl Eq for evp_cipher_info_st
impl Eq for evp_encode_ctx_st
impl Eq for evp_hpke_key_st
impl Eq for md4_state_st
impl Eq for md5_state_st
impl Eq for obj_name_st
impl Eq for otherName_st
impl Eq for pkcs7_signed_st
impl Eq for private_key_st
impl Eq for rand_meth_st
impl Eq for rc4_key_st
impl Eq for rsa_pss_params_st
impl Eq for sha256_state_st
impl Eq for sha512_state_st
impl Eq for sha_state_st
impl Eq for tm
impl Eq for trust_token_st
impl Eq for v3_ext_ctx
impl Eq for v3_ext_method
impl Eq for x509_purpose_st
impl Eq for x509_trust_st
impl Eq for Alphabet
impl Eq for DecodeMetadata
impl Eq for block_buffer::Error
impl Eq for bytes::bytes::Bytes
impl Eq for BytesMut
impl Eq for ObjectIdentifier
impl Eq for InvalidLength
impl Eq for data_encoding::DecodeError
impl Eq for DecodePartial
impl Eq for data_encoding::Encoding
impl Eq for deranged::ParseIntError
impl Eq for deranged::TryFromIntError
impl Eq for MacError
impl Eq for InvalidBufferSize
impl Eq for encoding_rs::Encoding
impl Eq for Rng
impl Eq for Profile
impl Eq for figment::value::tag::Tag
impl Eq for futures_channel::mpsc::SendError
impl Eq for Canceled
impl Eq for Aborted
impl Eq for getrandom::error::Error
impl Eq for h2::ext::Protocol
impl Eq for Reason
impl Eq for h2::share::StreamId
impl Eq for h3::error::Code
impl Eq for h3::proto::stream::StreamId
impl Eq for HeaderName
impl Eq for HeaderValue
impl Eq for http::method::Method
impl Eq for StatusCode
impl Eq for http::uri::authority::Authority
impl Eq for PathAndQuery
impl Eq for Scheme
impl Eq for Uri
impl Eq for Version
impl Eq for InvalidChunkSize
impl Eq for HttpDate
impl Eq for ReasonPhrase
impl Eq for hyper::ext::Protocol
impl Eq for indexmap::TryReserveError
impl Eq for InlineString
impl Eq for __kernel_timespec
impl Eq for ParseLevelError
impl Eq for Mime
impl Eq for mio::interest::Interest
impl Eq for mio::token::Token
impl Eq for parking_lot::condvar::WaitTimeoutResult
impl Eq for ParkToken
impl Eq for UnparkResult
impl Eq for UnparkToken
impl Eq for ring::aead::quic::Algorithm
impl Eq for ring::aead::Algorithm
impl Eq for ring::agreement::Algorithm
impl Eq for ring::digest::Algorithm
impl Eq for ring::ec::suite_b::ecdsa::signing::EcdsaSigningAlgorithm
impl Eq for ring::hkdf::Algorithm
impl Eq for ring::hmac::Algorithm
impl Eq for ring::pbkdf2::Algorithm
impl Eq for ByteBuf
impl Eq for CreateFlags
impl Eq for ReadFlags
impl Eq for WatchFlags
impl Eq for Access
impl Eq for AtFlags
impl Eq for FallocateFlags
impl Eq for MemfdFlags
impl Eq for rustix::backend::fs::types::Mode
impl Eq for OFlags
impl Eq for RenameFlags
impl Eq for ResolveFlags
impl Eq for SealFlags
impl Eq for StatVfsMountFlags
impl Eq for StatxFlags
impl Eq for Errno
impl Eq for DupFlags
impl Eq for FdFlags
impl Eq for ReadWriteFlags
impl Eq for MountFlags
impl Eq for MountPropagationFlags
impl Eq for UnmountFlags
impl Eq for XattrFlags
impl Eq for Opcode
impl Eq for Gid
impl Eq for Uid
impl Eq for rustls_pki_types::server_name::AddrParseError
impl Eq for rustls_pki_types::server_name::Ipv4Addr
impl Eq for rustls_pki_types::server_name::Ipv6Addr
impl Eq for AlgorithmIdentifier
impl Eq for UnixTime
impl Eq for IoState
impl Eq for UnsupportedOperationError
impl Eq for HpkeSuite
impl Eq for SupportedProtocolVersion
impl Eq for s2n_codec::unaligned::TryFromIntError
impl Eq for i24
impl Eq for i48
impl Eq for u24
impl Eq for u48
impl Eq for s2n_codec::zerocopy::I16
impl Eq for s2n_codec::zerocopy::I32
impl Eq for s2n_codec::zerocopy::I64
impl Eq for s2n_codec::zerocopy::I128
impl Eq for s2n_codec::zerocopy::U16
impl Eq for s2n_codec::zerocopy::U32
impl Eq for s2n_codec::zerocopy::U64
impl Eq for s2n_codec::zerocopy::U128
impl Eq for Transmission
impl Eq for s2n_quic_core::application::error::Error
impl Eq for s2n_quic_core::application::server_name::ServerName
impl Eq for InitialId
impl Eq for LocalId
impl Eq for PeerId
impl Eq for UnboundedId
impl Eq for s2n_quic_core::crypto::packet_protection::Error
impl Eq for s2n_quic_core::crypto::tls::error::Error
impl Eq for EcnCounts
impl Eq for DataBlocked
impl Eq for HandshakeDone
impl Eq for MaxData
impl Eq for MaxStreamData
impl Eq for MaxStreams
impl Eq for s2n_quic_core::frame::padding::Padding
impl Eq for Ping
impl Eq for ResetStream
impl Eq for RetireConnectionId
impl Eq for StopSending
impl Eq for StreamDataBlocked
impl Eq for StreamsBlocked
impl Eq for EtherType
impl Eq for s2n_quic_core::inet::ethernet::Header
impl Eq for MacAddress
impl Eq for s2n_quic_core::inet::ip::Protocol
impl Eq for FlagFragment
impl Eq for s2n_quic_core::inet::ipv4::Header
impl Eq for IpV4Address
impl Eq for SocketAddressV4
impl Eq for Tos
impl Eq for Vihl
impl Eq for s2n_quic_core::inet::ipv6::Header
impl Eq for IpV6Address
impl Eq for SocketAddressV6
impl Eq for Vtcfl
impl Eq for s2n_quic_core::inet::udp::Header
impl Eq for PacketNumber
impl Eq for PacketNumberLen
impl Eq for PacketNumberRange
impl Eq for ProtectedPacketNumber
impl Eq for TruncatedPacketNumber
impl Eq for MtuError
impl Eq for s2n_quic_core::path::Id
impl Eq for s2n_quic_core::path::LocalAddress
impl Eq for s2n_quic_core::path::RemoteAddress
impl Eq for s2n_quic_core::path::Tuple
impl Eq for Bandwidth
impl Eq for PacketInfo
impl Eq for RttEstimator
impl Eq for s2n_quic_core::stateless_reset::token::Token
impl Eq for s2n_quic_core::stream::id::StreamId
impl Eq for s2n_quic_core::stream::limits::Limits
impl Eq for LocalBidirectional
impl Eq for LocalUnidirectional
impl Eq for MaxSendBufferSize
impl Eq for s2n_quic_core::stream::ops::rx::Response
impl Eq for s2n_quic_core::stream::ops::Bytes
impl Eq for Chunks
impl Eq for s2n_quic_core::stream::ops::Response
impl Eq for s2n_quic_core::stream::ops::tx::Response
impl Eq for Timer
impl Eq for s2n_quic_core::time::timestamp::Timestamp
impl Eq for s2n_quic_core::transport::error::Code
impl Eq for s2n_quic_core::transport::error::Error
impl Eq for AckDelayExponent
impl Eq for ActiveConnectionIdLimit
impl Eq for DcSupportedVersions
impl Eq for InitialMaxData
impl Eq for InitialMaxStreamDataBidiLocal
impl Eq for InitialMaxStreamDataBidiRemote
impl Eq for InitialMaxStreamDataUni
impl Eq for InitialMaxStreamsBidi
impl Eq for InitialMaxStreamsUni
impl Eq for InitialSourceConnectionId
impl Eq for MaxAckDelay
impl Eq for MaxDatagramFrameSize
impl Eq for MaxIdleTimeout
impl Eq for MaxUdpPayloadSize
impl Eq for OriginalDestinationConnectionId
impl Eq for RetrySourceConnectionId
impl Eq for ZeroRttParameters
impl Eq for VarInt
impl Eq for s2n_quic_core::xdp::path::LocalAddress
impl Eq for s2n_quic_core::xdp::path::RemoteAddress
impl Eq for s2n_quic_core::xdp::path::Tuple
impl Eq for Handle
impl Eq for Connect
impl Eq for Map<String, Value>
impl Eq for Number
impl Eq for SigId
impl Eq for SockAddr
impl Eq for Domain
impl Eq for socket2::Protocol
impl Eq for RecvFlags
impl Eq for socket2::Type
impl Eq for time::date::Date
impl Eq for time::duration::Duration
impl Eq for ComponentRange
impl Eq for ConversionRange
impl Eq for DifferentVariant
impl Eq for InvalidVariant
impl Eq for Day
impl Eq for End
impl Eq for Hour
impl Eq for Ignore
impl Eq for Minute
impl Eq for time::format_description::modifier::Month
impl Eq for OffsetHour
impl Eq for OffsetMinute
impl Eq for OffsetSecond
impl Eq for Ordinal
impl Eq for Period
impl Eq for Second
impl Eq for Subsecond
impl Eq for UnixTimestamp
impl Eq for WeekNumber
impl Eq for time::format_description::modifier::Weekday
impl Eq for Year
impl Eq for Rfc2822
impl Eq for Rfc3339
impl Eq for time::instant::Instant
impl Eq for OffsetDateTime
impl Eq for PrimitiveDateTime
impl Eq for time::time::Time
impl Eq for UtcOffset
impl Eq for tokio_stream::stream_ext::timeout::Elapsed
impl Eq for AnyDelimiterCodec
impl Eq for BytesCodec
impl Eq for LinesCodec
impl Eq for tokio::io::interest::Interest
impl Eq for Ready
impl Eq for tokio::net::unix::ucred::UCred
impl Eq for tokio::runtime::task::id::Id
impl Eq for SignalKind
impl Eq for tokio::sync::oneshot::error::RecvError
impl Eq for tokio::time::error::Elapsed
impl Eq for tokio::time::instant::Instant
impl Eq for toml::de::Error
impl Eq for toml::ser::Error
impl Eq for toml_datetime::datetime::Date
impl Eq for Datetime
impl Eq for toml_datetime::datetime::Time
impl Eq for toml_edit::de::Error
impl Eq for TomlError
impl Eq for InternalString
impl Eq for toml_edit::key::Key
impl Eq for RawString
impl Eq for Decor
impl Eq for Repr
impl Eq for Identifier
impl Eq for tracing_core::field::Empty
impl Eq for Field
impl Eq for FieldSet
impl Eq for Kind
impl Eq for tracing_core::span::Id
impl Eq for Compact
impl Eq for FmtSpan
impl Eq for Full
impl Eq for tracing_subscriber::fmt::time::SystemTime
impl Eq for Uptime
impl Eq for ATerm
impl Eq for B0
impl Eq for B1
impl Eq for Z0
impl Eq for Equal
impl Eq for Greater
impl Eq for Less
impl Eq for UTerm
impl Eq for universal_hash::Error
impl Eq for uuid::timestamp::Timestamp
impl Eq for BStr
impl Eq for winnow::stream::Bytes
impl Eq for winnow::stream::Range
impl Eq for Condition
impl Eq for Style
impl Eq for getrandom::error::Error
impl Eq for StepRng
impl Eq for SmallRng
impl Eq for StdRng
impl Eq for ChaCha8Core
impl Eq for ChaCha8Rng
impl Eq for ChaCha12Core
impl Eq for ChaCha12Rng
impl Eq for ChaCha20Core
impl Eq for ChaCha20Rng
impl Eq for vec128_storage
impl Eq for vec256_storage
impl Eq for vec512_storage
impl<'a> Eq for ProxyProto<'a>
impl<'a> Eq for PublicKey<'a>
impl<'a> Eq for PdvIdentification<'a>
impl<'a> Eq for Utf8Pattern<'a>
impl<'a> Eq for std::path::Component<'a>
impl<'a> Eq for Prefix<'a>
impl<'a> Eq for PrivateKeyDer<'a>
impl<'a> Eq for rustls_pki_types::server_name::ServerName<'a>
impl<'a> Eq for IpAddressRef<'a>
impl<'a> Eq for SocketAddressRef<'a>
impl<'a> Eq for BorrowedFormatItem<'a>
impl<'a> Eq for CertificateDer<'a>
impl<'a> Eq for Oid<'a>
impl<'a> Eq for ECPoint<'a>
impl<'a> Eq for RSAPublicKey<'a>
impl<'a> Eq for EcdsaSigValue<'a>
impl<'a> Eq for CtExtensions<'a>
impl<'a> Eq for CtLogID<'a>
impl<'a> Eq for DigitallySigned<'a>
impl<'a> Eq for ExtendedKeyUsage<'a>
impl<'a> Eq for KeyIdentifier<'a>
impl<'a> Eq for PolicyInformation<'a>
impl<'a> Eq for PolicyMapping<'a>
impl<'a> Eq for PolicyMappings<'a>
impl<'a> Eq for PolicyQualifierInfo<'a>
impl<'a> Eq for SignedCertificateTimestamp<'a>
impl<'a> Eq for UniqueIdentifier<'a>
impl<'a> Eq for Any<'a>
impl<'a> Eq for BitString<'a>
impl<'a> Eq for BmpString<'a>
impl<'a> Eq for EmbeddedPdv<'a>
impl<'a> Eq for GeneralString<'a>
impl<'a> Eq for GraphicString<'a>
impl<'a> Eq for Ia5String<'a>
impl<'a> Eq for Integer<'a>
impl<'a> Eq for NumericString<'a>
impl<'a> Eq for ObjectDescriptor<'a>
impl<'a> Eq for OctetString<'a>
impl<'a> Eq for PrintableString<'a>
impl<'a> Eq for Sequence<'a>
impl<'a> Eq for TeletexString<'a>
impl<'a> Eq for UniversalString<'a>
impl<'a> Eq for Utf8String<'a>
impl<'a> Eq for VideotexString<'a>
impl<'a> Eq for VisibleString<'a>
impl<'a> Eq for Utf8Chunk<'a>
impl<'a> Eq for Input<'a>
impl<'a> Eq for core::panic::location::Location<'a>
impl<'a> Eq for PrefixComponent<'a>
impl<'a> Eq for httparse::Header<'a>
impl<'a> Eq for log::Metadata<'a>
impl<'a> Eq for MetadataBuilder<'a>
impl<'a> Eq for mime::Name<'a>
impl<'a> Eq for Span<'a>
impl<'a> Eq for rmp::decode::bytes::Bytes<'a>
impl<'a> Eq for DnsName<'a>
impl<'a> Eq for CertificateRevocationListDer<'a>
impl<'a> Eq for CertificateSigningRequestDer<'a>
impl<'a> Eq for Der<'a>
impl<'a> Eq for EchConfigListBytes<'a>
impl<'a> Eq for PrivatePkcs1KeyDer<'a>
impl<'a> Eq for PrivatePkcs8KeyDer<'a>
impl<'a> Eq for PrivateSec1KeyDer<'a>
impl<'a> Eq for SubjectPublicKeyInfoDer<'a>
impl<'a> Eq for TrustAnchor<'a>
impl<'a> Eq for FfdheGroup<'a>
impl<'a> Eq for DecoderBuffer<'a>
impl<'a> Eq for DecoderBufferMut<'a>
impl<'a> Eq for EncoderBuffer<'a>
impl<'a> Eq for EncryptedPayload<'a>
impl<'a> Eq for ProtectedPayload<'a>
impl<'a> Eq for ConnectionClose<'a>
impl<'a> Eq for DcStatelessResetTokens<'a>
impl<'a> Eq for NewConnectionId<'a>
impl<'a> Eq for NewToken<'a>
impl<'a> Eq for PathChallenge<'a>
impl<'a> Eq for PathResponse<'a>
impl<'a> Eq for tracing_core::metadata::Metadata<'a>
impl<'a, 'b> Eq for MaskGenAlgorithm<'a, 'b>
impl<'a, 'b> Eq for Builder<'a, 'b>
impl<'a, AckRanges, Data> Eq for Frame<'a, AckRanges, Data>
impl<'a, SupportedVersions> Eq for VersionNegotiation<'a, SupportedVersions>where
SupportedVersions: Eq,
impl<'a, TagKind, T, E> Eq for TaggedParser<'a, TagKind, T, E>
impl<'h> Eq for rocket::http::Header<'h>
impl<'headers, 'buf> Eq for Request<'headers, 'buf>
impl<'headers, 'buf> Eq for httparse::Response<'headers, 'buf>
impl<'k> Eq for KeyMut<'k>
impl<'s, T> Eq for SliceVec<'s, T>where
T: Eq,
impl<A> Eq for TinyVec<A>
impl<A> Eq for &A
impl<A> Eq for &mut A
impl<A> Eq for ExtendedGcd<A>where
A: Eq,
impl<A> Eq for Aad<A>where
A: Eq,
impl<A> Eq for SmallVec<A>
impl<A> Eq for ArrayVec<A>
impl<A, B> Eq for figment::value::magic::Either<A, B>
impl<A, B> Eq for EitherWriter<A, B>
impl<A, B> Eq for OrElse<A, B>
impl<A, B> Eq for Tee<A, B>
impl<AckRanges> Eq for Ack<AckRanges>where
AckRanges: Eq,
impl<B> Eq for Cow<'_, B>
impl<B, C> Eq for ControlFlow<B, C>
impl<Data> Eq for Crypto<Data>where
Data: Eq,
impl<Data> Eq for Datagram<Data>where
Data: Eq,
impl<Data> Eq for Stream<Data>where
Data: Eq,
impl<Dyn> Eq for DynMetadata<Dyn>where
Dyn: ?Sized,
impl<E> Eq for Err<E>where
E: Eq,
impl<E> Eq for s2n_quic_core::buffer::error::Error<E>where
E: Eq,
impl<E> Eq for ErrMode<E>where
E: Eq,
impl<F> Eq for Fwhere
F: FnPtr,
impl<H> Eq for BuildHasherDefault<H>
impl<I> Eq for InputError<I>
impl<I> Eq for Located<I>where
I: Eq,
impl<I> Eq for Partial<I>where
I: Eq,
impl<I, E> Eq for winnow::error::ParseError<I, E>
impl<I, S> Eq for Stateful<I, S>
impl<Idx> Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::ops::Range<Idx>where
Idx: Eq,
impl<Idx> Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::ops::RangeFrom<Idx>where
Idx: Eq,
impl<Idx> Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::ops::RangeInclusive<Idx>where
Idx: Eq,
impl<Idx> Eq for RangeTo<Idx>where
Idx: Eq,
impl<Idx> Eq for RangeToInclusive<Idx>where
Idx: Eq,
impl<Idx> Eq for core::range::Range<Idx>where
Idx: Eq,
impl<Idx> Eq for core::range::RangeFrom<Idx>where
Idx: Eq,
impl<Idx> Eq for core::range::RangeInclusive<Idx>where
Idx: Eq,
impl<K, V> Eq for indexmap::map::slice::Slice<K, V>
impl<K, V, A> Eq for BTreeMap<K, V, A>
impl<K, V, S> Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::collections::HashMap<K, V, S>
impl<K, V, S> Eq for IndexMap<K, V, S>
impl<K, V, S, A> Eq for hashbrown::map::HashMap<K, V, S, A>
impl<L, R> Eq for either::Either<L, R>
impl<M> Eq for WithMaxLevel<M>where
M: Eq,
impl<M> Eq for WithMinLevel<M>where
M: Eq,
impl<M, F> Eq for WithFilter<M, F>
impl<O> Eq for F32<O>where
O: Eq,
impl<O> Eq for F64<O>where
O: Eq,
impl<O> Eq for zerocopy::byteorder::I16<O>where
O: Eq,
impl<O> Eq for zerocopy::byteorder::I32<O>where
O: Eq,
impl<O> Eq for zerocopy::byteorder::I64<O>where
O: Eq,
impl<O> Eq for zerocopy::byteorder::I128<O>where
O: Eq,
impl<O> Eq for zerocopy::byteorder::U16<O>where
O: Eq,
impl<O> Eq for zerocopy::byteorder::U32<O>where
O: Eq,
impl<O> Eq for zerocopy::byteorder::U64<O>where
O: Eq,
impl<O> Eq for zerocopy::byteorder::U128<O>where
O: Eq,
impl<PacketInfo> Eq for SentPacketInfo<PacketInfo>where
PacketInfo: Eq,
impl<Ptr> Eq for Pin<Ptr>
impl<S: Eq, E: Eq, F: Eq> Eq for rocket::outcome::Outcome<S, E, F>
impl<Storage> Eq for aws_lc_sys::x86_64_unknown_linux_gnu_crypto::__BindgenBitfieldUnit<Storage>where
Storage: Eq,
impl<Storage> Eq for linux_raw_sys::general::__BindgenBitfieldUnit<Storage>where
Storage: Eq,
impl<T> Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::ops::Bound<T>where
T: Eq,
impl<T> Eq for Option<T>where
T: Eq,
impl<T> Eq for Poll<T>where
T: Eq,
impl<T> Eq for std::sync::mpmc::error::SendTimeoutError<T>where
T: Eq,
impl<T> Eq for std::sync::mpsc::TrySendError<T>where
T: Eq,
impl<T> Eq for httparse::Status<T>where
T: Eq,
impl<T> Eq for intrusive_collections::Bound<T>where
T: Eq,
impl<T> Eq for s2n_quic_core::state::Error<T>where
T: Eq,
impl<T> Eq for tokio::sync::mpsc::error::SendTimeoutError<T>where
T: Eq,
impl<T> Eq for tokio::sync::mpsc::error::TrySendError<T>where
T: Eq,
impl<T> Eq for SetError<T>where
T: Eq,
impl<T> Eq for *const Twhere
T: ?Sized,
impl<T> Eq for *mut Twhere
T: ?Sized,
impl<T> Eq for [T]where
T: Eq,
impl<T> Eq for (T₁, T₂, …, Tₙ)
This trait is implemented for tuples up to twelve items long.
impl<T> Eq for BasicExtension<T>where
T: Eq,
impl<T> Eq for TryFromBigIntError<T>where
T: Eq,
impl<T> Eq for Discriminant<T>
impl<T> Eq for ManuallyDrop<T>
impl<T> Eq for core::cell::once::OnceCell<T>where
T: Eq,
impl<T> Eq for Cell<T>
impl<T> Eq for RefCell<T>
impl<T> Eq for PhantomData<T>where
T: ?Sized,
impl<T> Eq for NonZero<T>where
T: ZeroablePrimitive + Eq,
impl<T> Eq for Saturating<T>where
T: Eq,
impl<T> Eq for Wrapping<T>where
T: Eq,
impl<T> Eq for NonNull<T>where
T: ?Sized,
impl<T> Eq for Cursor<T>where
T: Eq,
impl<T> Eq for std::sync::mpsc::SendError<T>where
T: Eq,
impl<T> Eq for OnceLock<T>where
T: Eq,
impl<T> Eq for CachePadded<T>where
T: Eq,
impl<T> Eq for CtOutput<T>where
T: OutputSizeUser,
impl<T> Eq for futures_channel::mpsc::TrySendError<T>where
T: Eq,
impl<T> Eq for AllowStdIo<T>where
T: Eq,
impl<T> Eq for HeaderMap<T>where
T: Eq,
impl<T> Eq for indexmap::set::slice::Slice<T>where
T: Eq,
impl<T> Eq for Ratio<T>
impl<T> Eq for once_cell::sync::OnceCell<T>where
T: Eq,
impl<T> Eq for once_cell::unsync::OnceCell<T>where
T: Eq,
impl<T> Eq for Extent<T>where
T: Eq,
impl<T> Eq for Interval<T>where
T: Eq,
impl<T> Eq for IntervalSet<T>where
T: Eq,
impl<T> Eq for DisabledParameter<T>where
T: Eq,
impl<T> Eq for Spanned<T>where
T: Eq,
impl<T> Eq for tokio::sync::mpsc::error::SendError<T>where
T: Eq,
impl<T> Eq for tokio::sync::once_cell::OnceCell<T>where
T: Eq,
impl<T> Eq for tokio::sync::watch::error::SendError<T>where
T: Eq,
impl<T> Eq for Formatted<T>where
T: Eq,
impl<T> Eq for Unalign<T>
impl<T> Eq for Reverse<T>where
T: Eq,
impl<T, A> Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::boxed::Box<T, A>
impl<T, A> Eq for BTreeSet<T, A>
impl<T, A> Eq for LinkedList<T, A>
impl<T, A> Eq for VecDeque<T, A>
impl<T, A> Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::vec::Vec<T, A>
impl<T, A> Eq for Rc<T, A>
impl<T, A> Eq for Arc<T, A>
impl<T, A> Eq for allocator_api2::stable::boxed::Box<T, A>
impl<T, A> Eq for allocator_api2::stable::vec::Vec<T, A>
impl<T, B> Eq for Counter<T, B>
impl<T, B> Eq for Ref<B, [T]>
impl<T, B> Eq for Ref<B, T>
impl<T, E> Eq for Result<T, E>
impl<T, E> Eq for TryChunksError<T, E>
impl<T, E> Eq for TryReadyChunksError<T, E>
impl<T, E, TagKind, const CLASS: u8, const TAG: u32> Eq for TaggedValue<T, E, TagKind, CLASS, TAG>
impl<T, N> Eq for GenericArray<T, N>where
T: Eq,
N: ArrayLength<T>,
impl<T, S> Eq for rocket::mtls::x509::der_parser::asn1_rs::nom::lib::std::collections::HashSet<T, S>
impl<T, S> Eq for IndexSet<T, S>
impl<T, S> Eq for Checkpoint<T, S>where
T: Eq,
impl<T, S, A> Eq for hashbrown::set::HashSet<T, S, A>
impl<T, const N: usize> Eq for [T; N]where
T: Eq,
impl<T, const N: usize> Eq for Simd<T, N>
impl<T: Eq + Send + Sync + 'static> Eq for State<T>
impl<T: Eq> Eq for Form<T>
impl<T: Eq> Eq for Lenient<T>
impl<T: Eq> Eq for Strict<T>
impl<T: Eq> Eq for Json<T>
json
only.impl<T: Eq, const COMPACT: bool> Eq for MsgPack<T, COMPACT>
msgpack
only.