pub trait Clone: Sized {
// Required method
fn clone(&self) -> Self;
// Provided method
fn clone_from(&mut self, source: &Self) { ... }
}Expand description
A common trait that allows explicit creation of a duplicate value.
Calling clone always produces a new value.
However, for types that are references to other data (such as smart pointers or references),
the new value may still point to the same underlying data, rather than duplicating it.
See Clone::clone for more details.
This distinction is especially important when using #[derive(Clone)] on structs containing
smart pointers like Arc<Mutex<T>> - the cloned struct will share mutable state with the
original.
Differs from Copy in that Copy is implicit and an inexpensive bit-wise copy, while
Clone is always explicit and may or may not be expensive. In order to enforce
these characteristics, Rust does not allow you to reimplement Copy, but you
may reimplement Clone and run arbitrary code.
Since Clone is more general than Copy, you can automatically make anything
Copy be Clone as well.
§Derivable
This trait can be used with #[derive] if all fields are Clone. The derived
implementation of Clone calls clone on each field.
For a generic struct, #[derive] implements Clone conditionally by adding bound Clone on
generic parameters.
// `derive` implements Clone for Reading<T> when T is Clone.
#[derive(Clone)]
struct Reading<T> {
frequency: T,
}§How can I implement Clone?
Types that are Copy should have a trivial implementation of Clone. More formally:
if T: Copy, x: T, and y: &T, then let x = y.clone(); is equivalent to let x = *y;.
Manual implementations should be careful to uphold this invariant; however, unsafe code
must not rely on it to ensure memory safety.
An example is a generic struct holding a function pointer. In this case, the
implementation of Clone cannot be derived, but can be implemented as:
struct Generate<T>(fn() -> T);
impl<T> Copy for Generate<T> {}
impl<T> Clone for Generate<T> {
fn clone(&self) -> Self {
*self
}
}If we derive:
#[derive(Copy, Clone)]
struct Generate<T>(fn() -> T);the auto-derived implementations will have unnecessary T: Copy and T: Clone bounds:
// Automatically derived
impl<T: Copy> Copy for Generate<T> { }
// Automatically derived
impl<T: Clone> Clone for Generate<T> {
fn clone(&self) -> Generate<T> {
Generate(Clone::clone(&self.0))
}
}The bounds are unnecessary because clearly the function itself should be copy- and cloneable even if its return type is not:
#[derive(Copy, Clone)]
struct Generate<T>(fn() -> T);
struct NotCloneable;
fn generate_not_cloneable() -> NotCloneable {
NotCloneable
}
Generate(generate_not_cloneable).clone(); // error: trait bounds were not satisfied
// Note: With the manual implementations the above line will compile.§Clone and PartialEq/Eq
Clone is intended for the duplication of objects. Consequently, when implementing
both Clone and PartialEq, the following property is expected to hold:
x == x -> x.clone() == xIn other words, if an object compares equal to itself, its clone must also compare equal to the original.
For types that also implement Eq – for which x == x always holds –
this implies that x.clone() == x must always be true.
Standard library collections such as
HashMap, HashSet, BTreeMap, BTreeSet and BinaryHeap
rely on their keys respecting this property for correct behavior.
Furthermore, these collections require that cloning a key preserves the outcome of the
Hash and Ord methods. Thankfully, this follows automatically from x.clone() == x
if Hash and Ord are correctly implemented according to their own requirements.
When deriving both Clone and PartialEq using #[derive(Clone, PartialEq)]
or when additionally deriving Eq using #[derive(Clone, PartialEq, Eq)],
then this property is automatically upheld – provided that it is satisfied by
the underlying types.
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 this property
being satisfied.
§Additional implementors
In addition to the implementors listed below,
the following types also implement Clone:
- Function item types (i.e., the distinct types defined for each function)
- Function pointer types (e.g.,
fn() -> i32) - Closure types, if they capture no value from the environment
or if all such captured values implement
Clonethemselves. Note that variables captured by shared reference always implementClone(even if the referent doesn’t), while variables captured by mutable reference never implementClone.
Required Methods§
1.0.0 · Sourcefn clone(&self) -> Self
fn clone(&self) -> Self
Returns a duplicate of the value.
Note that what “duplicate” means varies by type:
- For most types, this creates a deep, independent copy
- For reference types like
&T, this creates another reference to the same value - For smart pointers like
ArcorRc, this increments the reference count but still points to the same underlying data
§Examples
let hello = "Hello"; // &str implements Clone
assert_eq!("Hello", hello.clone());Example with a reference-counted type:
use std::sync::{Arc, Mutex};
let data = Arc::new(Mutex::new(vec![1, 2, 3]));
let data_clone = data.clone(); // Creates another Arc pointing to the same Mutex
{
let mut lock = data.lock().unwrap();
lock.push(4);
}
// Changes are visible through the clone because they share the same underlying data
assert_eq!(*data_clone.lock().unwrap(), vec![1, 2, 3, 4]);Provided Methods§
1.0.0 · Sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source.
a.clone_from(&b) is equivalent to a = b.clone() in functionality,
but can be overridden to reuse the resources of a to avoid unnecessary
allocations.
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 Clone for TryReserveErrorKind
impl Clone for AsciiChar
impl Clone for core::cmp::Ordering
impl Clone for Infallible
impl Clone for FromBytesWithNulError
impl Clone for core::fmt::Alignment
impl Clone for DebugAsHex
impl Clone for Sign
impl Clone for IpAddr
impl Clone for Ipv6MulticastScope
impl Clone for core::net::socket_addr::SocketAddr
impl Clone for FpCategory
impl Clone for IntErrorKind
impl Clone for core::slice::GetDisjointMutError
impl Clone for SearchStep
impl Clone for core::sync::atomic::Ordering
impl Clone for VarError
impl Clone for SeekFrom
impl Clone for ErrorKind
impl Clone for Shutdown
impl Clone for BacktraceStyle
impl Clone for RecvTimeoutError
impl Clone for std::sync::mpsc::TryRecvError
impl Clone for Colons
impl Clone for Fixed
impl Clone for Numeric
impl Clone for chrono::format::OffsetPrecision
impl Clone for Pad
impl Clone for ParseErrorKind
impl Clone for SecondsFormat
impl Clone for chrono::month::Month
impl Clone for RoundingError
impl Clone for chrono::weekday::Weekday
impl Clone for subtle_encoding::error::Error
impl Clone for tenderdash_proto::tenderdash_grpc::abci::CheckTxType
impl Clone for tenderdash_proto::tenderdash_grpc::abci::MisbehaviorType
impl Clone for tenderdash_proto::tenderdash_grpc::abci::request::Value
impl Clone for tenderdash_proto::tenderdash_grpc::abci::response::Value
impl Clone for tenderdash_proto::tenderdash_grpc::abci::response_apply_snapshot_chunk::Result
impl Clone for tenderdash_proto::tenderdash_grpc::abci::response_offer_snapshot::Result
impl Clone for tenderdash_proto::tenderdash_grpc::abci::response_process_proposal::ProposalStatus
impl Clone for tenderdash_proto::tenderdash_grpc::abci::response_verify_vote_extension::VerifyStatus
impl Clone for tenderdash_proto::tenderdash_grpc::abci::tx_record::TxAction
impl Clone for tenderdash_proto::tenderdash_grpc::crypto::public_key::Sum
impl Clone for tenderdash_proto::tenderdash_grpc::types::BlockIdFlag
impl Clone for tenderdash_proto::tenderdash_grpc::types::SignedMsgType
impl Clone for tenderdash_proto::tenderdash_grpc::types::VoteExtensionType
impl Clone for tenderdash_proto::tenderdash_grpc::types::evidence::Sum
impl Clone for tenderdash_proto::tenderdash_grpc::types::version_params::ConsensusVersion
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::CheckTxType
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::MisbehaviorType
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::request::Value
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::response::Value
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::response_apply_snapshot_chunk::Result
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::response_offer_snapshot::Result
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::response_process_proposal::ProposalStatus
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::response_verify_vote_extension::VerifyStatus
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::tx_record::TxAction
impl Clone for tenderdash_proto::tenderdash_grpc_client::crypto::public_key::Sum
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::BlockIdFlag
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::SignedMsgType
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::VoteExtensionType
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::evidence::Sum
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::version_params::ConsensusVersion
impl Clone for bool
impl Clone for char
impl Clone for f16
impl Clone for f32
impl Clone for f64
impl Clone for f128
impl Clone for i8
impl Clone for i16
impl Clone for i32
impl Clone for i64
impl Clone for i128
impl Clone for isize
impl Clone for !
impl Clone for u8
impl Clone for u16
impl Clone for u32
impl Clone for u64
impl Clone for u128
impl Clone for usize
impl Clone for tenderdash_proto::google::protobuf::Duration
impl Clone for Timestamp
impl Clone for Global
impl Clone for ByteString
impl Clone for UnorderedKeyError
impl Clone for alloc::collections::TryReserveError
impl Clone for CString
impl Clone for FromVecWithNulError
impl Clone for IntoStringError
impl Clone for NulError
impl Clone for FromUtf8Error
impl Clone for IntoChars
impl Clone for Layout
impl Clone for LayoutError
impl Clone for AllocError
impl Clone for TypeId
impl Clone for TryFromSliceError
impl Clone for core::ascii::EscapeDefault
impl Clone for CharTryFromError
impl Clone for ParseCharError
impl Clone for DecodeUtf16Error
impl Clone for core::char::EscapeDebug
impl Clone for core::char::EscapeDefault
impl Clone for core::char::EscapeUnicode
impl Clone for ToLowercase
impl Clone for ToUppercase
impl Clone for TryFromCharError
impl Clone for CpuidResult
impl Clone for __m128
impl Clone for __m128bh
impl Clone for __m128d
impl Clone for __m128h
impl Clone for __m128i
impl Clone for __m256
impl Clone for __m256bh
impl Clone for __m256d
impl Clone for __m256h
impl Clone for __m256i
impl Clone for __m512
impl Clone for __m512bh
impl Clone for __m512d
impl Clone for __m512h
impl Clone for __m512i
impl Clone for bf16
impl Clone for FromBytesUntilNulError
impl Clone for core::fmt::Error
impl Clone for FormattingOptions
impl Clone for SipHasher
impl Clone for PhantomPinned
impl Clone for Assume
impl Clone for Ipv4Addr
impl Clone for Ipv6Addr
impl Clone for AddrParseError
impl Clone for SocketAddrV4
impl Clone for SocketAddrV6
impl Clone for ParseFloatError
impl Clone for core::num::error::ParseIntError
impl Clone for core::num::error::TryFromIntError
impl Clone for RangeFull
impl Clone for core::ptr::alignment::Alignment
impl Clone for ParseBoolError
impl Clone for Utf8Error
impl Clone for LocalWaker
impl Clone for RawWakerVTable
impl Clone for Waker
impl Clone for core::time::Duration
impl Clone for TryFromFloatSecsError
impl Clone for System
impl Clone for OsString
impl Clone for FileTimes
impl Clone for FileType
impl Clone for std::fs::Metadata
impl Clone for std::fs::OpenOptions
impl Clone for Permissions
impl Clone for DefaultHasher
impl Clone for RandomState
impl Clone for std::io::util::Empty
impl Clone for Sink
impl Clone for std::os::linux::raw::arch::stat
impl Clone for std::os::unix::net::addr::SocketAddr
impl Clone for SocketCred
impl Clone for std::os::unix::net::ucred::UCred
impl Clone for PathBuf
impl Clone for StripPrefixError
impl Clone for ExitCode
impl Clone for ExitStatus
impl Clone for ExitStatusError
impl Clone for Output
impl Clone for DefaultRandomSource
impl Clone for std::sync::mpsc::RecvError
impl Clone for WaitTimeoutResult
impl Clone for ThreadId
impl Clone for AccessError
impl Clone for Thread
impl Clone for std::time::Instant
impl Clone for SystemTime
impl Clone for SystemTimeError
impl Clone for chrono::format::parsed::Parsed
impl Clone for InternalFixed
impl Clone for InternalNumeric
impl Clone for OffsetFormat
impl Clone for ParseError
impl Clone for Months
impl Clone for ParseMonthError
impl Clone for NaiveDate
impl Clone for NaiveDateDaysIterator
impl Clone for NaiveDateWeeksIterator
impl Clone for NaiveDateTime
impl Clone for IsoWeek
impl Clone for Days
impl Clone for NaiveWeek
impl Clone for NaiveTime
impl Clone for FixedOffset
impl Clone for Utc
impl Clone for OutOfRange
impl Clone for TimeDelta
impl Clone for ParseWeekdayError
impl Clone for WeekdaySet
impl Clone for itoa::Buffer
impl Clone for Mime
impl Clone for prost::error::DecodeError
impl Clone for EncodeError
impl Clone for UnknownEnumValue
impl Clone for IgnoredAny
impl Clone for serde_core::de::value::Error
impl Clone for Base64
impl Clone for Hex
impl Clone for subtle_encoding::identity::Identity
impl Clone for Box<str>
no_global_oom_handling only.impl Clone for Box<ByteStr>
impl Clone for Box<CStr>
impl Clone for Box<OsStr>
impl Clone for Box<Path>
impl Clone for Box<dyn AnyClone + Send + Sync>
impl Clone for String
no_global_oom_handling only.impl Clone for tenderdash_proto::tenderdash_grpc::abci::CommitInfo
impl Clone for tenderdash_proto::tenderdash_grpc::abci::Event
impl Clone for tenderdash_proto::tenderdash_grpc::abci::EventAttribute
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ExecTxResult
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ExtendVoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ExtendedVoteInfo
impl Clone for tenderdash_proto::tenderdash_grpc::abci::Misbehavior
impl Clone for tenderdash_proto::tenderdash_grpc::abci::QuorumHashUpdate
impl Clone for tenderdash_proto::tenderdash_grpc::abci::Request
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestApplySnapshotChunk
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestCheckTx
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestEcho
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestExtendVote
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestFinalizeBlock
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestFlush
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestInfo
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestInitChain
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestListSnapshots
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestLoadSnapshotChunk
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestOfferSnapshot
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestPrepareProposal
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestProcessProposal
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestQuery
impl Clone for tenderdash_proto::tenderdash_grpc::abci::RequestVerifyVoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc::abci::Response
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseApplySnapshotChunk
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseCheckTx
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseEcho
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseException
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseExtendVote
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseFinalizeBlock
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseFlush
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseInfo
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseInitChain
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseListSnapshots
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseLoadSnapshotChunk
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseOfferSnapshot
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponsePrepareProposal
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseProcessProposal
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseQuery
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ResponseVerifyVoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc::abci::Snapshot
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ThresholdPublicKeyUpdate
impl Clone for tenderdash_proto::tenderdash_grpc::abci::TxRecord
impl Clone for tenderdash_proto::tenderdash_grpc::abci::TxResult
impl Clone for tenderdash_proto::tenderdash_grpc::abci::Validator
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ValidatorSetUpdate
impl Clone for tenderdash_proto::tenderdash_grpc::abci::ValidatorUpdate
impl Clone for tenderdash_proto::tenderdash_grpc::abci::VoteInfo
impl Clone for tenderdash_proto::tenderdash_grpc::crypto::DominoOp
impl Clone for tenderdash_proto::tenderdash_grpc::crypto::Proof
impl Clone for tenderdash_proto::tenderdash_grpc::crypto::ProofOp
impl Clone for tenderdash_proto::tenderdash_grpc::crypto::ProofOps
impl Clone for tenderdash_proto::tenderdash_grpc::crypto::PublicKey
impl Clone for tenderdash_proto::tenderdash_grpc::crypto::ValueOp
impl Clone for tenderdash_proto::tenderdash_grpc::types::AbciParams
impl Clone for tenderdash_proto::tenderdash_grpc::types::Block
impl Clone for tenderdash_proto::tenderdash_grpc::types::BlockId
impl Clone for tenderdash_proto::tenderdash_grpc::types::BlockMeta
impl Clone for tenderdash_proto::tenderdash_grpc::types::BlockParams
impl Clone for tenderdash_proto::tenderdash_grpc::types::CanonicalBlockId
impl Clone for tenderdash_proto::tenderdash_grpc::types::CanonicalPartSetHeader
impl Clone for tenderdash_proto::tenderdash_grpc::types::CanonicalProposal
impl Clone for tenderdash_proto::tenderdash_grpc::types::CanonicalVote
impl Clone for tenderdash_proto::tenderdash_grpc::types::CanonicalVoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc::types::Commit
impl Clone for tenderdash_proto::tenderdash_grpc::types::ConsensusParams
impl Clone for tenderdash_proto::tenderdash_grpc::types::CoreChainLock
impl Clone for tenderdash_proto::tenderdash_grpc::types::Data
impl Clone for tenderdash_proto::tenderdash_grpc::types::DuplicateVoteEvidence
impl Clone for tenderdash_proto::tenderdash_grpc::types::Evidence
impl Clone for tenderdash_proto::tenderdash_grpc::types::EvidenceList
impl Clone for tenderdash_proto::tenderdash_grpc::types::EvidenceParams
impl Clone for tenderdash_proto::tenderdash_grpc::types::HashedParams
impl Clone for tenderdash_proto::tenderdash_grpc::types::Header
impl Clone for tenderdash_proto::tenderdash_grpc::types::LightBlock
impl Clone for tenderdash_proto::tenderdash_grpc::types::Part
impl Clone for tenderdash_proto::tenderdash_grpc::types::PartSetHeader
impl Clone for tenderdash_proto::tenderdash_grpc::types::Proposal
impl Clone for tenderdash_proto::tenderdash_grpc::types::SignedHeader
impl Clone for tenderdash_proto::tenderdash_grpc::types::SimpleValidator
impl Clone for tenderdash_proto::tenderdash_grpc::types::StateId
impl Clone for tenderdash_proto::tenderdash_grpc::types::SynchronyParams
impl Clone for tenderdash_proto::tenderdash_grpc::types::TimeoutParams
impl Clone for tenderdash_proto::tenderdash_grpc::types::TxProof
impl Clone for tenderdash_proto::tenderdash_grpc::types::Validator
impl Clone for tenderdash_proto::tenderdash_grpc::types::ValidatorParams
impl Clone for tenderdash_proto::tenderdash_grpc::types::ValidatorSet
impl Clone for tenderdash_proto::tenderdash_grpc::types::VersionParams
impl Clone for tenderdash_proto::tenderdash_grpc::types::Vote
impl Clone for tenderdash_proto::tenderdash_grpc::types::VoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc::version::Consensus
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::CommitInfo
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::Event
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::EventAttribute
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ExecTxResult
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ExtendVoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ExtendedVoteInfo
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::Misbehavior
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::QuorumHashUpdate
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::Request
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestApplySnapshotChunk
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestCheckTx
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestEcho
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestExtendVote
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestFinalizeBlock
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestFlush
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestInfo
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestInitChain
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestListSnapshots
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestLoadSnapshotChunk
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestOfferSnapshot
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestPrepareProposal
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestProcessProposal
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestQuery
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::RequestVerifyVoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::Response
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseApplySnapshotChunk
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseCheckTx
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseEcho
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseException
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseExtendVote
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseFinalizeBlock
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseFlush
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseInfo
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseInitChain
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseListSnapshots
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseLoadSnapshotChunk
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseOfferSnapshot
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponsePrepareProposal
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseProcessProposal
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseQuery
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ResponseVerifyVoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::Snapshot
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ThresholdPublicKeyUpdate
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::TxRecord
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::TxResult
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::Validator
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ValidatorSetUpdate
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::ValidatorUpdate
impl Clone for tenderdash_proto::tenderdash_grpc_client::abci::VoteInfo
impl Clone for tenderdash_proto::tenderdash_grpc_client::crypto::DominoOp
impl Clone for tenderdash_proto::tenderdash_grpc_client::crypto::Proof
impl Clone for tenderdash_proto::tenderdash_grpc_client::crypto::ProofOp
impl Clone for tenderdash_proto::tenderdash_grpc_client::crypto::ProofOps
impl Clone for tenderdash_proto::tenderdash_grpc_client::crypto::PublicKey
impl Clone for tenderdash_proto::tenderdash_grpc_client::crypto::ValueOp
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::AbciParams
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::Block
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::BlockId
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::BlockMeta
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::BlockParams
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::CanonicalBlockId
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::CanonicalPartSetHeader
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::CanonicalProposal
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::CanonicalVote
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::CanonicalVoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::Commit
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::ConsensusParams
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::CoreChainLock
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::Data
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::DuplicateVoteEvidence
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::Evidence
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::EvidenceList
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::EvidenceParams
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::HashedParams
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::Header
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::LightBlock
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::Part
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::PartSetHeader
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::Proposal
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::SignedHeader
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::SimpleValidator
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::StateId
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::SynchronyParams
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::TimeoutParams
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::TxProof
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::Validator
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::ValidatorParams
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::ValidatorSet
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::VersionParams
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::Vote
impl Clone for tenderdash_proto::tenderdash_grpc_client::types::VoteExtension
impl Clone for tenderdash_proto::tenderdash_grpc_client::version::Consensus
impl Clone for AbortHandle
impl Clone for AbortHandle
impl Clone for Aborted
impl Clone for Alphabet
impl Clone for AnyDelimiterCodec
impl Clone for Ascii
impl Clone for Authority
impl Clone for BarrierWaitResult
impl Clone for Binary
impl Clone for BufferSettings
impl Clone for Builder
impl Clone for Builder
impl Clone for Builder
impl Clone for Builder
impl Clone for Builder
impl Clone for Builder
impl Clone for Bytes
impl Clone for BytesCodec
impl Clone for BytesMut
impl Clone for Canceled
impl Clone for CancellationToken
impl Clone for CaptureConnection
impl Clone for Channel
impl Clone for Code
impl Clone for CompleteOnResponse
impl Clone for Component
impl Clone for ComponentRange
impl Clone for CompressionEncoding
impl Clone for ConcurrencyLimitLayer
impl Clone for ConversionRange
impl Clone for Cost
impl Clone for Count
impl Clone for DIR
impl Clone for Date
impl Clone for DateKind
impl Clone for Day
impl Clone for Day
impl Clone for DecodeError
impl Clone for DecodePaddingMode
impl Clone for DecodeSliceError
impl Clone for DefaultBodyLimit
impl Clone for DefaultHashBuilder
impl Clone for DifferentVariant
impl Clone for Dispatch
impl Clone for Dl_info
impl Clone for Domain
impl Clone for Duration
impl Clone for Elf32_Chdr
impl Clone for Elf32_Ehdr
impl Clone for Elf32_Phdr
impl Clone for Elf32_Shdr
impl Clone for Elf32_Sym
impl Clone for Elf64_Chdr
impl Clone for Elf64_Ehdr
impl Clone for Elf64_Phdr
impl Clone for Elf64_Shdr
impl Clone for Elf64_Sym
impl Clone for EnabledCompressionEncodings
impl Clone for EncodeSliceError
impl Clone for End
impl Clone for Endpoint
impl Clone for Error
impl Clone for Error
impl Clone for Event
impl Clone for Event
impl Clone for Extensions
impl Clone for FILE
impl Clone for Field
impl Clone for Finder
impl Clone for Finder
impl Clone for Finder
impl Clone for Finder
impl Clone for Finder
impl Clone for FinderBuilder
impl Clone for FinderRev
impl Clone for FinderRev
impl Clone for FlowControl
impl Clone for FormattedComponents
impl Clone for FormatterOptions
impl Clone for FromStrError
impl Clone for GaiResolver
impl Clone for GeneralPurpose
impl Clone for GeneralPurposeConfig
impl Clone for GetDisjointMutError
impl Clone for GetDisjointMutError
impl Clone for GlobalConcurrencyLimitLayer
impl Clone for Handle
impl Clone for HeaderName
impl Clone for HeaderValue
impl Clone for Hour
impl Clone for Hour
impl Clone for HttpDate
impl Clone for HttpInfo
impl Clone for Id
impl Clone for Id
impl Clone for Id
impl Clone for Identifier
impl Clone for Identity
impl Clone for Ignore
impl Clone for InsertError
impl Clone for Instant
impl Clone for Interest
impl Clone for Interest
impl Clone for Interest
impl Clone for InterfaceIndexOrAddress
impl Clone for InvalidVariant
impl Clone for KeepAlive
impl Clone for Kind
impl Clone for LengthDelimitedCodec
impl Clone for Level
impl Clone for LevelFilter
impl Clone for LinesCodec
impl Clone for LoadShedLayer
impl Clone for MatchError
impl Clone for MetadataMap
impl Clone for Method
impl Clone for MethodFilter
impl Clone for Microsecond
impl Clone for Millisecond
impl Clone for Minute
impl Clone for Minute
impl Clone for MissedTickBehavior
impl Clone for Month
impl Clone for Month
impl Clone for MonthRepr
impl Clone for Name
impl Clone for Nanosecond
impl Clone for NestedPath
impl Clone for Next
impl Clone for NoContent
impl Clone for NoSubscriber
impl Clone for OffsetDateTime
impl Clone for OffsetHour
impl Clone for OffsetMinute
impl Clone for OffsetPrecision
impl Clone for OffsetSecond
impl Clone for OnUpgrade
impl Clone for One
impl Clone for One
impl Clone for One
impl Clone for OpenOptions
impl Clone for Ordinal
impl Clone for Padding
impl Clone for Pair
impl Clone for Parse
impl Clone for ParseFromDescription
impl Clone for ParseIntError
impl Clone for ParseLevelFilterError
impl Clone for Parsed
impl Clone for ParserConfig
impl Clone for Parts
impl Clone for Parts
impl Clone for PathAndQuery
impl Clone for Period
impl Clone for PollNext
impl Clone for PollSemaphore
impl Clone for PrefilterConfig
impl Clone for PrimitiveDateTime
impl Clone for Protocol
impl Clone for Protocol
impl Clone for Protocol
impl Clone for Rate
impl Clone for RateLimitLayer
impl Clone for Ready
impl Clone for Reason
impl Clone for ReasonPhrase
impl Clone for RecoverErrorLayer
impl Clone for RecvError
impl Clone for RecvError
impl Clone for RecvError
impl Clone for RecvFlags
impl Clone for Redirect
impl Clone for ResponseAxumBodyLayer
impl Clone for Rfc2822
impl Clone for Rfc3339
impl Clone for Routes
impl Clone for RoutesBuilder
impl Clone for RuntimeMetrics
impl Clone for Scheme
impl Clone for Second
impl Clone for Second
impl Clone for SendError
impl Clone for SingleMessageCompressionOverride
impl Clone for SizeHint
impl Clone for SockAddr
impl Clone for SocketAddr
impl Clone for Span
impl Clone for Status
impl Clone for StatusCode
impl Clone for StreamId
impl Clone for Subsecond
impl Clone for SubsecondDigits
impl Clone for TcpConnectInfo
impl Clone for TcpKeepalive
impl Clone for Three
impl Clone for Three
impl Clone for Three
impl Clone for Time
impl Clone for TimePrecision
impl Clone for Token
impl Clone for TokioExecutor
impl Clone for TokioTimer
impl Clone for TryFromIntError
impl Clone for TryFromParsed
impl Clone for TryRecvError
impl Clone for TryRecvError
impl Clone for TryRecvError
impl Clone for TryReserveError
impl Clone for TryReserveError
impl Clone for Two
impl Clone for Two
impl Clone for Two
impl Clone for Type
impl Clone for UCred
impl Clone for UdsConnectInfo
impl Clone for UnixTimestamp
impl Clone for UnixTimestampPrecision
impl Clone for Uri
impl Clone for UtcDateTime
impl Clone for UtcOffset
impl Clone for Version
impl Clone for WeakDispatch
impl Clone for Week
impl Clone for WeekNumber
impl Clone for WeekNumberRepr
impl Clone for Weekday
impl Clone for Weekday
impl Clone for WeekdayRepr
impl Clone for Year
impl Clone for YearRange
impl Clone for YearRepr
impl Clone for __c_anonymous__kernel_fsid_t
impl Clone for __c_anonymous_elf32_rel
impl Clone for __c_anonymous_elf32_rela
impl Clone for __c_anonymous_elf64_rel
impl Clone for __c_anonymous_elf64_rela
impl Clone for __c_anonymous_ifc_ifcu
impl Clone for __c_anonymous_ifr_ifru
impl Clone for __c_anonymous_ifru_map
impl Clone for __c_anonymous_iwreq
impl Clone for __c_anonymous_ptp_perout_request_1
impl Clone for __c_anonymous_ptp_perout_request_2
impl Clone for __c_anonymous_ptrace_syscall_info_data
impl Clone for __c_anonymous_ptrace_syscall_info_entry
impl Clone for __c_anonymous_ptrace_syscall_info_exit
impl Clone for __c_anonymous_ptrace_syscall_info_seccomp
impl Clone for __c_anonymous_sockaddr_can_can_addr
impl Clone for __c_anonymous_sockaddr_can_j1939
impl Clone for __c_anonymous_sockaddr_can_tp
impl Clone for __c_anonymous_xsk_tx_metadata_union
impl Clone for __exit_status
impl Clone for __timeval
impl Clone for _libc_fpstate
impl Clone for _libc_fpxreg
impl Clone for _libc_xmmreg
impl Clone for addrinfo
impl Clone for af_alg_iv
impl Clone for aiocb
impl Clone for arpd_request
impl Clone for arphdr
impl Clone for arpreq
impl Clone for arpreq_old
impl Clone for bcm_msg_head
impl Clone for bcm_timeval
impl Clone for can_filter
impl Clone for can_frame
impl Clone for canfd_frame
impl Clone for canxl_frame
impl Clone for clone_args
impl Clone for cmsghdr
impl Clone for cpu_set_t
impl Clone for dirent
impl Clone for dirent64
impl Clone for dl_phdr_info
impl Clone for dmabuf_cmsg
impl Clone for dmabuf_token
impl Clone for dqblk
impl Clone for epoll_event
impl Clone for epoll_params
impl Clone for fanotify_event_info_error
impl Clone for fanotify_event_info_fid
impl Clone for fanotify_event_info_header
impl Clone for fanotify_event_info_pidfd
impl Clone for fanotify_event_metadata
impl Clone for fanotify_response
impl Clone for fanout_args
impl Clone for fd_set
impl Clone for ff_condition_effect
impl Clone for ff_constant_effect
impl Clone for ff_effect
impl Clone for ff_envelope
impl Clone for ff_periodic_effect
impl Clone for ff_ramp_effect
impl Clone for ff_replay
impl Clone for ff_rumble_effect
impl Clone for ff_trigger
impl Clone for file_clone_range
impl Clone for flock
impl Clone for flock64
impl Clone for fpos64_t
impl Clone for fpos_t
impl Clone for fsid_t
impl Clone for genlmsghdr
impl Clone for glob64_t
impl Clone for glob_t
impl Clone for group
impl Clone for hostent
impl Clone for hwtstamp_config
impl Clone for if_nameindex
impl Clone for ifaddrs
impl Clone for ifconf
impl Clone for ifreq
impl Clone for in6_addr
impl Clone for in6_ifreq
impl Clone for in6_pktinfo
impl Clone for in6_rtmsg
impl Clone for in_addr
impl Clone for in_pktinfo
impl Clone for inotify_event
impl Clone for input_absinfo
impl Clone for input_event
impl Clone for input_id
impl Clone for input_keymap_entry
impl Clone for input_mask
impl Clone for iocb
impl Clone for iovec
impl Clone for ip_mreq
impl Clone for ip_mreq_source
impl Clone for ip_mreqn
impl Clone for ipc_perm
impl Clone for ipv6_mreq
impl Clone for itimerspec
impl Clone for itimerval
impl Clone for iw_discarded
impl Clone for iw_encode_ext
impl Clone for iw_event
impl Clone for iw_freq
impl Clone for iw_michaelmicfailure
impl Clone for iw_missed
impl Clone for iw_mlme
impl Clone for iw_param
impl Clone for iw_pmkid_cand
impl Clone for iw_pmksa
impl Clone for iw_point
impl Clone for iw_priv_args
impl Clone for iw_quality
impl Clone for iw_range
impl Clone for iw_scan_req
impl Clone for iw_statistics
impl Clone for iw_thrspy
impl Clone for iwreq
impl Clone for iwreq_data
impl Clone for j1939_filter
impl Clone for lconv
impl Clone for linger
impl Clone for mallinfo
impl Clone for mallinfo2
impl Clone for max_align_t
impl Clone for mbstate_t
impl Clone for mcontext_t
impl Clone for mmsghdr
impl Clone for mnt_ns_info
impl Clone for mntent
impl Clone for mount_attr
impl Clone for mq_attr
impl Clone for msghdr
impl Clone for msginfo
impl Clone for msqid_ds
impl Clone for nl_mmap_hdr
impl Clone for nl_mmap_req
impl Clone for nl_pktinfo
impl Clone for nlattr
impl Clone for nlmsgerr
impl Clone for nlmsghdr
impl Clone for ntptimeval
impl Clone for open_how
impl Clone for option
impl Clone for packet_mreq
impl Clone for passwd
impl Clone for pidfd_info
impl Clone for pollfd
impl Clone for posix_spawn_file_actions_t
impl Clone for posix_spawnattr_t
impl Clone for protoent
impl Clone for pthread_attr_t
impl Clone for pthread_barrier_t
impl Clone for pthread_barrierattr_t
impl Clone for pthread_cond_t
impl Clone for pthread_condattr_t
impl Clone for pthread_mutex_t
impl Clone for pthread_mutexattr_t
impl Clone for pthread_rwlock_t
impl Clone for pthread_rwlockattr_t
impl Clone for ptp_clock_caps
impl Clone for ptp_clock_time
impl Clone for ptp_extts_event
impl Clone for ptp_extts_request
impl Clone for ptp_perout_request
impl Clone for ptp_pin_desc
impl Clone for ptp_sys_offset
impl Clone for ptp_sys_offset_extended
impl Clone for ptp_sys_offset_precise
impl Clone for ptrace_peeksiginfo_args
impl Clone for ptrace_rseq_configuration
impl Clone for ptrace_sud_config
impl Clone for ptrace_syscall_info
impl Clone for regex_t
impl Clone for regmatch_t
impl Clone for rlimit
impl Clone for rlimit64
impl Clone for rtentry
impl Clone for rusage
impl Clone for sched_attr
impl Clone for sched_param
impl Clone for sctp_authinfo
impl Clone for sctp_initmsg
impl Clone for sctp_nxtinfo
impl Clone for sctp_prinfo
impl Clone for sctp_rcvinfo
impl Clone for sctp_sndinfo
impl Clone for sctp_sndrcvinfo
impl Clone for seccomp_data
impl Clone for seccomp_notif
impl Clone for seccomp_notif_addfd
impl Clone for seccomp_notif_resp
impl Clone for seccomp_notif_sizes
impl Clone for sem_t
impl Clone for sembuf
impl Clone for semid_ds
impl Clone for seminfo
impl Clone for servent
impl Clone for shmid_ds
impl Clone for sigaction
impl Clone for sigevent
impl Clone for siginfo_t
impl Clone for signalfd_siginfo
impl Clone for sigset_t
impl Clone for sigval
impl Clone for sock_extended_err
impl Clone for sock_filter
impl Clone for sock_fprog
impl Clone for sock_txtime
impl Clone for sockaddr
impl Clone for sockaddr_alg
impl Clone for sockaddr_can
impl Clone for sockaddr_in
impl Clone for sockaddr_in6
impl Clone for sockaddr_ll
impl Clone for sockaddr_nl
impl Clone for sockaddr_pkt
impl Clone for sockaddr_storage
impl Clone for sockaddr_un
impl Clone for sockaddr_vm
impl Clone for sockaddr_xdp
impl Clone for spwd
impl Clone for stack_t
impl Clone for stat
impl Clone for stat64
impl Clone for statfs
impl Clone for statfs64
impl Clone for statvfs
impl Clone for statvfs64
impl Clone for statx
impl Clone for statx_timestamp
impl Clone for sysinfo
impl Clone for tcp_info
impl Clone for termios
impl Clone for termios2
impl Clone for timespec
impl Clone for timeval
impl Clone for timex
impl Clone for timezone
impl Clone for tls12_crypto_info_aes_ccm_128
impl Clone for tls12_crypto_info_aes_gcm_128
impl Clone for tls12_crypto_info_aes_gcm_256
impl Clone for tls12_crypto_info_aria_gcm_128
impl Clone for tls12_crypto_info_aria_gcm_256
impl Clone for tls12_crypto_info_chacha20_poly1305
impl Clone for tls12_crypto_info_sm4_ccm
impl Clone for tls12_crypto_info_sm4_gcm
impl Clone for tls_crypto_info
impl Clone for tm
impl Clone for tms
impl Clone for tpacket2_hdr
impl Clone for tpacket3_hdr
impl Clone for tpacket_auxdata
impl Clone for tpacket_bd_header_u
impl Clone for tpacket_bd_ts
impl Clone for tpacket_block_desc
impl Clone for tpacket_hdr
impl Clone for tpacket_hdr_v1
impl Clone for tpacket_hdr_variant1
impl Clone for tpacket_req
impl Clone for tpacket_req3
impl Clone for tpacket_req_u
impl Clone for tpacket_rollover_stats
impl Clone for tpacket_stats
impl Clone for tpacket_stats_v3
impl Clone for tpacket_versions
impl Clone for ucontext_t
impl Clone for ucred
impl Clone for uinput_abs_setup
impl Clone for uinput_ff_erase
impl Clone for uinput_ff_upload
impl Clone for uinput_setup
impl Clone for uinput_user_dev
impl Clone for user
impl Clone for user_fpregs_struct
impl Clone for user_regs_struct
impl Clone for utimbuf
impl Clone for utmpx
impl Clone for utsname
impl Clone for winsize
impl Clone for xdp_desc
impl Clone for xdp_mmap_offsets
impl Clone for xdp_mmap_offsets_v1
impl Clone for xdp_options
impl Clone for xdp_ring_offset
impl Clone for xdp_ring_offset_v1
impl Clone for xdp_statistics
impl Clone for xdp_statistics_v1
impl Clone for xdp_umem_reg
impl Clone for xdp_umem_reg_v1
impl Clone for xsk_tx_metadata
impl Clone for xsk_tx_metadata_completion
impl Clone for xsk_tx_metadata_request
impl<'a> Clone for Utf8Pattern<'a>
impl<'a> Clone for std::path::Component<'a>
impl<'a> Clone for Prefix<'a>
impl<'a> Clone for Item<'a>
impl<'a> Clone for Unexpected<'a>
impl<'a> Clone for Source<'a>
impl<'a> Clone for core::ffi::c_str::Bytes<'a>
impl<'a> Clone for Arguments<'a>
impl<'a> Clone for PhantomContravariantLifetime<'a>
impl<'a> Clone for PhantomCovariantLifetime<'a>
impl<'a> Clone for PhantomInvariantLifetime<'a>
impl<'a> Clone for Location<'a>
impl<'a> Clone for EscapeAscii<'a>
impl<'a> Clone for core::str::iter::Bytes<'a>
impl<'a> Clone for CharIndices<'a>
impl<'a> Clone for Chars<'a>
impl<'a> Clone for EncodeUtf16<'a>
impl<'a> Clone for core::str::iter::EscapeDebug<'a>
impl<'a> Clone for core::str::iter::EscapeDefault<'a>
impl<'a> Clone for core::str::iter::EscapeUnicode<'a>
impl<'a> Clone for Lines<'a>
impl<'a> Clone for LinesAny<'a>
impl<'a> Clone for SplitAsciiWhitespace<'a>
impl<'a> Clone for SplitWhitespace<'a>
impl<'a> Clone for Utf8Chunk<'a>
impl<'a> Clone for Utf8Chunks<'a>
impl<'a> Clone for CharSearcher<'a>
impl<'a> Clone for IoSlice<'a>
impl<'a> Clone for Ancestors<'a>
impl<'a> Clone for Components<'a>
impl<'a> Clone for std::path::Iter<'a>
impl<'a> Clone for PrefixComponent<'a>
impl<'a> Clone for StrftimeItems<'a>
impl<'a> Clone for MimeIter<'a>
impl<'a> Clone for mime::Name<'a>
impl<'a> Clone for BorrowedFormatItem<'a>
impl<'a> Clone for GrpcMethod<'a>
impl<'a> Clone for Header<'a>
impl<'a> Clone for Iter<'a>
impl<'a> Clone for PercentDecode<'a>
impl<'a> Clone for PercentEncode<'a>
impl<'a, 'b> Clone for CharSliceSearcher<'a, 'b>
impl<'a, 'b> Clone for StrSearcher<'a, 'b>
impl<'a, 'b, const N: usize> Clone for CharArrayRefSearcher<'a, 'b, N>
impl<'a, 'h> Clone for OneIter<'a, 'h>
impl<'a, 'h> Clone for OneIter<'a, 'h>
impl<'a, 'h> Clone for OneIter<'a, 'h>
impl<'a, 'h> Clone for ThreeIter<'a, 'h>
impl<'a, 'h> Clone for ThreeIter<'a, 'h>
impl<'a, 'h> Clone for ThreeIter<'a, 'h>
impl<'a, 'h> Clone for TwoIter<'a, 'h>
impl<'a, 'h> Clone for TwoIter<'a, 'h>
impl<'a, 'h> Clone for TwoIter<'a, 'h>
impl<'a, E> Clone for BytesDeserializer<'a, E>
impl<'a, E> Clone for CowStrDeserializer<'a, E>
std or alloc only.impl<'a, F> Clone for CharPredicateSearcher<'a, F>
impl<'a, K> Clone for alloc::collections::btree::set::Cursor<'a, K>where
K: Clone + 'a,
impl<'a, P> Clone for MatchIndices<'a, P>
impl<'a, P> Clone for Matches<'a, P>
impl<'a, P> Clone for RMatchIndices<'a, P>
impl<'a, P> Clone for RMatches<'a, P>
impl<'a, P> Clone for core::str::iter::RSplit<'a, P>
impl<'a, P> Clone for RSplitN<'a, P>
impl<'a, P> Clone for RSplitTerminator<'a, P>
impl<'a, P> Clone for core::str::iter::Split<'a, P>
impl<'a, P> Clone for core::str::iter::SplitInclusive<'a, P>
impl<'a, P> Clone for SplitN<'a, P>
impl<'a, P> Clone for SplitTerminator<'a, P>
impl<'a, T> Clone for RChunksExact<'a, T>
impl<'a, T> Clone for Iter<'a, T>
impl<'a, T> Clone for IterHash<'a, T>
impl<'a, T, P> Clone for ChunkBy<'a, T, P>where
T: 'a,
P: Clone,
impl<'a, T, const N: usize> Clone for ArrayWindows<'a, T, N>where
T: Clone + 'a,
impl<'a, const N: usize> Clone for CharArraySearcher<'a, N>
impl<'de, E> Clone for BorrowedBytesDeserializer<'de, E>
impl<'de, E> Clone for BorrowedStrDeserializer<'de, E>
impl<'de, E> Clone for StrDeserializer<'de, E>
impl<'de, I, E> Clone for MapDeserializer<'de, I, E>
impl<'f> Clone for VaListImpl<'f>
impl<'fd> Clone for BorrowedFd<'fd>
impl<'h> Clone for Memchr2<'h>
impl<'h> Clone for Memchr3<'h>
impl<'h> Clone for Memchr<'h>
impl<'h, 'n> Clone for FindIter<'h, 'n>
impl<'h, 'n> Clone for FindRevIter<'h, 'n>
impl<'k, 'v> Clone for Params<'k, 'v>
impl<'n> Clone for Finder<'n>
impl<'n> Clone for FinderRev<'n>
impl<A> Clone for core::iter::sources::repeat::Repeat<A>where
A: Clone,
impl<A> Clone for RepeatN<A>where
A: Clone,
impl<A> Clone for core::option::IntoIter<A>where
A: Clone,
impl<A> Clone for core::option::Iter<'_, A>
impl<A> Clone for RangeFromIter<A>where
A: Clone,
impl<A> Clone for RangeInclusiveIter<A>where
A: Clone,
impl<A> Clone for RangeIter<A>where
A: Clone,
impl<A> Clone for EnumAccessDeserializer<A>where
A: Clone,
impl<A> Clone for MapAccessDeserializer<A>where
A: Clone,
impl<A> Clone for SeqAccessDeserializer<A>where
A: Clone,
impl<A> Clone for IntoIter<A>
impl<A> Clone for SmallVec<A>where
A: Array,
<A as Array>::Item: Clone,
impl<A, B> Clone for Chain<A, B>
impl<A, B> Clone for Zip<A, B>
impl<A, B> Clone for Either<A, B>
impl<A, B> Clone for Either<A, B>
impl<B> Clone for Cow<'_, B>
impl<B> Clone for BodyDataStream<B>where
B: Clone,
impl<B> Clone for BodyStream<B>where
B: Clone,
impl<B> Clone for Limited<B>where
B: Clone,
impl<B> Clone for SendRequest<B>
impl<B> Clone for SendRequest<B>where
B: Buf,
impl<B, C> Clone for ControlFlow<B, C>
impl<B, F> Clone for MapErr<B, F>
impl<B, F> Clone for MapFrame<B, F>
impl<B, S> Clone for RouterIntoService<B, S>where
Router<S>: Clone,
impl<C> Clone for SocksV4<C>where
C: Clone,
impl<C> Clone for SocksV5<C>where
C: Clone,
impl<C> Clone for Tunnel<C>where
C: Clone,
impl<C, B> Clone for Client<C, B>where
C: Clone,
impl<D> Clone for Empty<D>
impl<D> Clone for Full<D>where
D: Clone,
impl<D, Req> Clone for MakeBalanceLayer<D, Req>
impl<Dyn> Clone for DynMetadata<Dyn>where
Dyn: ?Sized,
impl<E> Clone for BoolDeserializer<E>
impl<E> Clone for CharDeserializer<E>
impl<E> Clone for F32Deserializer<E>
impl<E> Clone for F64Deserializer<E>
impl<E> Clone for I8Deserializer<E>
impl<E> Clone for I16Deserializer<E>
impl<E> Clone for I32Deserializer<E>
impl<E> Clone for I64Deserializer<E>
impl<E> Clone for I128Deserializer<E>
impl<E> Clone for IsizeDeserializer<E>
impl<E> Clone for StringDeserializer<E>
std or alloc only.impl<E> Clone for U8Deserializer<E>
impl<E> Clone for U16Deserializer<E>
impl<E> Clone for U32Deserializer<E>
impl<E> Clone for U64Deserializer<E>
impl<E> Clone for U128Deserializer<E>
impl<E> Clone for UnitDeserializer<E>
impl<E> Clone for UsizeDeserializer<E>
impl<E> Clone for Builder<E>where
E: Clone,
impl<E> Clone for Builder<E>where
E: Clone,
impl<E> Clone for Route<E>
impl<E, S> Clone for FromExtractorLayer<E, S>where
S: Clone,
impl<Ex> Clone for Builder<Ex>where
Ex: Clone,
impl<F> Clone for core::iter::sources::from_fn::FromFn<F>where
F: Clone,
impl<F> Clone for OnceWith<F>where
F: Clone,
impl<F> Clone for core::iter::sources::repeat_with::RepeatWith<F>where
F: Clone,
impl<F> Clone for AndThenLayer<F>where
F: Clone,
impl<F> Clone for LayerFn<F>where
F: Clone,
impl<F> Clone for MapErrLayer<F>where
F: Clone,
impl<F> Clone for MapFutureLayer<F>where
F: Clone,
impl<F> Clone for MapRequestLayer<F>where
F: Clone,
impl<F> Clone for MapResponseLayer<F>where
F: Clone,
impl<F> Clone for MapResultLayer<F>where
F: Clone,
impl<F> Clone for OptionFuture<F>where
F: Clone,
impl<F> Clone for RepeatWith<F>where
F: Clone,
impl<F> Clone for ThenLayer<F>where
F: Clone,
impl<F, S> Clone for FutureService<F, S>
impl<F, S, I, T> Clone for FromFn<F, S, I, T>
impl<F, S, I, T> Clone for MapRequest<F, S, I, T>
impl<F, S, I, T> Clone for MapResponse<F, S, I, T>
impl<F, S, T> Clone for FromFnLayer<F, S, T>
impl<F, S, T> Clone for MapRequestLayer<F, S, T>
impl<F, S, T> Clone for MapResponseLayer<F, S, T>
impl<F, T> Clone for HandleErrorLayer<F, T>where
F: Clone,
impl<G> Clone for FromCoroutine<G>where
G: Clone,
impl<H> Clone for BuildHasherDefault<H>
impl<H> Clone for HasherRng<H>where
H: Clone,
impl<H, T, S> Clone for HandlerService<H, T, S>
impl<I> Clone for FromIter<I>where
I: Clone,
impl<I> Clone for DecodeUtf16<I>
impl<I> Clone for Cloned<I>where
I: Clone,
impl<I> Clone for Copied<I>where
I: Clone,
impl<I> Clone for Cycle<I>where
I: Clone,
impl<I> Clone for Enumerate<I>where
I: Clone,
impl<I> Clone for Fuse<I>where
I: Clone,
impl<I> Clone for Intersperse<I>
impl<I> Clone for Peekable<I>
impl<I> Clone for Skip<I>where
I: Clone,
impl<I> Clone for StepBy<I>where
I: Clone,
impl<I> Clone for Take<I>where
I: Clone,
impl<I> Clone for AppendHeaders<I>where
I: Clone,
impl<I> Clone for InterceptorLayer<I>where
I: Clone,
impl<I> Clone for Iter<I>where
I: Clone,
impl<I, E> Clone for SeqDeserializer<I, E>
impl<I, F> Clone for FilterMap<I, F>
impl<I, F> Clone for Inspect<I, F>
impl<I, F> Clone for Map<I, F>
impl<I, F, const N: usize> Clone for MapWindows<I, F, N>
impl<I, G> Clone for IntersperseWith<I, G>
impl<I, P> Clone for Filter<I, P>
impl<I, P> Clone for MapWhile<I, P>
impl<I, P> Clone for SkipWhile<I, P>
impl<I, P> Clone for TakeWhile<I, P>
impl<I, St, F> Clone for Scan<I, St, F>
impl<I, U> Clone for Flatten<I>
impl<I, U, F> Clone for FlatMap<I, U, F>
impl<I, const N: usize> Clone for ArrayChunks<I, N>
impl<Idx> Clone for core::ops::range::Range<Idx>where
Idx: Clone,
impl<Idx> Clone for core::ops::range::RangeFrom<Idx>where
Idx: Clone,
impl<Idx> Clone for core::ops::range::RangeInclusive<Idx>where
Idx: Clone,
impl<Idx> Clone for RangeTo<Idx>where
Idx: Clone,
impl<Idx> Clone for core::ops::range::RangeToInclusive<Idx>where
Idx: Clone,
impl<Idx> Clone for core::range::Range<Idx>where
Idx: Clone,
impl<Idx> Clone for core::range::RangeFrom<Idx>where
Idx: Clone,
impl<Idx> Clone for core::range::RangeInclusive<Idx>where
Idx: Clone,
impl<Idx> Clone for core::range::RangeToInclusive<Idx>where
Idx: Clone,
impl<In, T, U, E> Clone for BoxCloneServiceLayer<In, T, U, E>
impl<In, T, U, E> Clone for BoxCloneSyncServiceLayer<In, T, U, E>
impl<In, T, U, E> Clone for BoxLayer<In, T, U, E>
impl<Inner, Outer> Clone for Stack<Inner, Outer>
impl<K> Clone for std::collections::hash::set::Iter<'_, K>
impl<K> Clone for Iter<'_, K>
impl<K, V> Clone for alloc::collections::btree::map::Cursor<'_, K, V>
impl<K, V> Clone for alloc::collections::btree::map::Iter<'_, K, V>
impl<K, V> Clone for alloc::collections::btree::map::Keys<'_, K, V>
impl<K, V> Clone for alloc::collections::btree::map::Range<'_, K, V>
impl<K, V> Clone for alloc::collections::btree::map::Values<'_, K, V>
impl<K, V> Clone for std::collections::hash::map::Iter<'_, K, V>
impl<K, V> Clone for std::collections::hash::map::Keys<'_, K, V>
impl<K, V> Clone for std::collections::hash::map::Values<'_, K, V>
impl<K, V> Clone for Box<Slice<K, V>>
impl<K, V> Clone for Change<K, V>
impl<K, V> Clone for Change<K, V>
impl<K, V> Clone for IntoIter<K, V>
impl<K, V> Clone for IntoKeys<K, V>where
K: Clone,
impl<K, V> Clone for IntoValues<K, V>where
V: Clone,
impl<K, V> Clone for Iter<'_, K, V>
impl<K, V> Clone for Iter<'_, K, V>
impl<K, V> Clone for Keys<'_, K, V>
impl<K, V> Clone for Keys<'_, K, V>
impl<K, V> Clone for Values<'_, K, V>
impl<K, V> Clone for Values<'_, K, V>
impl<K, V, A> Clone for BTreeMap<K, V, A>
impl<K, V, S> Clone for std::collections::hash::map::HashMap<K, V, S>
impl<K, V, S> Clone for IndexMap<K, V, S>
impl<K, V, S, A> Clone for HashMap<K, V, S, A>
impl<L> Clone for Server<L>where
L: Clone,
impl<L> Clone for ServiceBuilder<L>where
L: Clone,
impl<L, H, T, S> Clone for Layered<L, H, T, S>
impl<L, R> Clone for Either<L, R>
impl<L, R> Clone for Either<L, R>
impl<M, Request> Clone for IntoService<M, Request>where
M: Clone,
impl<Ptr> Clone for Pin<Ptr>where
Ptr: Clone,
impl<R> Clone for HttpConnector<R>where
R: Clone,
impl<Req, F> Clone for Buffer<Req, F>
impl<Request> Clone for BufferLayer<Request>
impl<S> Clone for IntoMakeService<S>where
S: Clone,
impl<S> Clone for LoadShed<S>where
S: Clone,
impl<S> Clone for PollImmediate<S>where
S: Clone,
impl<S> Clone for RecoverError<S>where
S: Clone,
impl<S> Clone for ResponseAxumBody<S>where
S: Clone,
impl<S> Clone for Router<S>
impl<S> Clone for Sse<S>where
S: Clone,
impl<S> Clone for State<S>where
S: Clone,
impl<S> Clone for StreamBody<S>where
S: Clone,
impl<S> Clone for TowerToHyperService<S>where
S: Clone,
impl<S, E> Clone for MethodRouter<S, E>
impl<S, F> Clone for AndThen<S, F>
impl<S, F> Clone for MapErr<S, F>
impl<S, F> Clone for MapFuture<S, F>
impl<S, F> Clone for MapRequest<S, F>
impl<S, F> Clone for MapResponse<S, F>
impl<S, F> Clone for MapResult<S, F>
impl<S, F> Clone for Then<S, F>
impl<S, F, T> Clone for HandleError<S, F, T>
impl<S, I> Clone for InterceptedService<S, I>
impl<S, Req> Clone for MakeBalance<S, Req>where
S: Clone,
impl<S, T> Clone for AddExtension<S, T>
impl<S, T> Clone for Layered<S, T>
impl<Si, F> Clone for SinkMapErr<Si, F>
impl<Si, Item, U, Fut, F> Clone for With<Si, Item, U, Fut, F>
impl<T> !Clone for &mut Twhere
T: ?Sized,
Shared references can be cloned, but mutable references cannot!
impl<T> Clone for Option<T>where
T: Clone,
impl<T> Clone for Bound<T>where
T: Clone,
impl<T> Clone for Poll<T>where
T: Clone,
impl<T> Clone for std::sync::mpmc::error::SendTimeoutError<T>where
T: Clone,
impl<T> Clone for std::sync::mpsc::TrySendError<T>where
T: Clone,
impl<T> Clone for LocalResult<T>where
T: Clone,
impl<T> Clone for *const Twhere
T: ?Sized,
impl<T> Clone for *mut Twhere
T: ?Sized,
impl<T> Clone for &Twhere
T: ?Sized,
Shared references can be cloned, but mutable references cannot!
impl<T> Clone for alloc::collections::binary_heap::Iter<'_, T>
impl<T> Clone for alloc::collections::btree::set::Iter<'_, T>
impl<T> Clone for alloc::collections::btree::set::Range<'_, T>
impl<T> Clone for alloc::collections::btree::set::SymmetricDifference<'_, T>
impl<T> Clone for alloc::collections::btree::set::Union<'_, T>
impl<T> Clone for alloc::collections::linked_list::Iter<'_, T>
impl<T> Clone for alloc::collections::vec_deque::iter::Iter<'_, T>
impl<T> Clone for core::cell::once::OnceCell<T>where
T: Clone,
impl<T> Clone for Cell<T>where
T: Copy,
impl<T> Clone for RefCell<T>where
T: Clone,
impl<T> Clone for Reverse<T>where
T: Clone,
impl<T> Clone for core::future::pending::Pending<T>
impl<T> Clone for core::future::ready::Ready<T>where
T: Clone,
impl<T> Clone for Rev<T>where
T: Clone,
impl<T> Clone for core::iter::sources::empty::Empty<T>
impl<T> Clone for Once<T>where
T: Clone,
impl<T> Clone for PhantomData<T>where
T: ?Sized,
impl<T> Clone for PhantomContravariant<T>where
T: ?Sized,
impl<T> Clone for PhantomCovariant<T>where
T: ?Sized,
impl<T> Clone for PhantomInvariant<T>where
T: ?Sized,
impl<T> Clone for ManuallyDrop<T>
impl<T> Clone for Discriminant<T>
impl<T> Clone for NonZero<T>where
T: ZeroablePrimitive,
impl<T> Clone for Saturating<T>where
T: Clone,
impl<T> Clone for Wrapping<T>where
T: Clone,
impl<T> Clone for NonNull<T>where
T: ?Sized,
impl<T> Clone for core::result::IntoIter<T>where
T: Clone,
impl<T> Clone for core::result::Iter<'_, T>
impl<T> Clone for Chunks<'_, T>
impl<T> Clone for ChunksExact<'_, T>
impl<T> Clone for core::slice::iter::Iter<'_, T>
impl<T> Clone for RChunks<'_, T>
impl<T> Clone for Windows<'_, T>
impl<T> Clone for Exclusive<T>
impl<T> Clone for std::io::cursor::Cursor<T>where
T: Clone,
impl<T> Clone for std::sync::mpmc::Receiver<T>
impl<T> Clone for std::sync::mpmc::Sender<T>
impl<T> Clone for std::sync::mpsc::SendError<T>where
T: Clone,
impl<T> Clone for std::sync::mpsc::Sender<T>
impl<T> Clone for SyncSender<T>
impl<T> Clone for OnceLock<T>where
T: Clone,
impl<T> Clone for ProstEncoder<T>where
T: Clone,
impl<T> Clone for Box<Slice<T>>where
T: Clone,
impl<T> Clone for AbciApplicationServer<T>
impl<T> Clone for MaybeUninit<T>where
T: Copy,
impl<T> Clone for Abortable<T>where
T: Clone,
impl<T> Clone for AllowStdIo<T>where
T: Clone,
impl<T> Clone for ConcurrencyLimit<T>where
T: Clone,
impl<T> Clone for Cursor<T>where
T: Clone,
impl<T> Clone for DebugValue<T>
impl<T> Clone for DisplayValue<T>
impl<T> Clone for Drain<T>
impl<T> Clone for Empty<T>
impl<T> Clone for Extension<T>where
T: Clone,
impl<T> Clone for Grpc<T>where
T: Clone,
impl<T> Clone for HeaderMap<T>where
T: Clone,
impl<T> Clone for Html<T>where
T: Clone,
impl<T> Clone for Instrumented<T>where
T: Clone,
impl<T> Clone for IntoIter<T>where
T: Clone,
impl<T> Clone for Iter<'_, T>
impl<T> Clone for Iter<'_, T>
impl<T> Clone for IterBuckets<'_, T>
impl<T> Clone for IterHashBuckets<'_, T>
impl<T> Clone for Metadata<'_, T>where
T: SmartDisplay,
<T as SmartDisplay>::Metadata: Clone,
impl<T> Clone for OnceBox<T>where
T: Clone,
impl<T> Clone for OnceCell<T>where
T: Clone,
impl<T> Clone for OnceCell<T>where
T: Clone,
impl<T> Clone for OnceCell<T>where
T: Clone,
impl<T> Clone for Pending<T>
impl<T> Clone for Pending<T>
impl<T> Clone for PollImmediate<T>where
T: Clone,
impl<T> Clone for PollSender<T>
impl<T> Clone for Ready<T>where
T: Clone,
impl<T> Clone for Receiver<T>
impl<T> Clone for Repeat<T>where
T: Clone,
impl<T> Clone for Request<T>where
T: Clone,
impl<T> Clone for Response<T>where
T: Clone,
impl<T> Clone for Router<T>where
T: Clone,
impl<T> Clone for SendError<T>where
T: Clone,
impl<T> Clone for SendError<T>where
T: Clone,
impl<T> Clone for SendTimeoutError<T>where
T: Clone,
impl<T> Clone for Sender<T>
impl<T> Clone for Sender<T>
impl<T> Clone for Sender<T>
impl<T> Clone for Sender<T>
impl<T> Clone for ServiceFn<T>where
T: Clone,
impl<T> Clone for SetOnce<T>where
T: Clone,
impl<T> Clone for Slab<T>where
T: Clone,
impl<T> Clone for Status<T>where
T: Clone,
impl<T> Clone for TimeoutConnector<T>where
T: Clone,
impl<T> Clone for TrySendError<T>where
T: Clone,
impl<T> Clone for TrySendError<T>where
T: Clone,
impl<T> Clone for UnboundedSender<T>
impl<T> Clone for UnboundedSender<T>
impl<T> Clone for WeakSender<T>
impl<T> Clone for WeakSender<T>
impl<T> Clone for WeakUnboundedSender<T>
impl<T> Clone for WithDispatch<T>where
T: Clone,
impl<T, A> Clone for BinaryHeap<T, A>
impl<T, A> Clone for alloc::collections::binary_heap::IntoIter<T, A>
impl<T, A> Clone for IntoIterSorted<T, A>
impl<T, A> Clone for BTreeSet<T, A>
impl<T, A> Clone for alloc::collections::btree::set::Difference<'_, T, A>
impl<T, A> Clone for alloc::collections::btree::set::Intersection<'_, T, A>
impl<T, A> Clone for alloc::collections::linked_list::Cursor<'_, T, A>where
A: Allocator,
impl<T, A> Clone for alloc::collections::linked_list::IntoIter<T, A>
impl<T, A> Clone for LinkedList<T, A>
impl<T, A> Clone for alloc::collections::vec_deque::into_iter::IntoIter<T, A>
impl<T, A> Clone for VecDeque<T, A>
impl<T, A> Clone for Rc<T, A>
impl<T, A> Clone for alloc::rc::Weak<T, A>
impl<T, A> Clone for Arc<T, A>
impl<T, A> Clone for alloc::sync::Weak<T, A>
impl<T, A> Clone for Box<[T], A>
no_global_oom_handling only.impl<T, A> Clone for Box<T, A>
no_global_oom_handling only.impl<T, A> Clone for Vec<T, A>
no_global_oom_handling only.impl<T, A> Clone for tenderdash_proto::vec::IntoIter<T, A>
no_global_oom_handling only.