Enum malus::interceptor::AllMessages
pub enum AllMessages {
Show 25 variants
CandidateValidation(CandidateValidationMessage),
PvfChecker(PvfCheckerMessage),
CandidateBacking(CandidateBackingMessage),
StatementDistribution(StatementDistributionMessage),
AvailabilityDistribution(AvailabilityDistributionMessage),
AvailabilityRecovery(AvailabilityRecoveryMessage),
BitfieldSigning(BitfieldSigningMessage),
BitfieldDistribution(BitfieldDistributionMessage),
Provisioner(ProvisionerMessage),
RuntimeApi(RuntimeApiMessage),
AvailabilityStore(AvailabilityStoreMessage),
NetworkBridgeRx(NetworkBridgeRxMessage),
NetworkBridgeTx(NetworkBridgeTxMessage),
ChainApi(ChainApiMessage),
CollationGeneration(CollationGenerationMessage),
CollatorProtocol(CollatorProtocolMessage),
ApprovalDistribution(ApprovalDistributionMessage),
ApprovalVoting(ApprovalVotingMessage),
ApprovalVotingParallel(ApprovalVotingParallelMessage),
GossipSupport(GossipSupportMessage),
DisputeCoordinator(DisputeCoordinatorMessage),
DisputeDistribution(DisputeDistributionMessage),
ChainSelection(ChainSelectionMessage),
ProspectiveParachains(ProspectiveParachainsMessage),
Empty,
}
Expand description
Generated message type wrapper over all possible messages used by any subsystem.
Variants§
CandidateValidation(CandidateValidationMessage)
PvfChecker(PvfCheckerMessage)
CandidateBacking(CandidateBackingMessage)
StatementDistribution(StatementDistributionMessage)
AvailabilityDistribution(AvailabilityDistributionMessage)
AvailabilityRecovery(AvailabilityRecoveryMessage)
BitfieldSigning(BitfieldSigningMessage)
BitfieldDistribution(BitfieldDistributionMessage)
Provisioner(ProvisionerMessage)
RuntimeApi(RuntimeApiMessage)
AvailabilityStore(AvailabilityStoreMessage)
NetworkBridgeRx(NetworkBridgeRxMessage)
NetworkBridgeTx(NetworkBridgeTxMessage)
ChainApi(ChainApiMessage)
CollationGeneration(CollationGenerationMessage)
CollatorProtocol(CollatorProtocolMessage)
ApprovalDistribution(ApprovalDistributionMessage)
ApprovalVoting(ApprovalVotingMessage)
ApprovalVotingParallel(ApprovalVotingParallelMessage)
GossipSupport(GossipSupportMessage)
DisputeCoordinator(DisputeCoordinatorMessage)
DisputeDistribution(DisputeDistributionMessage)
ChainSelection(ChainSelectionMessage)
ProspectiveParachains(ProspectiveParachainsMessage)
Empty
Trait Implementations§
§impl AssociateOutgoing for AllMessages
impl AssociateOutgoing for AllMessages
§type OutgoingMessages = AllMessages
type OutgoingMessages = AllMessages
The associated outgoing messages for a subsystem that consumes the message
Self
.§impl Debug for AllMessages
impl Debug for AllMessages
§impl From<()> for AllMessages
impl From<()> for AllMessages
§fn from(_: ()) -> AllMessages
fn from(_: ()) -> AllMessages
Converts to this type from the input type.
§impl From<ApprovalDistributionMessage> for AllMessages
impl From<ApprovalDistributionMessage> for AllMessages
§fn from(message: ApprovalDistributionMessage) -> AllMessages
fn from(message: ApprovalDistributionMessage) -> AllMessages
Converts to this type from the input type.
§impl From<ApprovalDistributionOutgoingMessages> for AllMessages
impl From<ApprovalDistributionOutgoingMessages> for AllMessages
§fn from(message: ApprovalDistributionOutgoingMessages) -> AllMessages
fn from(message: ApprovalDistributionOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<ApprovalVotingMessage> for AllMessages
impl From<ApprovalVotingMessage> for AllMessages
§fn from(message: ApprovalVotingMessage) -> AllMessages
fn from(message: ApprovalVotingMessage) -> AllMessages
Converts to this type from the input type.
§impl From<ApprovalVotingOutgoingMessages> for AllMessages
impl From<ApprovalVotingOutgoingMessages> for AllMessages
§fn from(message: ApprovalVotingOutgoingMessages) -> AllMessages
fn from(message: ApprovalVotingOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<ApprovalVotingParallelMessage> for AllMessages
impl From<ApprovalVotingParallelMessage> for AllMessages
§fn from(message: ApprovalVotingParallelMessage) -> AllMessages
fn from(message: ApprovalVotingParallelMessage) -> AllMessages
Converts to this type from the input type.
§impl From<ApprovalVotingParallelOutgoingMessages> for AllMessages
impl From<ApprovalVotingParallelOutgoingMessages> for AllMessages
§fn from(message: ApprovalVotingParallelOutgoingMessages) -> AllMessages
fn from(message: ApprovalVotingParallelOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<AvailabilityDistributionMessage> for AllMessages
impl From<AvailabilityDistributionMessage> for AllMessages
§fn from(message: AvailabilityDistributionMessage) -> AllMessages
fn from(message: AvailabilityDistributionMessage) -> AllMessages
Converts to this type from the input type.
§impl From<AvailabilityDistributionOutgoingMessages> for AllMessages
impl From<AvailabilityDistributionOutgoingMessages> for AllMessages
§fn from(message: AvailabilityDistributionOutgoingMessages) -> AllMessages
fn from(message: AvailabilityDistributionOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<AvailabilityRecoveryMessage> for AllMessages
impl From<AvailabilityRecoveryMessage> for AllMessages
§fn from(message: AvailabilityRecoveryMessage) -> AllMessages
fn from(message: AvailabilityRecoveryMessage) -> AllMessages
Converts to this type from the input type.
§impl From<AvailabilityRecoveryOutgoingMessages> for AllMessages
impl From<AvailabilityRecoveryOutgoingMessages> for AllMessages
§fn from(message: AvailabilityRecoveryOutgoingMessages) -> AllMessages
fn from(message: AvailabilityRecoveryOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<AvailabilityStoreMessage> for AllMessages
impl From<AvailabilityStoreMessage> for AllMessages
§fn from(message: AvailabilityStoreMessage) -> AllMessages
fn from(message: AvailabilityStoreMessage) -> AllMessages
Converts to this type from the input type.
§impl From<AvailabilityStoreOutgoingMessages> for AllMessages
impl From<AvailabilityStoreOutgoingMessages> for AllMessages
§fn from(message: AvailabilityStoreOutgoingMessages) -> AllMessages
fn from(message: AvailabilityStoreOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<BitfieldDistributionMessage> for AllMessages
impl From<BitfieldDistributionMessage> for AllMessages
§fn from(message: BitfieldDistributionMessage) -> AllMessages
fn from(message: BitfieldDistributionMessage) -> AllMessages
Converts to this type from the input type.
§impl From<BitfieldDistributionOutgoingMessages> for AllMessages
impl From<BitfieldDistributionOutgoingMessages> for AllMessages
§fn from(message: BitfieldDistributionOutgoingMessages) -> AllMessages
fn from(message: BitfieldDistributionOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<BitfieldSigningMessage> for AllMessages
impl From<BitfieldSigningMessage> for AllMessages
§fn from(message: BitfieldSigningMessage) -> AllMessages
fn from(message: BitfieldSigningMessage) -> AllMessages
Converts to this type from the input type.
§impl From<BitfieldSigningOutgoingMessages> for AllMessages
impl From<BitfieldSigningOutgoingMessages> for AllMessages
§fn from(message: BitfieldSigningOutgoingMessages) -> AllMessages
fn from(message: BitfieldSigningOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<CandidateBackingMessage> for AllMessages
impl From<CandidateBackingMessage> for AllMessages
§fn from(message: CandidateBackingMessage) -> AllMessages
fn from(message: CandidateBackingMessage) -> AllMessages
Converts to this type from the input type.
§impl From<CandidateBackingOutgoingMessages> for AllMessages
impl From<CandidateBackingOutgoingMessages> for AllMessages
§fn from(message: CandidateBackingOutgoingMessages) -> AllMessages
fn from(message: CandidateBackingOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<CandidateValidationMessage> for AllMessages
impl From<CandidateValidationMessage> for AllMessages
§fn from(message: CandidateValidationMessage) -> AllMessages
fn from(message: CandidateValidationMessage) -> AllMessages
Converts to this type from the input type.
§impl From<CandidateValidationOutgoingMessages> for AllMessages
impl From<CandidateValidationOutgoingMessages> for AllMessages
§fn from(message: CandidateValidationOutgoingMessages) -> AllMessages
fn from(message: CandidateValidationOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<ChainApiMessage> for AllMessages
impl From<ChainApiMessage> for AllMessages
§fn from(message: ChainApiMessage) -> AllMessages
fn from(message: ChainApiMessage) -> AllMessages
Converts to this type from the input type.
§impl From<ChainApiOutgoingMessages> for AllMessages
impl From<ChainApiOutgoingMessages> for AllMessages
§fn from(message: ChainApiOutgoingMessages) -> AllMessages
fn from(message: ChainApiOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<ChainSelectionMessage> for AllMessages
impl From<ChainSelectionMessage> for AllMessages
§fn from(message: ChainSelectionMessage) -> AllMessages
fn from(message: ChainSelectionMessage) -> AllMessages
Converts to this type from the input type.
§impl From<ChainSelectionOutgoingMessages> for AllMessages
impl From<ChainSelectionOutgoingMessages> for AllMessages
§fn from(message: ChainSelectionOutgoingMessages) -> AllMessages
fn from(message: ChainSelectionOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<CollationGenerationMessage> for AllMessages
impl From<CollationGenerationMessage> for AllMessages
§fn from(message: CollationGenerationMessage) -> AllMessages
fn from(message: CollationGenerationMessage) -> AllMessages
Converts to this type from the input type.
§impl From<CollationGenerationOutgoingMessages> for AllMessages
impl From<CollationGenerationOutgoingMessages> for AllMessages
§fn from(message: CollationGenerationOutgoingMessages) -> AllMessages
fn from(message: CollationGenerationOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<CollatorProtocolMessage> for AllMessages
impl From<CollatorProtocolMessage> for AllMessages
§fn from(message: CollatorProtocolMessage) -> AllMessages
fn from(message: CollatorProtocolMessage) -> AllMessages
Converts to this type from the input type.
§impl From<CollatorProtocolOutgoingMessages> for AllMessages
impl From<CollatorProtocolOutgoingMessages> for AllMessages
§fn from(message: CollatorProtocolOutgoingMessages) -> AllMessages
fn from(message: CollatorProtocolOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<DisputeCoordinatorMessage> for AllMessages
impl From<DisputeCoordinatorMessage> for AllMessages
§fn from(message: DisputeCoordinatorMessage) -> AllMessages
fn from(message: DisputeCoordinatorMessage) -> AllMessages
Converts to this type from the input type.
§impl From<DisputeCoordinatorOutgoingMessages> for AllMessages
impl From<DisputeCoordinatorOutgoingMessages> for AllMessages
§fn from(message: DisputeCoordinatorOutgoingMessages) -> AllMessages
fn from(message: DisputeCoordinatorOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<DisputeDistributionMessage> for AllMessages
impl From<DisputeDistributionMessage> for AllMessages
§fn from(message: DisputeDistributionMessage) -> AllMessages
fn from(message: DisputeDistributionMessage) -> AllMessages
Converts to this type from the input type.
§impl From<DisputeDistributionOutgoingMessages> for AllMessages
impl From<DisputeDistributionOutgoingMessages> for AllMessages
§fn from(message: DisputeDistributionOutgoingMessages) -> AllMessages
fn from(message: DisputeDistributionOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<GossipSupportMessage> for AllMessages
impl From<GossipSupportMessage> for AllMessages
§fn from(message: GossipSupportMessage) -> AllMessages
fn from(message: GossipSupportMessage) -> AllMessages
Converts to this type from the input type.
§impl From<GossipSupportOutgoingMessages> for AllMessages
impl From<GossipSupportOutgoingMessages> for AllMessages
§fn from(message: GossipSupportOutgoingMessages) -> AllMessages
fn from(message: GossipSupportOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<NetworkBridgeRxMessage> for AllMessages
impl From<NetworkBridgeRxMessage> for AllMessages
§fn from(message: NetworkBridgeRxMessage) -> AllMessages
fn from(message: NetworkBridgeRxMessage) -> AllMessages
Converts to this type from the input type.
§impl From<NetworkBridgeRxOutgoingMessages> for AllMessages
impl From<NetworkBridgeRxOutgoingMessages> for AllMessages
§fn from(message: NetworkBridgeRxOutgoingMessages) -> AllMessages
fn from(message: NetworkBridgeRxOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<NetworkBridgeTxMessage> for AllMessages
impl From<NetworkBridgeTxMessage> for AllMessages
§fn from(message: NetworkBridgeTxMessage) -> AllMessages
fn from(message: NetworkBridgeTxMessage) -> AllMessages
Converts to this type from the input type.
§impl From<NetworkBridgeTxOutgoingMessages> for AllMessages
impl From<NetworkBridgeTxOutgoingMessages> for AllMessages
§fn from(message: NetworkBridgeTxOutgoingMessages) -> AllMessages
fn from(message: NetworkBridgeTxOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<ProspectiveParachainsMessage> for AllMessages
impl From<ProspectiveParachainsMessage> for AllMessages
§fn from(message: ProspectiveParachainsMessage) -> AllMessages
fn from(message: ProspectiveParachainsMessage) -> AllMessages
Converts to this type from the input type.
§impl From<ProspectiveParachainsOutgoingMessages> for AllMessages
impl From<ProspectiveParachainsOutgoingMessages> for AllMessages
§fn from(message: ProspectiveParachainsOutgoingMessages) -> AllMessages
fn from(message: ProspectiveParachainsOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<ProvisionerMessage> for AllMessages
impl From<ProvisionerMessage> for AllMessages
§fn from(message: ProvisionerMessage) -> AllMessages
fn from(message: ProvisionerMessage) -> AllMessages
Converts to this type from the input type.
§impl From<ProvisionerOutgoingMessages> for AllMessages
impl From<ProvisionerOutgoingMessages> for AllMessages
§fn from(message: ProvisionerOutgoingMessages) -> AllMessages
fn from(message: ProvisionerOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<PvfCheckerMessage> for AllMessages
impl From<PvfCheckerMessage> for AllMessages
§fn from(message: PvfCheckerMessage) -> AllMessages
fn from(message: PvfCheckerMessage) -> AllMessages
Converts to this type from the input type.
§impl From<PvfCheckerOutgoingMessages> for AllMessages
impl From<PvfCheckerOutgoingMessages> for AllMessages
§fn from(message: PvfCheckerOutgoingMessages) -> AllMessages
fn from(message: PvfCheckerOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<RuntimeApiMessage> for AllMessages
impl From<RuntimeApiMessage> for AllMessages
§fn from(message: RuntimeApiMessage) -> AllMessages
fn from(message: RuntimeApiMessage) -> AllMessages
Converts to this type from the input type.
§impl From<RuntimeApiOutgoingMessages> for AllMessages
impl From<RuntimeApiOutgoingMessages> for AllMessages
§fn from(message: RuntimeApiOutgoingMessages) -> AllMessages
fn from(message: RuntimeApiOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl From<StatementDistributionMessage> for AllMessages
impl From<StatementDistributionMessage> for AllMessages
§fn from(message: StatementDistributionMessage) -> AllMessages
fn from(message: StatementDistributionMessage) -> AllMessages
Converts to this type from the input type.
§impl From<StatementDistributionOutgoingMessages> for AllMessages
impl From<StatementDistributionOutgoingMessages> for AllMessages
§fn from(message: StatementDistributionOutgoingMessages) -> AllMessages
fn from(message: StatementDistributionOutgoingMessages) -> AllMessages
Converts to this type from the input type.
§impl TryFrom<AllMessages> for ApprovalDistributionMessage
impl TryFrom<AllMessages> for ApprovalDistributionMessage
§fn try_from(
message: AllMessages,
) -> Result<ApprovalDistributionMessage, <ApprovalDistributionMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<ApprovalDistributionMessage, <ApprovalDistributionMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for ApprovalVotingMessage
impl TryFrom<AllMessages> for ApprovalVotingMessage
§fn try_from(
message: AllMessages,
) -> Result<ApprovalVotingMessage, <ApprovalVotingMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<ApprovalVotingMessage, <ApprovalVotingMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for ApprovalVotingParallelMessage
impl TryFrom<AllMessages> for ApprovalVotingParallelMessage
§fn try_from(
message: AllMessages,
) -> Result<ApprovalVotingParallelMessage, <ApprovalVotingParallelMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<ApprovalVotingParallelMessage, <ApprovalVotingParallelMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for AvailabilityDistributionMessage
impl TryFrom<AllMessages> for AvailabilityDistributionMessage
§fn try_from(
message: AllMessages,
) -> Result<AvailabilityDistributionMessage, <AvailabilityDistributionMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<AvailabilityDistributionMessage, <AvailabilityDistributionMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for AvailabilityRecoveryMessage
impl TryFrom<AllMessages> for AvailabilityRecoveryMessage
§fn try_from(
message: AllMessages,
) -> Result<AvailabilityRecoveryMessage, <AvailabilityRecoveryMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<AvailabilityRecoveryMessage, <AvailabilityRecoveryMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for AvailabilityStoreMessage
impl TryFrom<AllMessages> for AvailabilityStoreMessage
§fn try_from(
message: AllMessages,
) -> Result<AvailabilityStoreMessage, <AvailabilityStoreMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<AvailabilityStoreMessage, <AvailabilityStoreMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for BitfieldDistributionMessage
impl TryFrom<AllMessages> for BitfieldDistributionMessage
§fn try_from(
message: AllMessages,
) -> Result<BitfieldDistributionMessage, <BitfieldDistributionMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<BitfieldDistributionMessage, <BitfieldDistributionMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for BitfieldSigningMessage
impl TryFrom<AllMessages> for BitfieldSigningMessage
§fn try_from(
message: AllMessages,
) -> Result<BitfieldSigningMessage, <BitfieldSigningMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<BitfieldSigningMessage, <BitfieldSigningMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for CandidateBackingMessage
impl TryFrom<AllMessages> for CandidateBackingMessage
§fn try_from(
message: AllMessages,
) -> Result<CandidateBackingMessage, <CandidateBackingMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<CandidateBackingMessage, <CandidateBackingMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for CandidateValidationMessage
impl TryFrom<AllMessages> for CandidateValidationMessage
§fn try_from(
message: AllMessages,
) -> Result<CandidateValidationMessage, <CandidateValidationMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<CandidateValidationMessage, <CandidateValidationMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for ChainApiMessage
impl TryFrom<AllMessages> for ChainApiMessage
§fn try_from(
message: AllMessages,
) -> Result<ChainApiMessage, <ChainApiMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<ChainApiMessage, <ChainApiMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for ChainSelectionMessage
impl TryFrom<AllMessages> for ChainSelectionMessage
§fn try_from(
message: AllMessages,
) -> Result<ChainSelectionMessage, <ChainSelectionMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<ChainSelectionMessage, <ChainSelectionMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for CollationGenerationMessage
impl TryFrom<AllMessages> for CollationGenerationMessage
§fn try_from(
message: AllMessages,
) -> Result<CollationGenerationMessage, <CollationGenerationMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<CollationGenerationMessage, <CollationGenerationMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for CollatorProtocolMessage
impl TryFrom<AllMessages> for CollatorProtocolMessage
§fn try_from(
message: AllMessages,
) -> Result<CollatorProtocolMessage, <CollatorProtocolMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<CollatorProtocolMessage, <CollatorProtocolMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for DisputeCoordinatorMessage
impl TryFrom<AllMessages> for DisputeCoordinatorMessage
§fn try_from(
message: AllMessages,
) -> Result<DisputeCoordinatorMessage, <DisputeCoordinatorMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<DisputeCoordinatorMessage, <DisputeCoordinatorMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for DisputeDistributionMessage
impl TryFrom<AllMessages> for DisputeDistributionMessage
§fn try_from(
message: AllMessages,
) -> Result<DisputeDistributionMessage, <DisputeDistributionMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<DisputeDistributionMessage, <DisputeDistributionMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for GossipSupportMessage
impl TryFrom<AllMessages> for GossipSupportMessage
§fn try_from(
message: AllMessages,
) -> Result<GossipSupportMessage, <GossipSupportMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<GossipSupportMessage, <GossipSupportMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for NetworkBridgeRxMessage
impl TryFrom<AllMessages> for NetworkBridgeRxMessage
§fn try_from(
message: AllMessages,
) -> Result<NetworkBridgeRxMessage, <NetworkBridgeRxMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<NetworkBridgeRxMessage, <NetworkBridgeRxMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for NetworkBridgeTxMessage
impl TryFrom<AllMessages> for NetworkBridgeTxMessage
§fn try_from(
message: AllMessages,
) -> Result<NetworkBridgeTxMessage, <NetworkBridgeTxMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<NetworkBridgeTxMessage, <NetworkBridgeTxMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for ProspectiveParachainsMessage
impl TryFrom<AllMessages> for ProspectiveParachainsMessage
§fn try_from(
message: AllMessages,
) -> Result<ProspectiveParachainsMessage, <ProspectiveParachainsMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<ProspectiveParachainsMessage, <ProspectiveParachainsMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for ProvisionerMessage
impl TryFrom<AllMessages> for ProvisionerMessage
§fn try_from(
message: AllMessages,
) -> Result<ProvisionerMessage, <ProvisionerMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<ProvisionerMessage, <ProvisionerMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for PvfCheckerMessage
impl TryFrom<AllMessages> for PvfCheckerMessage
§fn try_from(
message: AllMessages,
) -> Result<PvfCheckerMessage, <PvfCheckerMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<PvfCheckerMessage, <PvfCheckerMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for RuntimeApiMessage
impl TryFrom<AllMessages> for RuntimeApiMessage
§fn try_from(
message: AllMessages,
) -> Result<RuntimeApiMessage, <RuntimeApiMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<RuntimeApiMessage, <RuntimeApiMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
§impl TryFrom<AllMessages> for StatementDistributionMessage
impl TryFrom<AllMessages> for StatementDistributionMessage
§fn try_from(
message: AllMessages,
) -> Result<StatementDistributionMessage, <StatementDistributionMessage as TryFrom<AllMessages>>::Error>
fn try_from( message: AllMessages, ) -> Result<StatementDistributionMessage, <StatementDistributionMessage as TryFrom<AllMessages>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AllMessages
impl !RefUnwindSafe for AllMessages
impl Send for AllMessages
impl Sync for AllMessages
impl Unpin for AllMessages
impl !UnwindSafe for AllMessages
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Mutably borrows from an owned value. Read more
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§impl<T> Conv for T
impl<T> Conv for T
§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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Causes
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,
Formats each item in a sequence. Read more
§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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
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>
Converts
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<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
source§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Set the foreground color generically Read more
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Set the background color generically. Read more
§fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
Change the background color to yellow
§fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
Change the foreground color to magenta
§fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
Change the background color to magenta
§fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
Change the background color to purple
§fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
Change the foreground color to the terminal default
§fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
Change the background color to the terminal default
§fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
Change the foreground color to bright black
§fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
Change the background color to bright black
§fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
Change the foreground color to bright red
§fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
Change the background color to bright red
§fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
Change the foreground color to bright green
§fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
Change the background color to bright green
§fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
Change the foreground color to bright yellow
§fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
Change the background color to bright yellow
§fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
Change the foreground color to bright blue
§fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
Change the background color to bright blue
§fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
Change the foreground color to bright magenta
§fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
Change the background color to bright magenta
§fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
Change the foreground color to bright purple
§fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
Change the background color to bright purple
§fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
Change the foreground color to bright cyan
§fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
Change the background color to bright cyan
§fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
Change the foreground color to bright white
§fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
Change the background color to bright white
§fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
Make the text blink (but fast!)
Hide the text
§fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
Cross out the text
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either
OwoColorize::fg
or
a color-specific method, such as OwoColorize::green
, Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either
OwoColorize::bg
or
a color-specific method, such as OwoColorize::on_yellow
, Read more§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the foreground color to a specific RGB value.
§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the background color to a specific RGB value.
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Sets the background color to an RGB value.
§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,
Pipes by value. This is generally the method you want to use. Read more
§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,
Borrows
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,
Mutably borrows
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
Borrows
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
Mutably borrows
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
Borrows
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresource§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.§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
Immutable access to the
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
Mutable access to the
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
Immutable access to the
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
Mutable access to the
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
Immutable access to the
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
Mutable access to the
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
Calls
.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
Calls
.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
Calls
.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
Calls
.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
Calls
.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
Calls
.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
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.§impl<T> TryConv for T
impl<T> TryConv for T
source§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.