Enum polkadot_overseer::AllMessages
source · 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§
source§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
.source§impl Debug for AllMessages
impl Debug for AllMessages
source§impl From<()> for AllMessages
impl From<()> for AllMessages
source§impl From<AllMessages> for ()
impl From<AllMessages> for ()
source§fn from(message: AllMessages) -> Self
fn from(message: AllMessages) -> Self
Converts to this type from the input type.
source§impl From<ApprovalDistributionMessage> for AllMessages
impl From<ApprovalDistributionMessage> for AllMessages
source§fn from(message: ApprovalDistributionMessage) -> Self
fn from(message: ApprovalDistributionMessage) -> Self
Converts to this type from the input type.
source§impl From<ApprovalDistributionOutgoingMessages> for AllMessages
impl From<ApprovalDistributionOutgoingMessages> for AllMessages
source§fn from(message: ApprovalDistributionOutgoingMessages) -> Self
fn from(message: ApprovalDistributionOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<ApprovalVotingMessage> for AllMessages
impl From<ApprovalVotingMessage> for AllMessages
source§fn from(message: ApprovalVotingMessage) -> Self
fn from(message: ApprovalVotingMessage) -> Self
Converts to this type from the input type.
source§impl From<ApprovalVotingOutgoingMessages> for AllMessages
impl From<ApprovalVotingOutgoingMessages> for AllMessages
source§fn from(message: ApprovalVotingOutgoingMessages) -> Self
fn from(message: ApprovalVotingOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<ApprovalVotingParallelMessage> for AllMessages
impl From<ApprovalVotingParallelMessage> for AllMessages
source§fn from(message: ApprovalVotingParallelMessage) -> Self
fn from(message: ApprovalVotingParallelMessage) -> Self
Converts to this type from the input type.
source§impl From<ApprovalVotingParallelOutgoingMessages> for AllMessages
impl From<ApprovalVotingParallelOutgoingMessages> for AllMessages
source§fn from(message: ApprovalVotingParallelOutgoingMessages) -> Self
fn from(message: ApprovalVotingParallelOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<AvailabilityDistributionMessage> for AllMessages
impl From<AvailabilityDistributionMessage> for AllMessages
source§fn from(message: AvailabilityDistributionMessage) -> Self
fn from(message: AvailabilityDistributionMessage) -> Self
Converts to this type from the input type.
source§impl From<AvailabilityDistributionOutgoingMessages> for AllMessages
impl From<AvailabilityDistributionOutgoingMessages> for AllMessages
source§fn from(message: AvailabilityDistributionOutgoingMessages) -> Self
fn from(message: AvailabilityDistributionOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<AvailabilityRecoveryMessage> for AllMessages
impl From<AvailabilityRecoveryMessage> for AllMessages
source§fn from(message: AvailabilityRecoveryMessage) -> Self
fn from(message: AvailabilityRecoveryMessage) -> Self
Converts to this type from the input type.
source§impl From<AvailabilityRecoveryOutgoingMessages> for AllMessages
impl From<AvailabilityRecoveryOutgoingMessages> for AllMessages
source§fn from(message: AvailabilityRecoveryOutgoingMessages) -> Self
fn from(message: AvailabilityRecoveryOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<AvailabilityStoreMessage> for AllMessages
impl From<AvailabilityStoreMessage> for AllMessages
source§fn from(message: AvailabilityStoreMessage) -> Self
fn from(message: AvailabilityStoreMessage) -> Self
Converts to this type from the input type.
source§impl From<AvailabilityStoreOutgoingMessages> for AllMessages
impl From<AvailabilityStoreOutgoingMessages> for AllMessages
source§fn from(message: AvailabilityStoreOutgoingMessages) -> Self
fn from(message: AvailabilityStoreOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<BitfieldDistributionMessage> for AllMessages
impl From<BitfieldDistributionMessage> for AllMessages
source§fn from(message: BitfieldDistributionMessage) -> Self
fn from(message: BitfieldDistributionMessage) -> Self
Converts to this type from the input type.
source§impl From<BitfieldDistributionOutgoingMessages> for AllMessages
impl From<BitfieldDistributionOutgoingMessages> for AllMessages
source§fn from(message: BitfieldDistributionOutgoingMessages) -> Self
fn from(message: BitfieldDistributionOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<BitfieldSigningMessage> for AllMessages
impl From<BitfieldSigningMessage> for AllMessages
source§fn from(message: BitfieldSigningMessage) -> Self
fn from(message: BitfieldSigningMessage) -> Self
Converts to this type from the input type.
source§impl From<BitfieldSigningOutgoingMessages> for AllMessages
impl From<BitfieldSigningOutgoingMessages> for AllMessages
source§fn from(message: BitfieldSigningOutgoingMessages) -> Self
fn from(message: BitfieldSigningOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<CandidateBackingMessage> for AllMessages
impl From<CandidateBackingMessage> for AllMessages
source§fn from(message: CandidateBackingMessage) -> Self
fn from(message: CandidateBackingMessage) -> Self
Converts to this type from the input type.
source§impl From<CandidateBackingOutgoingMessages> for AllMessages
impl From<CandidateBackingOutgoingMessages> for AllMessages
source§fn from(message: CandidateBackingOutgoingMessages) -> Self
fn from(message: CandidateBackingOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<CandidateValidationMessage> for AllMessages
impl From<CandidateValidationMessage> for AllMessages
source§fn from(message: CandidateValidationMessage) -> Self
fn from(message: CandidateValidationMessage) -> Self
Converts to this type from the input type.
source§impl From<CandidateValidationOutgoingMessages> for AllMessages
impl From<CandidateValidationOutgoingMessages> for AllMessages
source§fn from(message: CandidateValidationOutgoingMessages) -> Self
fn from(message: CandidateValidationOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<ChainApiMessage> for AllMessages
impl From<ChainApiMessage> for AllMessages
source§fn from(message: ChainApiMessage) -> Self
fn from(message: ChainApiMessage) -> Self
Converts to this type from the input type.
source§impl From<ChainApiOutgoingMessages> for AllMessages
impl From<ChainApiOutgoingMessages> for AllMessages
source§fn from(message: ChainApiOutgoingMessages) -> Self
fn from(message: ChainApiOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<ChainSelectionMessage> for AllMessages
impl From<ChainSelectionMessage> for AllMessages
source§fn from(message: ChainSelectionMessage) -> Self
fn from(message: ChainSelectionMessage) -> Self
Converts to this type from the input type.
source§impl From<ChainSelectionOutgoingMessages> for AllMessages
impl From<ChainSelectionOutgoingMessages> for AllMessages
source§fn from(message: ChainSelectionOutgoingMessages) -> Self
fn from(message: ChainSelectionOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<CollationGenerationMessage> for AllMessages
impl From<CollationGenerationMessage> for AllMessages
source§fn from(message: CollationGenerationMessage) -> Self
fn from(message: CollationGenerationMessage) -> Self
Converts to this type from the input type.
source§impl From<CollationGenerationOutgoingMessages> for AllMessages
impl From<CollationGenerationOutgoingMessages> for AllMessages
source§fn from(message: CollationGenerationOutgoingMessages) -> Self
fn from(message: CollationGenerationOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<CollatorProtocolMessage> for AllMessages
impl From<CollatorProtocolMessage> for AllMessages
source§fn from(message: CollatorProtocolMessage) -> Self
fn from(message: CollatorProtocolMessage) -> Self
Converts to this type from the input type.
source§impl From<CollatorProtocolOutgoingMessages> for AllMessages
impl From<CollatorProtocolOutgoingMessages> for AllMessages
source§fn from(message: CollatorProtocolOutgoingMessages) -> Self
fn from(message: CollatorProtocolOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<DisputeCoordinatorMessage> for AllMessages
impl From<DisputeCoordinatorMessage> for AllMessages
source§fn from(message: DisputeCoordinatorMessage) -> Self
fn from(message: DisputeCoordinatorMessage) -> Self
Converts to this type from the input type.
source§impl From<DisputeCoordinatorOutgoingMessages> for AllMessages
impl From<DisputeCoordinatorOutgoingMessages> for AllMessages
source§fn from(message: DisputeCoordinatorOutgoingMessages) -> Self
fn from(message: DisputeCoordinatorOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<DisputeDistributionMessage> for AllMessages
impl From<DisputeDistributionMessage> for AllMessages
source§fn from(message: DisputeDistributionMessage) -> Self
fn from(message: DisputeDistributionMessage) -> Self
Converts to this type from the input type.
source§impl From<DisputeDistributionOutgoingMessages> for AllMessages
impl From<DisputeDistributionOutgoingMessages> for AllMessages
source§fn from(message: DisputeDistributionOutgoingMessages) -> Self
fn from(message: DisputeDistributionOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<GossipSupportMessage> for AllMessages
impl From<GossipSupportMessage> for AllMessages
source§fn from(message: GossipSupportMessage) -> Self
fn from(message: GossipSupportMessage) -> Self
Converts to this type from the input type.
source§impl From<GossipSupportOutgoingMessages> for AllMessages
impl From<GossipSupportOutgoingMessages> for AllMessages
source§fn from(message: GossipSupportOutgoingMessages) -> Self
fn from(message: GossipSupportOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<NetworkBridgeRxMessage> for AllMessages
impl From<NetworkBridgeRxMessage> for AllMessages
source§fn from(message: NetworkBridgeRxMessage) -> Self
fn from(message: NetworkBridgeRxMessage) -> Self
Converts to this type from the input type.
source§impl From<NetworkBridgeRxOutgoingMessages> for AllMessages
impl From<NetworkBridgeRxOutgoingMessages> for AllMessages
source§fn from(message: NetworkBridgeRxOutgoingMessages) -> Self
fn from(message: NetworkBridgeRxOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<NetworkBridgeTxMessage> for AllMessages
impl From<NetworkBridgeTxMessage> for AllMessages
source§fn from(message: NetworkBridgeTxMessage) -> Self
fn from(message: NetworkBridgeTxMessage) -> Self
Converts to this type from the input type.
source§impl From<NetworkBridgeTxOutgoingMessages> for AllMessages
impl From<NetworkBridgeTxOutgoingMessages> for AllMessages
source§fn from(message: NetworkBridgeTxOutgoingMessages) -> Self
fn from(message: NetworkBridgeTxOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<ProspectiveParachainsMessage> for AllMessages
impl From<ProspectiveParachainsMessage> for AllMessages
source§fn from(message: ProspectiveParachainsMessage) -> Self
fn from(message: ProspectiveParachainsMessage) -> Self
Converts to this type from the input type.
source§impl From<ProspectiveParachainsOutgoingMessages> for AllMessages
impl From<ProspectiveParachainsOutgoingMessages> for AllMessages
source§fn from(message: ProspectiveParachainsOutgoingMessages) -> Self
fn from(message: ProspectiveParachainsOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<ProvisionerMessage> for AllMessages
impl From<ProvisionerMessage> for AllMessages
source§fn from(message: ProvisionerMessage) -> Self
fn from(message: ProvisionerMessage) -> Self
Converts to this type from the input type.
source§impl From<ProvisionerOutgoingMessages> for AllMessages
impl From<ProvisionerOutgoingMessages> for AllMessages
source§fn from(message: ProvisionerOutgoingMessages) -> Self
fn from(message: ProvisionerOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<PvfCheckerMessage> for AllMessages
impl From<PvfCheckerMessage> for AllMessages
source§fn from(message: PvfCheckerMessage) -> Self
fn from(message: PvfCheckerMessage) -> Self
Converts to this type from the input type.
source§impl From<PvfCheckerOutgoingMessages> for AllMessages
impl From<PvfCheckerOutgoingMessages> for AllMessages
source§fn from(message: PvfCheckerOutgoingMessages) -> Self
fn from(message: PvfCheckerOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<RuntimeApiMessage> for AllMessages
impl From<RuntimeApiMessage> for AllMessages
source§fn from(message: RuntimeApiMessage) -> Self
fn from(message: RuntimeApiMessage) -> Self
Converts to this type from the input type.
source§impl From<RuntimeApiOutgoingMessages> for AllMessages
impl From<RuntimeApiOutgoingMessages> for AllMessages
source§fn from(message: RuntimeApiOutgoingMessages) -> Self
fn from(message: RuntimeApiOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl From<StatementDistributionMessage> for AllMessages
impl From<StatementDistributionMessage> for AllMessages
source§fn from(message: StatementDistributionMessage) -> Self
fn from(message: StatementDistributionMessage) -> Self
Converts to this type from the input type.
source§impl From<StatementDistributionOutgoingMessages> for AllMessages
impl From<StatementDistributionOutgoingMessages> for AllMessages
source§fn from(message: StatementDistributionOutgoingMessages) -> Self
fn from(message: StatementDistributionOutgoingMessages) -> Self
Converts to this type from the input type.
source§impl TryFrom<AllMessages> for ApprovalVotingMessage
impl TryFrom<AllMessages> for ApprovalVotingMessage
source§impl TryFrom<AllMessages> for BitfieldSigningMessage
impl TryFrom<AllMessages> for BitfieldSigningMessage
source§impl TryFrom<AllMessages> for CandidateBackingMessage
impl TryFrom<AllMessages> for CandidateBackingMessage
source§impl TryFrom<AllMessages> for ChainApiMessage
impl TryFrom<AllMessages> for ChainApiMessage
source§impl TryFrom<AllMessages> for ChainSelectionMessage
impl TryFrom<AllMessages> for ChainSelectionMessage
source§impl TryFrom<AllMessages> for CollatorProtocolMessage
impl TryFrom<AllMessages> for CollatorProtocolMessage
source§impl TryFrom<AllMessages> for GossipSupportMessage
impl TryFrom<AllMessages> for GossipSupportMessage
source§impl TryFrom<AllMessages> for NetworkBridgeRxMessage
impl TryFrom<AllMessages> for NetworkBridgeRxMessage
source§impl TryFrom<AllMessages> for NetworkBridgeTxMessage
impl TryFrom<AllMessages> for NetworkBridgeTxMessage
source§impl TryFrom<AllMessages> for ProvisionerMessage
impl TryFrom<AllMessages> for ProvisionerMessage
source§impl TryFrom<AllMessages> for PvfCheckerMessage
impl TryFrom<AllMessages> for PvfCheckerMessage
source§impl TryFrom<AllMessages> for RuntimeApiMessage
impl TryFrom<AllMessages> for RuntimeApiMessage
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
§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
§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 more§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
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<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
.