Enum pallet_liquidity_pools::Message
source · pub enum Message<BatchContent = BatchMessages, ForwardContent = NonForwardMessage> {
Show 30 variants
Invalid,
MessageProof {
hash: [u8; 32],
},
InitiateMessageRecovery {
hash: [u8; 32],
router: [u8; 32],
},
DisputeMessageRecovery {
hash: [u8; 32],
router: [u8; 32],
},
Batch(BatchContent),
ScheduleUpgrade {
contract: [u8; 20],
},
CancelUpgrade {
contract: [u8; 20],
},
RecoverAssets {
contract: [u8; 32],
asset: [u8; 32],
recipient: [u8; 32],
amount: [u8; 32],
},
UpdateCentrifugeGasPrice {
price: u128,
},
AddAsset {
currency: u128,
evm_address: [u8; 20],
},
AddPool {
pool_id: u64,
},
AddTranche {
pool_id: u64,
tranche_id: [u8; 16],
token_name: [u8; 128],
token_symbol: [u8; 32],
decimals: u8,
hook: [u8; 32],
},
AllowAsset {
pool_id: u64,
currency: u128,
},
DisallowAsset {
pool_id: u64,
currency: u128,
},
UpdateTranchePrice {
pool_id: u64,
tranche_id: [u8; 16],
currency: u128,
price: u128,
computed_at: Seconds,
},
UpdateTrancheMetadata {
pool_id: u64,
tranche_id: [u8; 16],
token_name: [u8; 128],
token_symbol: [u8; 32],
},
UpdateTrancheHook {
pool_id: u64,
tranche_id: [u8; 16],
hook: [u8; 32],
},
TransferAssets {
currency: u128,
receiver: [u8; 32],
amount: u128,
},
TransferTrancheTokens {
pool_id: u64,
tranche_id: [u8; 16],
domain: SerializableDomain,
receiver: [u8; 32],
amount: u128,
},
UpdateRestriction {
pool_id: u64,
tranche_id: [u8; 16],
update: UpdateRestrictionMessage,
},
DepositRequest {
pool_id: u64,
tranche_id: [u8; 16],
investor: [u8; 32],
currency: u128,
amount: u128,
},
RedeemRequest {
pool_id: u64,
tranche_id: [u8; 16],
investor: [u8; 32],
currency: u128,
amount: u128,
},
FulfilledDepositRequest {
pool_id: u64,
tranche_id: [u8; 16],
investor: [u8; 32],
currency: u128,
currency_payout: u128,
tranche_tokens_payout: u128,
},
FulfilledRedeemRequest {
pool_id: u64,
tranche_id: [u8; 16],
investor: [u8; 32],
currency: u128,
currency_payout: u128,
tranche_tokens_payout: u128,
},
CancelDepositRequest {
pool_id: u64,
tranche_id: [u8; 16],
investor: [u8; 32],
currency: u128,
},
CancelRedeemRequest {
pool_id: u64,
tranche_id: [u8; 16],
investor: [u8; 32],
currency: u128,
},
FulfilledCancelDepositRequest {
pool_id: u64,
tranche_id: [u8; 16],
investor: [u8; 32],
currency: u128,
currency_payout: u128,
fulfilled_invest_amount: u128,
},
FulfilledCancelRedeemRequest {
pool_id: u64,
tranche_id: [u8; 16],
investor: [u8; 32],
currency: u128,
tranche_tokens_payout: u128,
},
TriggerRedeemRequest {
pool_id: u64,
tranche_id: [u8; 16],
investor: [u8; 32],
currency: u128,
amount: u128,
},
Forwarded {
source_domain: SerializableDomain,
forwarding_contract: H160,
message: ForwardContent,
},
}
Expand description
A LiquidityPools Message
Variants§
Invalid
MessageProof
Proof a message has been executed.
Directionality: Centrifuge <-> EVM Domain.
InitiateMessageRecovery
Fields
Initiate the recovery of a message.
Must only be callable by root.
Directionality: Centrifuge -> EVM Domain.
DisputeMessageRecovery
Fields
Dispute the recovery of a message.
Must only be callable by root.
Directionality: Centrifuge -> EVM Domain.
Batch(BatchContent)
A batch of ordered messages. Don’t allow nested batch messages.
ScheduleUpgrade
Schedules an EVM address to become rely-able by the gateway. Intended to be used via governance to execute EVM spells.
Directionality: Centrifuge -> EVM Domain.
CancelUpgrade
Cancel the scheduled process for an EVM address to become rely-able by the gateway. Intended to be used via governance to execute EVM spells.
Directionality: Centrifuge -> EVM Domain.
RecoverAssets
Fields
Allows Governance to recover ERC-20 assets sent to the wrong contract by mistake.
Directionality: Centrifuge -> EVM Domain.
UpdateCentrifugeGasPrice
Updates the gas price which should cover transaction fees on Centrifuge Chain side.
Directionality: Centrifuge -> EVM Domain.
AddAsset
Add a currency to a domain, i.e, register the mapping of a currency id to the corresponding EVM Address.
Directionality: Centrifuge -> EVM Domain.
AddPool
Add a pool to a domain.
Directionality: Centrifuge -> EVM Domain.
AddTranche
Fields
Add a tranche to an already existing pool on the target domain. The decimals of a tranche MUST be equal to the decimals of a pool. Thus, consuming domains MUST take care of storing the decimals upon receiving an AddPool message.
Directionality: Centrifuge -> EVM Domain.
AllowAsset
Allow a currency to be used as a pool currency and to invest in a pool.
Directionality: Centrifuge -> EVM Domain.
DisallowAsset
Disallow a currency to be used as a pool currency and to invest in a pool.
Directionality: Centrifuge -> EVM Domain.
UpdateTranchePrice
Fields
computed_at: Seconds
The timestamp at which the price was computed
Update the price of a tranche token on the target domain.
Directionality: Centrifuge -> EVM Domain.
UpdateTrancheMetadata
Updates the name and symbol of a tranche token.
NOTE: We do not allow updating the decimals as this would require migrating all associated balances.
Directionality: Centrifuge -> EVM Domain.
UpdateTrancheHook
Fields
TransferAssets
Transfer non-tranche tokens fungibles. For v2, it will only support stable-coins.
Directionality: Centrifuge <-> EVM Domain.
NOTE: Receiving domain must not accept every incoming token.
For Centrifuge -> EVM Domain: AddAsset
should have been called
beforehand. For Centrifuge <- EVM Domain: We can assume AddAsset
has been called for that domain already.
TransferTrancheTokens
Transfer tranche tokens between domains.
Directionality: Centrifuge <-> EVM Domain.
UpdateRestriction
Update the restriction on a foreign domain.
Directionality: Centrifuge -> EVM Domain.
DepositRequest
Increase the invest order amount for the specified pair of pool and tranche token.
Directionality: Centrifuge <- EVM Domain.
RedeemRequest
Increase the redeem order amount for the specified pair of pool and tranche token.
Directionality: Centrifuge <- EVM Domain.
FulfilledDepositRequest
Fields
The message sent back to the domain from which a DepositRequest
originated from after the deposit was fully processed during epoch
execution. Ensures the investor
gets the payout respective to
their investment.
Directionality: Centrifuge -> EVM Domain.
FulfilledRedeemRequest
Fields
The message sent back to the domain from which a RedeemRequest
originated from after the redemption was fully processed during epoch
execution. Ensures the investor
gets the payout respective to
their redemption.
Directionality: Centrifuge -> EVM Domain.
CancelDepositRequest
Cancel an unprocessed invest order for the specified pair of pool and tranche token.
On success, triggers a message sent back to the sending domain.
The message will take care of re-funding the investor with the given
amount the order was reduced with. The investor
address is used as
the receiver of that tokens.
Directionality: Centrifuge <- EVM Domain.
CancelRedeemRequest
Cancel an unprocessed redemption for the specified pair of pool and tranche token.
On success, triggers a message sent back to the sending domain.
The message will take care of re-funding the investor with the given
amount the order was reduced with. The investor
address is used as
the receiver of that tokens.
Directionality: Centrifuge <- EVM Domain.
FulfilledCancelDepositRequest
Fields
The message sent back to the domain from which a CancelDepositRequest
message was received, ensuring the correct state update on said domain
and that the investor
’s wallet is updated accordingly.
Directionality: Centrifuge -> EVM Domain.
FulfilledCancelRedeemRequest
Fields
The message sent back to the domain from which a CancelRedeemRequest
message was received, ensuring the correct state update on said domain
and that the investor
’s wallet is updated accordingly.
Directionality: Centrifuge -> EVM Domain.
TriggerRedeemRequest
Fields
Forwarded
A wrapped Message which was forwarded from the source domain via the contract.
Directionality: Centrifuge <-> EVM Domain.
Trait Implementations§
source§impl<BatchContent: Clone, ForwardContent: Clone> Clone for Message<BatchContent, ForwardContent>
impl<BatchContent: Clone, ForwardContent: Clone> Clone for Message<BatchContent, ForwardContent>
source§impl<BatchContent, ForwardContent> Decode for Message<BatchContent, ForwardContent>where
BatchContent: Decode,
ForwardContent: Decode,
impl<BatchContent, ForwardContent> Decode for Message<BatchContent, ForwardContent>where
BatchContent: Decode,
ForwardContent: Decode,
source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>
§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
§fn skip<I>(input: &mut I) -> Result<(), Error>where
I: Input,
fn skip<I>(input: &mut I) -> Result<(), Error>where
I: Input,
§fn encoded_fixed_size() -> Option<usize>
fn encoded_fixed_size() -> Option<usize>
source§impl<'de, BatchContent, ForwardContent> Deserialize<'de> for Message<BatchContent, ForwardContent>where
BatchContent: Deserialize<'de>,
ForwardContent: Deserialize<'de>,
impl<'de, BatchContent, ForwardContent> Deserialize<'de> for Message<BatchContent, ForwardContent>where
BatchContent: Deserialize<'de>,
ForwardContent: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl<BatchContent, ForwardContent> Encode for Message<BatchContent, ForwardContent>where
BatchContent: Encode,
ForwardContent: Encode,
impl<BatchContent, ForwardContent> Encode for Message<BatchContent, ForwardContent>where
BatchContent: Encode,
ForwardContent: Encode,
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )
§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
source§impl LpMessageBatch for Message
impl LpMessageBatch for Message
source§impl LpMessageForwarded for Message
impl LpMessageForwarded for Message
type Domain = Domain
source§fn is_forwarded(&self) -> bool
fn is_forwarded(&self) -> bool
source§fn unwrap_forwarded(self) -> Option<(Domain, H160, Self)>
fn unwrap_forwarded(self) -> Option<(Domain, H160, Self)>
source§fn try_wrap_forward(
source_domain: Domain,
forwarding_contract: H160,
message: Self
) -> Result<Self, DispatchError>
fn try_wrap_forward( source_domain: Domain, forwarding_contract: H160, message: Self ) -> Result<Self, DispatchError>
source§impl LpMessageHash for Message
impl LpMessageHash for Message
source§fn get_message_hash(&self) -> MessageHash
fn get_message_hash(&self) -> MessageHash
source§impl LpMessageProof for Message
impl LpMessageProof for Message
source§fn is_proof_message(&self) -> bool
fn is_proof_message(&self) -> bool
source§fn to_proof_message(&self) -> Self
fn to_proof_message(&self) -> Self
source§impl<BatchContent, ForwardContent> MaxEncodedLen for Message<BatchContent, ForwardContent>where
BatchContent: MaxEncodedLen,
ForwardContent: MaxEncodedLen,
impl<BatchContent, ForwardContent> MaxEncodedLen for Message<BatchContent, ForwardContent>where
BatchContent: MaxEncodedLen,
ForwardContent: MaxEncodedLen,
source§fn max_encoded_len() -> usize
fn max_encoded_len() -> usize
source§impl<BatchContent: PartialEq, ForwardContent: PartialEq> PartialEq for Message<BatchContent, ForwardContent>
impl<BatchContent: PartialEq, ForwardContent: PartialEq> PartialEq for Message<BatchContent, ForwardContent>
source§impl<BatchContent, ForwardContent> TypeInfo for Message<BatchContent, ForwardContent>where
BatchContent: TypeInfo + 'static,
ForwardContent: TypeInfo + 'static,
impl<BatchContent, ForwardContent> TypeInfo for Message<BatchContent, ForwardContent>where
BatchContent: TypeInfo + 'static,
ForwardContent: TypeInfo + 'static,
impl<BatchContent, ForwardContent> EncodeLike for Message<BatchContent, ForwardContent>where
BatchContent: Encode,
ForwardContent: Encode,
impl<BatchContent: Eq, ForwardContent: Eq> Eq for Message<BatchContent, ForwardContent>
impl<BatchContent, ForwardContent> StructuralPartialEq for Message<BatchContent, ForwardContent>
Auto Trait Implementations§
impl<BatchContent, ForwardContent> RefUnwindSafe for Message<BatchContent, ForwardContent>where
BatchContent: RefUnwindSafe,
ForwardContent: RefUnwindSafe,
impl<BatchContent, ForwardContent> Send for Message<BatchContent, ForwardContent>
impl<BatchContent, ForwardContent> Sync for Message<BatchContent, ForwardContent>
impl<BatchContent, ForwardContent> Unpin for Message<BatchContent, ForwardContent>
impl<BatchContent, ForwardContent> UnwindSafe for Message<BatchContent, ForwardContent>where
BatchContent: UnwindSafe,
ForwardContent: UnwindSafe,
Blanket Implementations§
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<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
§impl<T> Clear for T
impl<T> Clear for T
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> DecodeAll for Twhere
T: Decode,
impl<T> DecodeAll for Twhere
T: Decode,
§fn decode_all(input: &mut &[u8]) -> Result<T, Error>
fn decode_all(input: &mut &[u8]) -> Result<T, Error>
Self
and consume all of the given input data. Read more§impl<T> DecodeLimit for Twhere
T: Decode,
impl<T> DecodeLimit for Twhere
T: Decode,
§impl<T> EncodeAs<T> for Twhere
T: Encode,
impl<T> EncodeAs<T> for Twhere
T: Encode,
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§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> 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> Hashable for Twhere
T: Codec,
impl<T> Hashable for Twhere
T: Codec,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> KeyedVec for Twhere
T: Codec,
impl<T> KeyedVec for Twhere
T: Codec,
§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> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T
. Read more§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, U> TryInto2<U> for Twhere
U: TryFrom2<T>,
impl<T, U> TryInto2<U> for Twhere
U: TryFrom2<T>,
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.