pub enum StateTransitionProofResult {
Show 34 variants
VerifiedDataContract(DataContract),
VerifiedIdentity(Identity),
VerifiedTokenBalanceAbsence(Identifier),
VerifiedTokenBalance(Identifier, TokenAmount),
VerifiedTokenIdentityInfo(Identifier, IdentityTokenInfo),
VerifiedTokenPricingSchedule(Identifier, Option<TokenPricingSchedule>),
VerifiedTokenStatus(TokenStatus),
VerifiedTokenIdentitiesBalances(BTreeMap<Identifier, TokenAmount>),
VerifiedPartialIdentity(PartialIdentity),
VerifiedBalanceTransfer(PartialIdentity, PartialIdentity),
VerifiedDocuments(BTreeMap<Identifier, Option<Document>>),
VerifiedTokenActionWithDocument(Document),
VerifiedTokenGroupActionWithDocument(GroupSumPower, Option<Document>),
VerifiedTokenGroupActionWithTokenBalance(GroupSumPower, GroupActionStatus, Option<TokenAmount>),
VerifiedTokenGroupActionWithTokenIdentityInfo(GroupSumPower, GroupActionStatus, Option<IdentityTokenInfo>),
VerifiedTokenGroupActionWithTokenPricingSchedule(GroupSumPower, GroupActionStatus, Option<TokenPricingSchedule>),
VerifiedMasternodeVote(Vote),
VerifiedNextDistribution(Vote),
VerifiedAddressInfos(BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>),
VerifiedIdentityFullWithAddressInfos(Identity, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>),
VerifiedIdentityWithAddressInfos(PartialIdentity, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>),
VerifiedAssetLockConsumed(StoredAssetLockInfo),
VerifiedShieldedNullifiers(Vec<(Vec<u8>, bool)>),
VerifiedTokenShieldedPoolBalance(Identifier, TokenAmount),
VerifiedShieldedNullifiersWithAddressInfos(Vec<(Vec<u8>, bool)>, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>),
VerifiedShieldedNullifiersWithWithdrawalDocument(Vec<(Vec<u8>, bool)>, BTreeMap<Identifier, Option<Document>>),
VerifiedAssetLockConsumedWithAddressInfos(StoredAssetLockInfo, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>),
VerifiedIdentityWithShieldedNullifiers(Identity, Vec<(Vec<u8>, bool)>),
VerifiedContractModerationListStatuses(Identifier, Identifier, ContractModerationListStatuses),
VerifiedContractFeeClaim(Identifier, ContractFeePot, ContractFeePotLastClaim, Credits, BTreeMap<Identifier, Credits>),
VerifiedContractDocumentRemoval(Identifier, String, Identifier, ContractDocumentRemoval),
VerifiedTokenGroupActionWithShieldedPoolBalance(GroupSumPower, GroupActionStatus, Option<TokenAmount>),
VerifiedTokenGroupActionWithShieldedNullifiers(GroupSumPower, GroupActionStatus, Vec<(Vec<u8>, bool)>),
VerifiedContractTeamActionSignature(Identifier, Identifier, GroupActionStatus),
}Variants§
VerifiedDataContract(DataContract)
VerifiedIdentity(Identity)
VerifiedTokenBalanceAbsence(Identifier)
VerifiedTokenBalance(Identifier, TokenAmount)
VerifiedTokenIdentityInfo(Identifier, IdentityTokenInfo)
VerifiedTokenPricingSchedule(Identifier, Option<TokenPricingSchedule>)
VerifiedTokenStatus(TokenStatus)
VerifiedTokenIdentitiesBalances(BTreeMap<Identifier, TokenAmount>)
VerifiedPartialIdentity(PartialIdentity)
VerifiedBalanceTransfer(PartialIdentity, PartialIdentity)
VerifiedDocuments(BTreeMap<Identifier, Option<Document>>)
VerifiedTokenActionWithDocument(Document)
VerifiedTokenGroupActionWithDocument(GroupSumPower, Option<Document>)
VerifiedTokenGroupActionWithTokenBalance(GroupSumPower, GroupActionStatus, Option<TokenAmount>)
VerifiedTokenGroupActionWithTokenIdentityInfo(GroupSumPower, GroupActionStatus, Option<IdentityTokenInfo>)
VerifiedTokenGroupActionWithTokenPricingSchedule(GroupSumPower, GroupActionStatus, Option<TokenPricingSchedule>)
VerifiedMasternodeVote(Vote)
VerifiedNextDistribution(Vote)
VerifiedAddressInfos(BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
VerifiedIdentityFullWithAddressInfos(Identity, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
VerifiedIdentityWithAddressInfos(PartialIdentity, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
VerifiedAssetLockConsumed(StoredAssetLockInfo)
VerifiedShieldedNullifiers(Vec<(Vec<u8>, bool)>)
VerifiedTokenShieldedPoolBalance(Identifier, TokenAmount)
The proven total balance of a token’s shielded pool (token id, balance). Returned by the pool transitions that only create notes (mint, claim and purchase into the pool).
VerifiedShieldedNullifiersWithAddressInfos(Vec<(Vec<u8>, bool)>, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
VerifiedShieldedNullifiersWithWithdrawalDocument(Vec<(Vec<u8>, bool)>, BTreeMap<Identifier, Option<Document>>)
VerifiedAssetLockConsumedWithAddressInfos(StoredAssetLockInfo, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
Returned by ShieldFromAssetLock when a surplus_output is set. Carries the consumed
asset-lock info AND the proven balance of the surplus-output address, so a light/SDK
client can cryptographically confirm the asset-lock surplus credit landed at the signed
surplus_output address. The plain VerifiedAssetLockConsumed is still returned when
no surplus_output is set.
VerifiedIdentityWithShieldedNullifiers(Identity, Vec<(Vec<u8>, bool)>)
Returned by IdentityCreateFromShieldedPool. Carries the newly-created Identity AND the
presence of each spent nullifier ((nullifier_bytes, present)), proven together in a single
STRICT merged multi-root GroveDB proof. A light/SDK client can cryptographically confirm both
that the identity was created and that the funding nullifiers were consumed.
VerifiedContractModerationListStatuses(Identifier, Identifier, ContractModerationListStatuses)
Returned by ContractUserModeration: the target identity’s status on the lists the
moderation touched (contract id, identity id, one status per list proved) after the
moderation. A ban proves both lists the contract keeps, since it also removes a
suspension; an unban, a suspend and an unsuspend prove the one list they edit, and say
nothing about the other.
VerifiedContractFeeClaim(Identifier, ContractFeePot, ContractFeePotLastClaim, Credits, BTreeMap<Identifier, Credits>)
A contract fee claim’s execution proof shows the pot it paid out (contract id, pot, the pot’s last claim, the credits left in it) and the balance of every identity it paid, after the claim. A pot is paid out at most once per epoch, so within its epoch the last claim is this claim, and its claimant and block time say so.
VerifiedContractDocumentRemoval(Identifier, String, Identifier, ContractDocumentRemoval)
Returned by a ContractUserModeration that deletes a document: the record the removal
left under the contract (contract id, document type name, document id, record). The
proof shows the record, and the verifier checks that it names the transition’s signer
and carries the transition’s reason. A document id is produced at most once, so the
record is of this document and of no other.
VerifiedTokenGroupActionWithShieldedPoolBalance(GroupSumPower, GroupActionStatus, Option<TokenAmount>)
Returned by a MintToPool submitted as a group action: the signer’s recorded power, the
action’s status, and the token shielded pool’s total balance. A group action writes into
the pool only once the last required signature arrives, so while the action is active the
balance is the one the pool already held, and is absent for a pool that has never held a
note. A closed action has minted, so its balance is present.
VerifiedTokenGroupActionWithShieldedNullifiers(GroupSumPower, GroupActionStatus, Vec<(Vec<u8>, bool)>)
Returned by a BurnFromPool submitted as a group action: the signer’s recorded power, the
action’s status, and the spend status of every nullifier the burn names
((nullifier_bytes, spent)). A group action spends nothing until the last required
signature arrives, so while the action is active every nullifier reads unspent; a closed
action has spent them all.
VerifiedContractTeamActionSignature(Identifier, Identifier, GroupActionStatus)
Returned by a ContractUserModeration that proposes the deletion of a settled document
or approves a team action: the contract, the team action and whether it is still active
or closed. The proof shows the signer’s approval among the action’s, active or closed,
the action’s id computed from the transition for a proposal. Closed means the approvals
met the rule and the action ran, by this approval or a later one: the document is
deleted. An approval stays where it is until its action closes, and then moves with it,
so the proof holds while the approval stands: one deleted because its member left the
team no longer proves.
Trait Implementations§
Source§impl Debug for StateTransitionProofResult
impl Debug for StateTransitionProofResult
Source§impl<'de> Deserialize<'de> for StateTransitionProofResult
impl<'de> Deserialize<'de> for StateTransitionProofResult
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 Display for StateTransitionProofResult
impl Display for StateTransitionProofResult
Source§impl JsonConvertible for StateTransitionProofResult
Available on crate features json-conversion and serde-conversion only.
impl JsonConvertible for StateTransitionProofResult
json-conversion and serde-conversion only.impl StructuralPartialEq for StateTransitionProofResult
Source§impl TryFrom<StateTransitionProofResult> for (Identifier, Option<TokenPricingSchedule>)
impl TryFrom<StateTransitionProofResult> for (Identifier, Option<TokenPricingSchedule>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Identifier, IdentityTokenInfo)
impl TryFrom<StateTransitionProofResult> for (Identifier, IdentityTokenInfo)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Identity, Vec<(Vec<u8>, bool)>)
impl TryFrom<StateTransitionProofResult> for (Identity, Vec<(Vec<u8>, bool)>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for Document
impl TryFrom<StateTransitionProofResult> for Document
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for DataContract
impl TryFrom<StateTransitionProofResult> for DataContract
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>
impl TryFrom<StateTransitionProofResult> for BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Vec<(Vec<u8>, bool)>, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
impl TryFrom<StateTransitionProofResult> for (Vec<(Vec<u8>, bool)>, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (GroupSumPower, GroupActionStatus, Option<TokenAmount>)
impl TryFrom<StateTransitionProofResult> for (GroupSumPower, GroupActionStatus, Option<TokenAmount>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (PartialIdentity, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
impl TryFrom<StateTransitionProofResult> for (PartialIdentity, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (GroupSumPower, GroupActionStatus, Option<IdentityTokenInfo>)
impl TryFrom<StateTransitionProofResult> for (GroupSumPower, GroupActionStatus, Option<IdentityTokenInfo>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Identifier, Identifier, ContractModerationListStatuses)
impl TryFrom<StateTransitionProofResult> for (Identifier, Identifier, ContractModerationListStatuses)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for Identity
impl TryFrom<StateTransitionProofResult> for Identity
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for Vec<(Vec<u8>, bool)>
impl TryFrom<StateTransitionProofResult> for Vec<(Vec<u8>, bool)>
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (StoredAssetLockInfo, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
impl TryFrom<StateTransitionProofResult> for (StoredAssetLockInfo, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (GroupSumPower, Option<Document>)
impl TryFrom<StateTransitionProofResult> for (GroupSumPower, Option<Document>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Identity, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
impl TryFrom<StateTransitionProofResult> for (Identity, BTreeMap<PlatformAddress, Option<(AddressNonce, Credits)>>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for StoredAssetLockInfo
impl TryFrom<StateTransitionProofResult> for StoredAssetLockInfo
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Identifier, ContractFeePot, ContractFeePotLastClaim, Credits, BTreeMap<Identifier, Credits>)
impl TryFrom<StateTransitionProofResult> for (Identifier, ContractFeePot, ContractFeePotLastClaim, Credits, BTreeMap<Identifier, Credits>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Identifier, String, Identifier, ContractDocumentRemoval)
impl TryFrom<StateTransitionProofResult> for (Identifier, String, Identifier, ContractDocumentRemoval)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for BTreeMap<Identifier, Option<Document>>
impl TryFrom<StateTransitionProofResult> for BTreeMap<Identifier, Option<Document>>
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (GroupSumPower, GroupActionStatus, Option<TokenPricingSchedule>)
impl TryFrom<StateTransitionProofResult> for (GroupSumPower, GroupActionStatus, Option<TokenPricingSchedule>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (GroupSumPower, GroupActionStatus, Vec<(Vec<u8>, bool)>)
impl TryFrom<StateTransitionProofResult> for (GroupSumPower, GroupActionStatus, Vec<(Vec<u8>, bool)>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for Vote
impl TryFrom<StateTransitionProofResult> for Vote
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Identifier, Identifier, GroupActionStatus)
impl TryFrom<StateTransitionProofResult> for (Identifier, Identifier, GroupActionStatus)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Vec<(Vec<u8>, bool)>, BTreeMap<Identifier, Option<Document>>)
impl TryFrom<StateTransitionProofResult> for (Vec<(Vec<u8>, bool)>, BTreeMap<Identifier, Option<Document>>)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for TokenStatus
impl TryFrom<StateTransitionProofResult> for TokenStatus
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for Identifier
impl TryFrom<StateTransitionProofResult> for Identifier
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (Identifier, TokenAmount)
impl TryFrom<StateTransitionProofResult> for (Identifier, TokenAmount)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for PartialIdentity
impl TryFrom<StateTransitionProofResult> for PartialIdentity
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for (PartialIdentity, PartialIdentity)
impl TryFrom<StateTransitionProofResult> for (PartialIdentity, PartialIdentity)
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl TryFrom<StateTransitionProofResult> for BTreeMap<Identifier, TokenAmount>
impl TryFrom<StateTransitionProofResult> for BTreeMap<Identifier, TokenAmount>
Source§type Error = TryIntoError<StateTransitionProofResult>
type Error = TryIntoError<StateTransitionProofResult>
Source§impl ValueConvertible for StateTransitionProofResult
Available on crate features serde-conversion and value-conversion only.
impl ValueConvertible for StateTransitionProofResult
serde-conversion and value-conversion only.fn to_object(&self) -> Result<Value, ProtocolError>where
Self: Sized,
fn into_object(self) -> Result<Value, ProtocolError>where
Self: Sized,
fn from_object(value: Value) -> Result<Self, ProtocolError>where
Self: Sized,
fn from_object_ref(value: &Value) -> Result<Self, ProtocolError>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for StateTransitionProofResult
impl RefUnwindSafe for StateTransitionProofResult
impl Send for StateTransitionProofResult
impl Sync for StateTransitionProofResult
impl Unpin for StateTransitionProofResult
impl UnsafeUnpin for StateTransitionProofResult
impl UnwindSafe for StateTransitionProofResult
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> CostsExt for T
impl<T> CostsExt for T
§fn wrap_with_cost(self, cost: OperationCost) -> CostContext<Self>where
Self: Sized,
fn wrap_with_cost(self, cost: OperationCost) -> CostContext<Self>where
Self: Sized,
CostContext object with provided costs.§fn wrap_fn_cost(
self,
f: impl FnOnce(&Self) -> OperationCost,
) -> CostContext<Self>where
Self: Sized,
fn wrap_fn_cost(
self,
f: impl FnOnce(&Self) -> OperationCost,
) -> CostContext<Self>where
Self: Sized,
CostContext object with costs computed using the
value getting wrapped.impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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, U> IntoOnNetwork<U> for Twhere
U: FromOnNetwork<T>,
impl<T, U> IntoOnNetwork<U> for Twhere
U: FromOnNetwork<T>,
§fn into_on_network(self, network: Network) -> U
fn into_on_network(self, network: Network) -> U
Calls U::from_on_network(self).
§impl<T, U> IntoPlatformVersioned<U> for Twhere
U: FromPlatformVersioned<T>,
impl<T, U> IntoPlatformVersioned<U> for Twhere
U: FromPlatformVersioned<T>,
§fn into_platform_versioned(self, platform_version: &PlatformVersion) -> U
fn into_platform_versioned(self, platform_version: &PlatformVersion) -> U
§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> 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.