Struct Recovered
pub struct Recovered<T> { /* private fields */ }Expand description
A signed object paired with a previously recovered signer.
The signer is cached metadata and is not recomputed. Mapping or mutating the inner value is valid only when it preserves the signed payload and signature preimage.
Implementations§
§impl<T> Recovered<T>
impl<T> Recovered<T>
pub const fn signer(&self) -> Address
pub const fn signer(&self) -> Address
Signer of the object recovered from signature
pub const fn signer_ref(&self) -> &Address
pub const fn signer_ref(&self) -> &Address
Reference to the signer of the object recovered from signature
pub const fn inner_mut(&mut self) -> &mut T
pub const fn inner_mut(&mut self) -> &mut T
Returns a mutable reference to the inner recovered object.
This does not update or invalidate the cached signer.
pub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Reference to the inner signed object.
pub fn clone_inner(&self) -> Twhere
T: Clone,
pub fn clone_inner(&self) -> Twhere
T: Clone,
Clone the inner signed object.
pub fn into_parts(self) -> (T, Address)
pub fn into_parts(self) -> (T, Address)
Dissolve Self to its component
pub const fn as_recovered_ref(&self) -> Recovered<&T>
pub const fn as_recovered_ref(&self) -> Recovered<&T>
Converts from &Recovered<T> to Recovered<&T>.
pub const fn new_unchecked(inner: T, signer: Address) -> Recovered<T>
pub const fn new_unchecked(inner: T, signer: Address) -> Recovered<T>
Create Recovered from the given transaction and [Address] of the signer.
Note: This does not check if the signer is the actual signer of the transaction.
pub fn convert<Tx>(self) -> Recovered<Tx>where
Tx: From<T>,
pub fn convert<Tx>(self) -> Recovered<Tx>where
Tx: From<T>,
Converts the inner signed object while preserving the signer without validation.
pub fn try_convert<Tx>(self) -> Result<Recovered<Tx>, <Tx as TryFrom<T>>::Error>where
Tx: TryFrom<T>,
pub fn try_convert<Tx>(self) -> Result<Recovered<Tx>, <Tx as TryFrom<T>>::Error>where
Tx: TryFrom<T>,
Fallibly converts the inner signed object while preserving the signer without validation.
pub fn map<Tx>(self, f: impl FnOnce(T) -> Tx) -> Recovered<Tx>
pub fn map<Tx>(self, f: impl FnOnce(T) -> Tx) -> Recovered<Tx>
Applies a closure while preserving the signer without validation.
pub fn try_map<Tx, E>(
self,
f: impl FnOnce(T) -> Result<Tx, E>,
) -> Result<Recovered<Tx>, E>
pub fn try_map<Tx, E>( self, f: impl FnOnce(T) -> Result<Tx, E>, ) -> Result<Recovered<Tx>, E>
Applies a fallible closure while preserving the signer without validation.
pub fn into_encoded_with(
self,
encoding: impl Into<Bytes>,
) -> WithEncoded<Recovered<T>>
pub fn into_encoded_with( self, encoding: impl Into<Bytes>, ) -> WithEncoded<Recovered<T>>
Returns the WithEncoded representation of Recovered with the given encoding.
pub fn into_encoded(self) -> WithEncoded<Recovered<T>>where
T: Encodable2718,
pub fn into_encoded(self) -> WithEncoded<Recovered<T>>where
T: Encodable2718,
Encodes the inner type and returns the WithEncoded representation of Recovered.
Trait Implementations§
§impl<'arbitrary, T> Arbitrary<'arbitrary> for Recovered<T>where
T: Arbitrary<'arbitrary>,
impl<'arbitrary, T> Arbitrary<'arbitrary> for Recovered<T>where
T: Arbitrary<'arbitrary>,
§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Recovered<T>, Error>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Recovered<T>, Error>
Self from the given unstructured data. Read more§fn arbitrary_take_rest(
u: Unstructured<'arbitrary>,
) -> Result<Recovered<T>, Error>
fn arbitrary_take_rest( u: Unstructured<'arbitrary>, ) -> Result<Recovered<T>, Error>
Self from the entirety of the given
unstructured data. Read more§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Unstructured this type
needs to construct itself. Read more§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Unstructured this type
needs to construct itself. Read moreimpl<T> Copy for Recovered<T>where
T: Copy,
§impl<T> Decodable for Recovered<T>where
T: Decodable + SignerRecoverable,
impl<T> Decodable for Recovered<T>where
T: Decodable + SignerRecoverable,
§impl<'de, T> Deserialize<'de> for Recovered<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Recovered<T>where
T: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Recovered<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Recovered<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl<T> Encodable2718 for Recovered<T>where
T: Encodable2718,
impl<T> Encodable2718 for Recovered<T>where
T: Encodable2718,
§fn encode_2718_len(&self) -> usize
fn encode_2718_len(&self) -> usize
§fn encode_2718(&self, out: &mut dyn BufMut)
fn encode_2718(&self, out: &mut dyn BufMut)
§fn trie_hash(&self) -> FixedBytes<32>
fn trie_hash(&self) -> FixedBytes<32>
§fn encoded_2718(&self) -> Vec<u8> ⓘ
fn encoded_2718(&self) -> Vec<u8> ⓘ
§fn into_encoded(self) -> WithEncoded<Self>
fn into_encoded(self) -> WithEncoded<Self>
WithEncoded wrapper. Read more§fn network_len(&self) -> usize
fn network_len(&self) -> usize
§fn network_encode(&self, out: &mut dyn BufMut)
fn network_encode(&self, out: &mut dyn BufMut)
impl<T> Eq for Recovered<T>where
T: Eq,
§impl<'a, E> ExecutableTx<E> for &'a Recovered<<E as BlockExecutor>::Transaction>
impl<'a, E> ExecutableTx<E> for &'a Recovered<<E as BlockExecutor>::Transaction>
§fn into_parts(
self,
) -> (Recovered<<<E as BlockExecutor>::EvmTypes as EvmTypesHost>::Tx>, &'a <E as BlockExecutor>::Transaction)
fn into_parts( self, ) -> (Recovered<<<E as BlockExecutor>::EvmTypes as EvmTypesHost>::Tx>, &'a <E as BlockExecutor>::Transaction)
Source§impl<T, TxEnv> ExecutableTxParts<TxEnv, T> for Recovered<T>where
T: Clone,
TxEnv: FromRecoveredTx<T>,
impl<T, TxEnv> ExecutableTxParts<TxEnv, T> for Recovered<T>where
T: Clone,
TxEnv: FromRecoveredTx<T>,
Source§impl<T, TxEnv> ExecutableTxParts<TxEnv, T> for Recovered<&T>where
T: Clone,
TxEnv: FromRecoveredTx<T>,
impl<T, TxEnv> ExecutableTxParts<TxEnv, T> for Recovered<&T>where
T: Clone,
TxEnv: FromRecoveredTx<T>,
Source§impl From<MockTransaction> for Recovered<EthereumTxEnvelope<TxEip4844>>
impl From<MockTransaction> for Recovered<EthereumTxEnvelope<TxEip4844>>
Source§fn from(tx: MockTransaction) -> Recovered<EthereumTxEnvelope<TxEip4844>>
fn from(tx: MockTransaction) -> Recovered<EthereumTxEnvelope<TxEip4844>>
Source§impl From<Recovered<EthereumTxEnvelope<TxEip4844WithSidecar>>> for MockTransaction
impl From<Recovered<EthereumTxEnvelope<TxEip4844WithSidecar>>> for MockTransaction
Source§fn from(
tx: Recovered<EthereumTxEnvelope<TxEip4844WithSidecar>>,
) -> MockTransaction
fn from( tx: Recovered<EthereumTxEnvelope<TxEip4844WithSidecar>>, ) -> MockTransaction
§impl<T> From<Recovered<T>> for TransactionRequestwhere
T: Transaction,
impl<T> From<Recovered<T>> for TransactionRequestwhere
T: Transaction,
§fn from(tx: Recovered<T>) -> TransactionRequest
fn from(tx: Recovered<T>) -> TransactionRequest
§impl<T> From<Transaction<T>> for Recovered<T>
impl<T> From<Transaction<T>> for Recovered<T>
§fn from(tx: Transaction<T>) -> Recovered<T>
fn from(tx: Transaction<T>) -> Recovered<T>
Source§impl<T> From<TransactionSource<T>> for Recovered<T>
impl<T> From<TransactionSource<T>> for Recovered<T>
Source§fn from(value: TransactionSource<T>) -> Recovered<T>
fn from(value: TransactionSource<T>) -> Recovered<T>
Source§impl<T, TxEnv> FromRecoveredTx<T> for Recovered<TxEnv>where
TxEnv: FromRecoveredTx<T>,
impl<T, TxEnv> FromRecoveredTx<T> for Recovered<TxEnv>where
TxEnv: FromRecoveredTx<T>,
Source§fn from_recovered_tx(tx: Recovered<T>) -> Recovered<TxEnv>
fn from_recovered_tx(tx: Recovered<T>) -> Recovered<TxEnv>
Source§impl<T, TxEnv> FromTxWithEncoded<T> for Recovered<TxEnv>where
TxEnv: FromTxWithEncoded<T>,
impl<T, TxEnv> FromTxWithEncoded<T> for Recovered<TxEnv>where
TxEnv: FromTxWithEncoded<T>,
Source§fn from_tx_with_encoded(tx: WithEncoded<Recovered<T>>) -> Recovered<TxEnv>
fn from_tx_with_encoded(tx: WithEncoded<Recovered<T>>) -> Recovered<TxEnv>
Source§impl<T, TxEnv> IntoTxEnv<TxEnv> for Recovered<T>where
TxEnv: FromRecoveredTx<T>,
impl<T, TxEnv> IntoTxEnv<TxEnv> for Recovered<T>where
TxEnv: FromRecoveredTx<T>,
Source§fn into_tx_env(self) -> TxEnv
fn into_tx_env(self) -> TxEnv
Source§impl<T> RecoveredTx<T> for Recovered<&T>
impl<T> RecoveredTx<T> for Recovered<&T>
Source§impl<T> RecoveredTx<T> for Recovered<Arc<T>>
impl<T> RecoveredTx<T> for Recovered<Arc<T>>
Source§impl<T> RecoveredTx<T> for Recovered<T>
impl<T> RecoveredTx<T> for Recovered<T>
§impl<T> Serialize for Recovered<T>where
T: Serialize,
impl<T> Serialize for Recovered<T>where
T: Serialize,
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl<T> StructuralPartialEq for Recovered<T>where
T: PartialEq,
Source§impl TryFrom<Recovered<EthereumTxEnvelope<TxEip4844>>> for MockTransaction
impl TryFrom<Recovered<EthereumTxEnvelope<TxEip4844>>> for MockTransaction
Source§type Error = TryFromRecoveredTransactionError
type Error = TryFromRecoveredTransactionError
Source§fn try_from(
tx: Recovered<EthereumTxEnvelope<TxEip4844>>,
) -> Result<MockTransaction, <MockTransaction as TryFrom<Recovered<EthereumTxEnvelope<TxEip4844>>>>::Error>
fn try_from( tx: Recovered<EthereumTxEnvelope<TxEip4844>>, ) -> Result<MockTransaction, <MockTransaction as TryFrom<Recovered<EthereumTxEnvelope<TxEip4844>>>>::Error>
Source§impl TryFrom<Recovered<EthereumTxEnvelope<TxEip4844Variant>>> for MockTransaction
impl TryFrom<Recovered<EthereumTxEnvelope<TxEip4844Variant>>> for MockTransaction
Source§type Error = TryFromRecoveredTransactionError
type Error = TryFromRecoveredTransactionError
Source§fn try_from(
tx: Recovered<EthereumTxEnvelope<TxEip4844Variant>>,
) -> Result<MockTransaction, <MockTransaction as TryFrom<Recovered<EthereumTxEnvelope<TxEip4844Variant>>>>::Error>
fn try_from( tx: Recovered<EthereumTxEnvelope<TxEip4844Variant>>, ) -> Result<MockTransaction, <MockTransaction as TryFrom<Recovered<EthereumTxEnvelope<TxEip4844Variant>>>>::Error>
Source§impl<Env> TryIntoTxEnv<Recovered<TxEnvelope>, Env> for TransactionRequestwhere
Env: EvmEnv,
impl<Env> TryIntoTxEnv<Recovered<TxEnvelope>, Env> for TransactionRequestwhere
Env: EvmEnv,
Source§type Err = EthTxEnvError
type Err = EthTxEnvError
Source§fn try_into_tx_env(
self,
evm_env: &Env,
) -> Result<Recovered<TxEnvelope>, <TransactionRequest as TryIntoTxEnv<Recovered<TxEnvelope>, Env>>::Err>
fn try_into_tx_env( self, evm_env: &Env, ) -> Result<Recovered<TxEnvelope>, <TransactionRequest as TryIntoTxEnv<Recovered<TxEnvelope>, Env>>::Err>
§impl<T> Typed2718 for Recovered<T>where
T: Typed2718,
impl<T> Typed2718 for Recovered<T>where
T: Typed2718,
§fn is_eip2930(&self) -> bool
fn is_eip2930(&self) -> bool
§fn is_eip1559(&self) -> bool
fn is_eip1559(&self) -> bool
§fn is_eip4844(&self) -> bool
fn is_eip4844(&self) -> bool
§fn is_eip7702(&self) -> bool
fn is_eip7702(&self) -> bool
Auto Trait Implementations§
impl<T> Freeze for Recovered<T>where
T: Freeze,
impl<T> RefUnwindSafe for Recovered<T>where
T: RefUnwindSafe,
impl<T> Send for Recovered<T>where
T: Send,
impl<T> Sync for Recovered<T>where
T: Sync,
impl<T> Unpin for Recovered<T>where
T: Unpin,
impl<T> UnsafeUnpin for Recovered<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Recovered<T>where
T: UnwindSafe,
Blanket Implementations§
impl<A> ArbInterop for A
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<'de, T> BorrowedRpcObject<'de> for Twhere
T: RpcBorrow<'de> + RpcSend,
impl<T> BroadcastPoolTransaction for T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
impl<T, Evm> ExecutableTxFor<Evm> for Twhere
Evm: ConfigureEvm,
T: ExecutableTxParts<Recovered<<<<Evm as ConfigureEvm>::BlockExecutorFactory as BlockExecutorFactory>::EvmTypes as EvmTypesHost>::Tx>, <<Evm as ConfigureEvm>::Primitives as NodePrimitives>::SignedTx> + RecoveredTx<<<Evm as ConfigureEvm>::Primitives as NodePrimitives>::SignedTx>,
impl<T, Executor> ExecutorTx<Executor> for Twhere
Executor: BlockExecutor,
T: ExecutableTxParts<Recovered<<<Executor as BlockExecutor>::Evm as Evm>::Transaction>, <Executor as BlockExecutor>::Transaction>,
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
impl<T> Formattable for T
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].impl<T> MaybeDebug for Twhere
T: Debug,
impl<T> MaybeSerde for Twhere
T: Serialize + for<'de> Deserialize<'de>,
impl<T> NippyJarHeader for T
impl<T> Parsable for T
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<'de, T> RpcBorrow<'de> for T
impl<T> RpcObject for Twhere
T: RpcSend + RpcRecv,
impl<T> RpcRecv for T
impl<T> RpcSend for T
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.