#[non_exhaustive]pub struct SystemEpochInfo {
pub total_stake: Option<u64>,
pub storage_fund_reinvestment: Option<u64>,
pub storage_charge: Option<u64>,
pub storage_rebate: Option<u64>,
pub storage_fund_balance: Option<u64>,
pub stake_subsidy_amount: Option<u64>,
pub total_gas_fees: Option<u64>,
pub total_stake_rewards_distributed: Option<u64>,
pub leftover_storage_fund_inflow: Option<u64>,
}Expand description
Totals reported by SystemEpochInfoEvent at the end of an epoch. Amounts
are denominated in MIST.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.total_stake: Option<u64>Total stake of the validator set for the next epoch.
storage_fund_reinvestment: Option<u64>Portion of the epoch’s computation rewards reinvested into the storage fund.
storage_charge: Option<u64>Storage fees charged during the epoch, plus those deferred from any preceding epochs that ended in safe mode.
storage_rebate: Option<u64>Storage rebates paid out during the epoch, plus those deferred from any preceding epochs that ended in safe mode.
storage_fund_balance: Option<u64>Balance of the storage fund after the epoch change.
stake_subsidy_amount: Option<u64>Stake subsidy paid out at the end of the epoch.
total_gas_fees: Option<u64>Computation gas fees collected during the epoch, plus those deferred from any preceding epochs that ended in safe mode.
total_stake_rewards_distributed: Option<u64>Stake rewards distributed to validators and their stakers.
leftover_storage_fund_inflow: Option<u64>Rewards left over after distribution, added to the storage fund.
Implementations§
Source§impl SystemEpochInfo
impl SystemEpochInfo
pub const TOTAL_STAKE_FIELD: &'static MessageField
pub const STORAGE_FUND_REINVESTMENT_FIELD: &'static MessageField
pub const STORAGE_CHARGE_FIELD: &'static MessageField
pub const STORAGE_REBATE_FIELD: &'static MessageField
pub const STORAGE_FUND_BALANCE_FIELD: &'static MessageField
pub const STAKE_SUBSIDY_AMOUNT_FIELD: &'static MessageField
pub const TOTAL_GAS_FEES_FIELD: &'static MessageField
pub const TOTAL_STAKE_REWARDS_DISTRIBUTED_FIELD: &'static MessageField
pub const LEFTOVER_STORAGE_FUND_INFLOW_FIELD: &'static MessageField
Source§impl SystemEpochInfo
impl SystemEpochInfo
pub fn path_builder() -> SystemEpochInfoFieldPathBuilder
Source§impl SystemEpochInfo
impl SystemEpochInfo
pub const fn const_default() -> Self
Sourcepub fn total_stake_opt_mut(&mut self) -> Option<&mut u64>
pub fn total_stake_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn total_stake_mut(&mut self) -> &mut u64
pub fn total_stake_mut(&mut self) -> &mut u64
Returns a mutable reference to total_stake.
If the field is unset, it is first initialized with the default value.
Sourcepub fn total_stake_opt(&self) -> Option<u64>
pub fn total_stake_opt(&self) -> Option<u64>
Sourcepub fn set_total_stake(&mut self, field: u64)
pub fn set_total_stake(&mut self, field: u64)
Sets total_stake with the provided value.
Sourcepub fn with_total_stake(self, field: u64) -> Self
pub fn with_total_stake(self, field: u64) -> Self
Sets total_stake with the provided value.
Sourcepub fn storage_fund_reinvestment_opt_mut(&mut self) -> Option<&mut u64>
pub fn storage_fund_reinvestment_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn storage_fund_reinvestment_mut(&mut self) -> &mut u64
pub fn storage_fund_reinvestment_mut(&mut self) -> &mut u64
Returns a mutable reference to storage_fund_reinvestment.
If the field is unset, it is first initialized with the default value.
Sourcepub fn storage_fund_reinvestment_opt(&self) -> Option<u64>
pub fn storage_fund_reinvestment_opt(&self) -> Option<u64>
Sourcepub fn set_storage_fund_reinvestment(&mut self, field: u64)
pub fn set_storage_fund_reinvestment(&mut self, field: u64)
Sets storage_fund_reinvestment with the provided value.
Sourcepub fn with_storage_fund_reinvestment(self, field: u64) -> Self
pub fn with_storage_fund_reinvestment(self, field: u64) -> Self
Sets storage_fund_reinvestment with the provided value.
Sourcepub fn storage_charge_opt_mut(&mut self) -> Option<&mut u64>
pub fn storage_charge_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn storage_charge_mut(&mut self) -> &mut u64
pub fn storage_charge_mut(&mut self) -> &mut u64
Returns a mutable reference to storage_charge.
If the field is unset, it is first initialized with the default value.
Sourcepub fn storage_charge_opt(&self) -> Option<u64>
pub fn storage_charge_opt(&self) -> Option<u64>
Sourcepub fn set_storage_charge(&mut self, field: u64)
pub fn set_storage_charge(&mut self, field: u64)
Sets storage_charge with the provided value.
Sourcepub fn with_storage_charge(self, field: u64) -> Self
pub fn with_storage_charge(self, field: u64) -> Self
Sets storage_charge with the provided value.
Sourcepub fn storage_rebate_opt_mut(&mut self) -> Option<&mut u64>
pub fn storage_rebate_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn storage_rebate_mut(&mut self) -> &mut u64
pub fn storage_rebate_mut(&mut self) -> &mut u64
Returns a mutable reference to storage_rebate.
If the field is unset, it is first initialized with the default value.
Sourcepub fn storage_rebate_opt(&self) -> Option<u64>
pub fn storage_rebate_opt(&self) -> Option<u64>
Sourcepub fn set_storage_rebate(&mut self, field: u64)
pub fn set_storage_rebate(&mut self, field: u64)
Sets storage_rebate with the provided value.
Sourcepub fn with_storage_rebate(self, field: u64) -> Self
pub fn with_storage_rebate(self, field: u64) -> Self
Sets storage_rebate with the provided value.
Sourcepub fn storage_fund_balance_opt_mut(&mut self) -> Option<&mut u64>
pub fn storage_fund_balance_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn storage_fund_balance_mut(&mut self) -> &mut u64
pub fn storage_fund_balance_mut(&mut self) -> &mut u64
Returns a mutable reference to storage_fund_balance.
If the field is unset, it is first initialized with the default value.
Sourcepub fn storage_fund_balance_opt(&self) -> Option<u64>
pub fn storage_fund_balance_opt(&self) -> Option<u64>
Sourcepub fn set_storage_fund_balance(&mut self, field: u64)
pub fn set_storage_fund_balance(&mut self, field: u64)
Sets storage_fund_balance with the provided value.
Sourcepub fn with_storage_fund_balance(self, field: u64) -> Self
pub fn with_storage_fund_balance(self, field: u64) -> Self
Sets storage_fund_balance with the provided value.
Sourcepub fn stake_subsidy_amount_opt_mut(&mut self) -> Option<&mut u64>
pub fn stake_subsidy_amount_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn stake_subsidy_amount_mut(&mut self) -> &mut u64
pub fn stake_subsidy_amount_mut(&mut self) -> &mut u64
Returns a mutable reference to stake_subsidy_amount.
If the field is unset, it is first initialized with the default value.
Sourcepub fn stake_subsidy_amount_opt(&self) -> Option<u64>
pub fn stake_subsidy_amount_opt(&self) -> Option<u64>
Sourcepub fn set_stake_subsidy_amount(&mut self, field: u64)
pub fn set_stake_subsidy_amount(&mut self, field: u64)
Sets stake_subsidy_amount with the provided value.
Sourcepub fn with_stake_subsidy_amount(self, field: u64) -> Self
pub fn with_stake_subsidy_amount(self, field: u64) -> Self
Sets stake_subsidy_amount with the provided value.
Sourcepub fn total_gas_fees_opt_mut(&mut self) -> Option<&mut u64>
pub fn total_gas_fees_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn total_gas_fees_mut(&mut self) -> &mut u64
pub fn total_gas_fees_mut(&mut self) -> &mut u64
Returns a mutable reference to total_gas_fees.
If the field is unset, it is first initialized with the default value.
Sourcepub fn total_gas_fees_opt(&self) -> Option<u64>
pub fn total_gas_fees_opt(&self) -> Option<u64>
Sourcepub fn set_total_gas_fees(&mut self, field: u64)
pub fn set_total_gas_fees(&mut self, field: u64)
Sets total_gas_fees with the provided value.
Sourcepub fn with_total_gas_fees(self, field: u64) -> Self
pub fn with_total_gas_fees(self, field: u64) -> Self
Sets total_gas_fees with the provided value.
Sourcepub fn total_stake_rewards_distributed_opt_mut(&mut self) -> Option<&mut u64>
pub fn total_stake_rewards_distributed_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn total_stake_rewards_distributed_mut(&mut self) -> &mut u64
pub fn total_stake_rewards_distributed_mut(&mut self) -> &mut u64
Returns a mutable reference to total_stake_rewards_distributed.
If the field is unset, it is first initialized with the default value.
Sourcepub fn total_stake_rewards_distributed_opt(&self) -> Option<u64>
pub fn total_stake_rewards_distributed_opt(&self) -> Option<u64>
Sourcepub fn set_total_stake_rewards_distributed(&mut self, field: u64)
pub fn set_total_stake_rewards_distributed(&mut self, field: u64)
Sets total_stake_rewards_distributed with the provided value.
Sourcepub fn with_total_stake_rewards_distributed(self, field: u64) -> Self
pub fn with_total_stake_rewards_distributed(self, field: u64) -> Self
Sets total_stake_rewards_distributed with the provided value.
Sourcepub fn leftover_storage_fund_inflow_opt_mut(&mut self) -> Option<&mut u64>
pub fn leftover_storage_fund_inflow_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn leftover_storage_fund_inflow_mut(&mut self) -> &mut u64
pub fn leftover_storage_fund_inflow_mut(&mut self) -> &mut u64
Returns a mutable reference to leftover_storage_fund_inflow.
If the field is unset, it is first initialized with the default value.
Sourcepub fn leftover_storage_fund_inflow_opt(&self) -> Option<u64>
pub fn leftover_storage_fund_inflow_opt(&self) -> Option<u64>
Sourcepub fn set_leftover_storage_fund_inflow(&mut self, field: u64)
pub fn set_leftover_storage_fund_inflow(&mut self, field: u64)
Sets leftover_storage_fund_inflow with the provided value.
Sourcepub fn with_leftover_storage_fund_inflow(self, field: u64) -> Self
pub fn with_leftover_storage_fund_inflow(self, field: u64) -> Self
Sets leftover_storage_fund_inflow with the provided value.
Source§impl SystemEpochInfo
impl SystemEpochInfo
Sourcepub fn total_stake(&self) -> u64
pub fn total_stake(&self) -> u64
Returns the value of total_stake, or the default value if total_stake is unset.
Sourcepub fn storage_fund_reinvestment(&self) -> u64
pub fn storage_fund_reinvestment(&self) -> u64
Returns the value of storage_fund_reinvestment, or the default value if storage_fund_reinvestment is unset.
Sourcepub fn storage_charge(&self) -> u64
pub fn storage_charge(&self) -> u64
Returns the value of storage_charge, or the default value if storage_charge is unset.
Sourcepub fn storage_rebate(&self) -> u64
pub fn storage_rebate(&self) -> u64
Returns the value of storage_rebate, or the default value if storage_rebate is unset.
Sourcepub fn storage_fund_balance(&self) -> u64
pub fn storage_fund_balance(&self) -> u64
Returns the value of storage_fund_balance, or the default value if storage_fund_balance is unset.
Sourcepub fn stake_subsidy_amount(&self) -> u64
pub fn stake_subsidy_amount(&self) -> u64
Returns the value of stake_subsidy_amount, or the default value if stake_subsidy_amount is unset.
Sourcepub fn total_gas_fees(&self) -> u64
pub fn total_gas_fees(&self) -> u64
Returns the value of total_gas_fees, or the default value if total_gas_fees is unset.
Sourcepub fn total_stake_rewards_distributed(&self) -> u64
pub fn total_stake_rewards_distributed(&self) -> u64
Returns the value of total_stake_rewards_distributed, or the default value if total_stake_rewards_distributed is unset.
Sourcepub fn leftover_storage_fund_inflow(&self) -> u64
pub fn leftover_storage_fund_inflow(&self) -> u64
Returns the value of leftover_storage_fund_inflow, or the default value if leftover_storage_fund_inflow is unset.
Trait Implementations§
Source§impl Clone for SystemEpochInfo
impl Clone for SystemEpochInfo
impl Copy for SystemEpochInfo
Source§impl Debug for SystemEpochInfo
impl Debug for SystemEpochInfo
Source§impl Default for SystemEpochInfo
impl Default for SystemEpochInfo
§impl<'de> Deserialize<'de> for SystemEpochInfo
impl<'de> Deserialize<'de> for SystemEpochInfo
§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>,
impl Eq for SystemEpochInfo
Source§impl Hash for SystemEpochInfo
impl Hash for SystemEpochInfo
Source§impl Message for SystemEpochInfo
impl Message for SystemEpochInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl MessageFields for SystemEpochInfo
impl MessageFields for SystemEpochInfo
const FIELDS: &'static [&'static MessageField]
Source§impl PartialEq for SystemEpochInfo
impl PartialEq for SystemEpochInfo
§impl Serialize for SystemEpochInfo
impl Serialize for SystemEpochInfo
impl StructuralPartialEq for SystemEpochInfo
Auto Trait Implementations§
impl Freeze for SystemEpochInfo
impl RefUnwindSafe for SystemEpochInfo
impl Send for SystemEpochInfo
impl Sync for SystemEpochInfo
impl Unpin for SystemEpochInfo
impl UnsafeUnpin for SystemEpochInfo
impl UnwindSafe for SystemEpochInfo
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
U: Sized,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
U: Sized,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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<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
§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
Source§impl<'de, T> FromBcs for Twhere
T: Deserialize<'de>,
impl<'de, T> FromBcs for Twhere
T: Deserialize<'de>,
fn from_bcs<'de>(bytes: &'de [u8]) -> Result<Self, Error>where
Self: Deserialize<'de>,
fn from_bcs_base64(base64: &str) -> Result<Self, Error>where
Self: DeserializeOwned,
§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> 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> 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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§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.