pub enum StakeTableV3Errors {
Show 54 variants
AccessControlBadConfirmation(AccessControlBadConfirmation),
AccessControlUnauthorizedAccount(AccessControlUnauthorizedAccount),
AddressEmptyCode(AddressEmptyCode),
BLSSigIsInfinity(BLSSigIsInfinity),
BLSSigVerificationFailed(BLSSigVerificationFailed),
BLSVKIsInfinity(BLSVKIsInfinity),
BN254PairingProdFailed(BN254PairingProdFailed),
BlsKeyAlreadyUsed(BlsKeyAlreadyUsed),
CommissionAlreadyInitialized(CommissionAlreadyInitialized),
CommissionIncreaseExceedsMax(CommissionIncreaseExceedsMax),
CommissionUnchanged(CommissionUnchanged),
CommissionUpdateTooSoon(CommissionUpdateTooSoon),
DefaultAdminCannotBeRenounced(DefaultAdminCannotBeRenounced),
DefaultAdminCannotBeRevoked(DefaultAdminCannotBeRevoked),
DelegateAmountTooSmall(DelegateAmountTooSmall),
DeprecatedFunction(DeprecatedFunction),
ERC1967InvalidImplementation(ERC1967InvalidImplementation),
ERC1967NonPayable(ERC1967NonPayable),
EnforcedPause(EnforcedPause),
ExitEscrowPeriodInvalid(ExitEscrowPeriodInvalid),
ExpectedPause(ExpectedPause),
FailedInnerCall(FailedInnerCall),
InitialActiveStakeExceedsBalance(InitialActiveStakeExceedsBalance),
InsufficientAllowance(InsufficientAllowance),
InsufficientBalance(InsufficientBalance),
InvalidCommission(InvalidCommission),
InvalidG1(InvalidG1),
InvalidInitialization(InvalidInitialization),
InvalidMetadataUriLength(InvalidMetadataUriLength),
InvalidP2pAddr(InvalidP2pAddr),
InvalidRateLimitParameters(InvalidRateLimitParameters),
InvalidSchnorrSig(InvalidSchnorrSig),
InvalidSchnorrVK(InvalidSchnorrVK),
InvalidX25519Key(InvalidX25519Key),
MinDelegateAmountTooSmall(MinDelegateAmountTooSmall),
NoUndelegationFound(NoUndelegationFound),
NotInitializing(NotInitializing),
NothingToWithdraw(NothingToWithdraw),
OwnableInvalidOwner(OwnableInvalidOwner),
OwnableUnauthorizedAccount(OwnableUnauthorizedAccount),
OwnershipCannotBeRenounced(OwnershipCannotBeRenounced),
PowPrecompileFailed(PowPrecompileFailed),
PrematureWithdrawal(PrematureWithdrawal),
SchnorrKeyAlreadyUsed(SchnorrKeyAlreadyUsed),
UUPSUnauthorizedCallContext(UUPSUnauthorizedCallContext),
UUPSUnsupportedProxiableUUID(UUPSUnsupportedProxiableUUID),
UndelegationAlreadyExists(UndelegationAlreadyExists),
ValidatorAlreadyExited(ValidatorAlreadyExited),
ValidatorAlreadyRegistered(ValidatorAlreadyRegistered),
ValidatorInactive(ValidatorInactive),
ValidatorNotExited(ValidatorNotExited),
X25519KeyAlreadyUsed(X25519KeyAlreadyUsed),
ZeroAddress(ZeroAddress),
ZeroAmount(ZeroAmount),
}Expand description
Container for all the StakeTableV3 custom errors.
Variants§
AccessControlBadConfirmation(AccessControlBadConfirmation)
AddressEmptyCode(AddressEmptyCode)
BLSSigIsInfinity(BLSSigIsInfinity)
BLSSigVerificationFailed(BLSSigVerificationFailed)
BLSVKIsInfinity(BLSVKIsInfinity)
BN254PairingProdFailed(BN254PairingProdFailed)
BlsKeyAlreadyUsed(BlsKeyAlreadyUsed)
CommissionAlreadyInitialized(CommissionAlreadyInitialized)
CommissionIncreaseExceedsMax(CommissionIncreaseExceedsMax)
CommissionUnchanged(CommissionUnchanged)
CommissionUpdateTooSoon(CommissionUpdateTooSoon)
DefaultAdminCannotBeRenounced(DefaultAdminCannotBeRenounced)
DefaultAdminCannotBeRevoked(DefaultAdminCannotBeRevoked)
DelegateAmountTooSmall(DelegateAmountTooSmall)
DeprecatedFunction(DeprecatedFunction)
ERC1967InvalidImplementation(ERC1967InvalidImplementation)
ERC1967NonPayable(ERC1967NonPayable)
EnforcedPause(EnforcedPause)
ExitEscrowPeriodInvalid(ExitEscrowPeriodInvalid)
ExpectedPause(ExpectedPause)
FailedInnerCall(FailedInnerCall)
InitialActiveStakeExceedsBalance(InitialActiveStakeExceedsBalance)
InsufficientAllowance(InsufficientAllowance)
InsufficientBalance(InsufficientBalance)
InvalidCommission(InvalidCommission)
InvalidG1(InvalidG1)
InvalidInitialization(InvalidInitialization)
InvalidMetadataUriLength(InvalidMetadataUriLength)
InvalidP2pAddr(InvalidP2pAddr)
InvalidRateLimitParameters(InvalidRateLimitParameters)
InvalidSchnorrSig(InvalidSchnorrSig)
InvalidSchnorrVK(InvalidSchnorrVK)
InvalidX25519Key(InvalidX25519Key)
MinDelegateAmountTooSmall(MinDelegateAmountTooSmall)
NoUndelegationFound(NoUndelegationFound)
NotInitializing(NotInitializing)
NothingToWithdraw(NothingToWithdraw)
OwnableInvalidOwner(OwnableInvalidOwner)
OwnershipCannotBeRenounced(OwnershipCannotBeRenounced)
PowPrecompileFailed(PowPrecompileFailed)
PrematureWithdrawal(PrematureWithdrawal)
SchnorrKeyAlreadyUsed(SchnorrKeyAlreadyUsed)
UUPSUnsupportedProxiableUUID(UUPSUnsupportedProxiableUUID)
UndelegationAlreadyExists(UndelegationAlreadyExists)
ValidatorAlreadyExited(ValidatorAlreadyExited)
ValidatorAlreadyRegistered(ValidatorAlreadyRegistered)
ValidatorInactive(ValidatorInactive)
ValidatorNotExited(ValidatorNotExited)
X25519KeyAlreadyUsed(X25519KeyAlreadyUsed)
ZeroAddress(ZeroAddress)
ZeroAmount(ZeroAmount)
Implementations§
Source§impl StakeTableV3Errors
impl StakeTableV3Errors
Sourcepub const SELECTORS: &'static [[u8; 4]]
pub const SELECTORS: &'static [[u8; 4]]
All the selectors of this enum.
Note that the selectors might not be in the same order as the variants. No guarantees are made about the order of the selectors.
Prefer using SolInterface methods instead.
Sourcepub const VARIANT_NAMES: &'static [&'static str]
pub const VARIANT_NAMES: &'static [&'static str]
The names of the variants in the same order as SELECTORS.
Sourcepub const SIGNATURES: &'static [&'static str]
pub const SIGNATURES: &'static [&'static str]
The signatures in the same order as SELECTORS.
Source§impl StakeTableV3Errors
impl StakeTableV3Errors
Sourcepub fn access_control_bad_confirmation() -> Self
pub fn access_control_bad_confirmation() -> Self
Creates a AccessControlBadConfirmation error.
error AccessControlBadConfirmation()Creates a AccessControlUnauthorizedAccount error.
error AccessControlUnauthorizedAccount(address,bytes32)Sourcepub fn address_empty_code(target: Address) -> Self
pub fn address_empty_code(target: Address) -> Self
Creates a AddressEmptyCode error.
error AddressEmptyCode(address)Sourcepub fn bls_sig_is_infinity() -> Self
pub fn bls_sig_is_infinity() -> Self
Creates a BLSSigIsInfinity error.
error BLSSigIsInfinity()Sourcepub fn bls_sig_verification_failed() -> Self
pub fn bls_sig_verification_failed() -> Self
Creates a BLSSigVerificationFailed error.
error BLSSigVerificationFailed()Sourcepub fn blsvk_is_infinity() -> Self
pub fn blsvk_is_infinity() -> Self
Creates a BLSVKIsInfinity error.
error BLSVKIsInfinity()Sourcepub fn bn_254_pairing_prod_failed() -> Self
pub fn bn_254_pairing_prod_failed() -> Self
Creates a BN254PairingProdFailed error.
error BN254PairingProdFailed()Sourcepub fn bls_key_already_used() -> Self
pub fn bls_key_already_used() -> Self
Creates a BlsKeyAlreadyUsed error.
error BlsKeyAlreadyUsed()Sourcepub fn commission_already_initialized(validator: Address) -> Self
pub fn commission_already_initialized(validator: Address) -> Self
Creates a CommissionAlreadyInitialized error.
error CommissionAlreadyInitialized(address)Sourcepub fn commission_increase_exceeds_max() -> Self
pub fn commission_increase_exceeds_max() -> Self
Creates a CommissionIncreaseExceedsMax error.
error CommissionIncreaseExceedsMax()Sourcepub fn commission_unchanged() -> Self
pub fn commission_unchanged() -> Self
Creates a CommissionUnchanged error.
error CommissionUnchanged()Sourcepub fn commission_update_too_soon() -> Self
pub fn commission_update_too_soon() -> Self
Creates a CommissionUpdateTooSoon error.
error CommissionUpdateTooSoon()Sourcepub fn default_admin_cannot_be_renounced() -> Self
pub fn default_admin_cannot_be_renounced() -> Self
Creates a DefaultAdminCannotBeRenounced error.
error DefaultAdminCannotBeRenounced()Sourcepub fn default_admin_cannot_be_revoked() -> Self
pub fn default_admin_cannot_be_revoked() -> Self
Creates a DefaultAdminCannotBeRevoked error.
error DefaultAdminCannotBeRevoked()Sourcepub fn delegate_amount_too_small() -> Self
pub fn delegate_amount_too_small() -> Self
Creates a DelegateAmountTooSmall error.
error DelegateAmountTooSmall()Sourcepub fn deprecated_function() -> Self
pub fn deprecated_function() -> Self
Creates a DeprecatedFunction error.
error DeprecatedFunction()Sourcepub fn erc_1967_invalid_implementation(implementation: Address) -> Self
pub fn erc_1967_invalid_implementation(implementation: Address) -> Self
Creates a ERC1967InvalidImplementation error.
error ERC1967InvalidImplementation(address)Sourcepub fn erc_1967_non_payable() -> Self
pub fn erc_1967_non_payable() -> Self
Creates a ERC1967NonPayable error.
error ERC1967NonPayable()Sourcepub fn enforced_pause() -> Self
pub fn enforced_pause() -> Self
Creates a EnforcedPause error.
error EnforcedPause()Sourcepub fn exit_escrow_period_invalid() -> Self
pub fn exit_escrow_period_invalid() -> Self
Creates a ExitEscrowPeriodInvalid error.
error ExitEscrowPeriodInvalid()Sourcepub fn expected_pause() -> Self
pub fn expected_pause() -> Self
Creates a ExpectedPause error.
error ExpectedPause()Sourcepub fn failed_inner_call() -> Self
pub fn failed_inner_call() -> Self
Creates a FailedInnerCall error.
error FailedInnerCall()Sourcepub fn initial_active_stake_exceeds_balance() -> Self
pub fn initial_active_stake_exceeds_balance() -> Self
Creates a InitialActiveStakeExceedsBalance error.
error InitialActiveStakeExceedsBalance()Sourcepub fn insufficient_allowance(_0: U256, _1: U256) -> Self
pub fn insufficient_allowance(_0: U256, _1: U256) -> Self
Creates a InsufficientAllowance error.
error InsufficientAllowance(uint256,uint256)Sourcepub fn insufficient_balance(_0: U256) -> Self
pub fn insufficient_balance(_0: U256) -> Self
Creates a InsufficientBalance error.
error InsufficientBalance(uint256)Sourcepub fn invalid_commission() -> Self
pub fn invalid_commission() -> Self
Creates a InvalidCommission error.
error InvalidCommission()Sourcepub fn invalid_g_1() -> Self
pub fn invalid_g_1() -> Self
Creates a InvalidG1 error.
error InvalidG1()Sourcepub fn invalid_initialization() -> Self
pub fn invalid_initialization() -> Self
Creates a InvalidInitialization error.
error InvalidInitialization()Sourcepub fn invalid_metadata_uri_length() -> Self
pub fn invalid_metadata_uri_length() -> Self
Creates a InvalidMetadataUriLength error.
error InvalidMetadataUriLength()Sourcepub fn invalid_p_2p_addr() -> Self
pub fn invalid_p_2p_addr() -> Self
Creates a InvalidP2pAddr error.
error InvalidP2pAddr()Sourcepub fn invalid_rate_limit_parameters() -> Self
pub fn invalid_rate_limit_parameters() -> Self
Creates a InvalidRateLimitParameters error.
error InvalidRateLimitParameters()Sourcepub fn invalid_schnorr_sig() -> Self
pub fn invalid_schnorr_sig() -> Self
Creates a InvalidSchnorrSig error.
error InvalidSchnorrSig()Sourcepub fn invalid_schnorr_vk() -> Self
pub fn invalid_schnorr_vk() -> Self
Creates a InvalidSchnorrVK error.
error InvalidSchnorrVK()Sourcepub fn invalid_x_25519_key() -> Self
pub fn invalid_x_25519_key() -> Self
Creates a InvalidX25519Key error.
error InvalidX25519Key()Sourcepub fn min_delegate_amount_too_small() -> Self
pub fn min_delegate_amount_too_small() -> Self
Creates a MinDelegateAmountTooSmall error.
error MinDelegateAmountTooSmall()Sourcepub fn no_undelegation_found() -> Self
pub fn no_undelegation_found() -> Self
Creates a NoUndelegationFound error.
error NoUndelegationFound()Sourcepub fn not_initializing() -> Self
pub fn not_initializing() -> Self
Creates a NotInitializing error.
error NotInitializing()Sourcepub fn nothing_to_withdraw() -> Self
pub fn nothing_to_withdraw() -> Self
Creates a NothingToWithdraw error.
error NothingToWithdraw()Sourcepub fn ownable_invalid_owner(owner: Address) -> Self
pub fn ownable_invalid_owner(owner: Address) -> Self
Creates a OwnableInvalidOwner error.
error OwnableInvalidOwner(address)Creates a OwnableUnauthorizedAccount error.
error OwnableUnauthorizedAccount(address)Sourcepub fn ownership_cannot_be_renounced() -> Self
pub fn ownership_cannot_be_renounced() -> Self
Creates a OwnershipCannotBeRenounced error.
error OwnershipCannotBeRenounced()Sourcepub fn pow_precompile_failed() -> Self
pub fn pow_precompile_failed() -> Self
Creates a PowPrecompileFailed error.
error PowPrecompileFailed()Sourcepub fn premature_withdrawal() -> Self
pub fn premature_withdrawal() -> Self
Creates a PrematureWithdrawal error.
error PrematureWithdrawal()Sourcepub fn schnorr_key_already_used() -> Self
pub fn schnorr_key_already_used() -> Self
Creates a SchnorrKeyAlreadyUsed error.
error SchnorrKeyAlreadyUsed()Creates a UUPSUnauthorizedCallContext error.
error UUPSUnauthorizedCallContext()Sourcepub fn uups_unsupported_proxiable_uuid(slot: FixedBytes<32>) -> Self
pub fn uups_unsupported_proxiable_uuid(slot: FixedBytes<32>) -> Self
Creates a UUPSUnsupportedProxiableUUID error.
error UUPSUnsupportedProxiableUUID(bytes32)Sourcepub fn undelegation_already_exists() -> Self
pub fn undelegation_already_exists() -> Self
Creates a UndelegationAlreadyExists error.
error UndelegationAlreadyExists()Sourcepub fn validator_already_exited() -> Self
pub fn validator_already_exited() -> Self
Creates a ValidatorAlreadyExited error.
error ValidatorAlreadyExited()Sourcepub fn validator_already_registered() -> Self
pub fn validator_already_registered() -> Self
Creates a ValidatorAlreadyRegistered error.
error ValidatorAlreadyRegistered()Sourcepub fn validator_inactive() -> Self
pub fn validator_inactive() -> Self
Creates a ValidatorInactive error.
error ValidatorInactive()Sourcepub fn validator_not_exited() -> Self
pub fn validator_not_exited() -> Self
Creates a ValidatorNotExited error.
error ValidatorNotExited()Sourcepub fn x_25519_key_already_used() -> Self
pub fn x_25519_key_already_used() -> Self
Creates a X25519KeyAlreadyUsed error.
error X25519KeyAlreadyUsed()Sourcepub fn zero_address() -> Self
pub fn zero_address() -> Self
Creates a ZeroAddress error.
error ZeroAddress()Sourcepub fn zero_amount() -> Self
pub fn zero_amount() -> Self
Creates a ZeroAmount error.
error ZeroAmount()Trait Implementations§
Source§impl Clone for StakeTableV3Errors
impl Clone for StakeTableV3Errors
Source§fn clone(&self) -> StakeTableV3Errors
fn clone(&self) -> StakeTableV3Errors
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StakeTableV3Errors
impl Debug for StakeTableV3Errors
Source§impl<'de> Deserialize<'de> for StakeTableV3Errors
impl<'de> Deserialize<'de> for StakeTableV3Errors
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>,
impl Eq for StakeTableV3Errors
Source§impl Hash for StakeTableV3Errors
impl Hash for StakeTableV3Errors
Source§impl PartialEq for StakeTableV3Errors
impl PartialEq for StakeTableV3Errors
Source§impl Serialize for StakeTableV3Errors
impl Serialize for StakeTableV3Errors
Source§impl SolInterface for StakeTableV3Errors
impl SolInterface for StakeTableV3Errors
Source§const MIN_DATA_LENGTH: usize = 0usize
const MIN_DATA_LENGTH: usize = 0usize
Source§fn valid_selector(selector: [u8; 4]) -> bool
fn valid_selector(selector: [u8; 4]) -> bool
true if the given selector is known to this type.Source§fn abi_decode_raw(selector: [u8; 4], data: &[u8]) -> Result<Self>
fn abi_decode_raw(selector: [u8; 4], data: &[u8]) -> Result<Self>
self.Source§fn abi_decode_raw_with_config(
selector: [u8; 4],
data: &[u8],
config: AbiDecoderConfig,
) -> Result<Self>
fn abi_decode_raw_with_config( selector: [u8; 4], data: &[u8], config: AbiDecoderConfig, ) -> Result<Self>
Source§fn abi_decode_raw_validate(selector: [u8; 4], data: &[u8]) -> Result<Self>
fn abi_decode_raw_validate(selector: [u8; 4], data: &[u8]) -> Result<Self>
self, with validation. Read moreSource§fn abi_encoded_size(&self) -> usize
fn abi_encoded_size(&self) -> usize
Source§fn abi_encode_raw(&self, out: &mut Vec<u8>)
fn abi_encode_raw(&self, out: &mut Vec<u8>)
self into the given buffer, without any selectors.§fn type_check(selector: [u8; 4]) -> Result<(), Error>
fn type_check(selector: [u8; 4]) -> Result<(), Error>
§fn abi_encode(&self) -> Vec<u8> ⓘ
fn abi_encode(&self) -> Vec<u8> ⓘ
self into the given buffer.§fn abi_decode(data: &[u8]) -> Result<Self, Error>
fn abi_decode(data: &[u8]) -> Result<Self, Error>
self.§fn abi_decode_with_config(
data: &[u8],
config: AbiDecoderConfig,
) -> Result<Self, Error>
fn abi_decode_with_config( data: &[u8], config: AbiDecoderConfig, ) -> Result<Self, Error>
§fn abi_decode_validate(data: &[u8]) -> Result<Self, Error>
fn abi_decode_validate(data: &[u8]) -> Result<Self, Error>
self, with validation. Read moreimpl StructuralPartialEq for StakeTableV3Errors
Auto Trait Implementations§
impl Freeze for StakeTableV3Errors
impl RefUnwindSafe for StakeTableV3Errors
impl Send for StakeTableV3Errors
impl Sync for StakeTableV3Errors
impl Unpin for StakeTableV3Errors
impl UnsafeUnpin for StakeTableV3Errors
impl UnwindSafe for StakeTableV3Errors
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<'de, T> BorrowedRpcObject<'de> for Twhere
T: RpcBorrow<'de> + RpcSend,
§impl<T> CallHasher for T
impl<T> CallHasher 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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> Element for T
impl<T> Element for T
§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> 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> 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> 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.