pub struct OverseerSubsystemContext<M>where
M: AssociateOutgoing + Send + 'static,{ /* private fields */ }
Expand description
A context type that is given to the Subsystem
upon spawning.
It can be used by Subsystem
to communicate with other Subsystem
s
or to spawn it’s SubsystemJob
s.
Trait Implementations§
source§impl<M> Debug for OverseerSubsystemContext<M>where
M: Debug + AssociateOutgoing + Send + 'static,
impl<M> Debug for OverseerSubsystemContext<M>where M: Debug + AssociateOutgoing + Send + 'static,
source§impl SubsystemContext for OverseerSubsystemContext<()>where
(): AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<()>,
impl SubsystemContext for OverseerSubsystemContext<()>where (): AssociateOutgoing + Debug + Send + 'static, AllMessages: From<()>,
§type Message = ()
type Message = ()
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = ()
type OutgoingMessages = ()
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<()>
type Sender = OverseerSender<()>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<()> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<()>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<()> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<()>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<()> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<()>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<()> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<()>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<()> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<()> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<ApprovalDistributionMessage>where
ApprovalDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ApprovalDistributionOutgoingMessages> + From<ApprovalDistributionMessage>,
ApprovalDistributionOutgoingMessages: From<NetworkBridgeTxMessage> + From<ApprovalVotingMessage>,
impl SubsystemContext for OverseerSubsystemContext<ApprovalDistributionMessage>where ApprovalDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ApprovalDistributionOutgoingMessages> + From<ApprovalDistributionMessage>, ApprovalDistributionOutgoingMessages: From<NetworkBridgeTxMessage> + From<ApprovalVotingMessage>,
§type Message = ApprovalDistributionMessage
type Message = ApprovalDistributionMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = ApprovalDistributionOutgoingMessages
type OutgoingMessages = ApprovalDistributionOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<ApprovalDistributionOutgoingMessages>
type Sender = OverseerSender<ApprovalDistributionOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ApprovalDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ApprovalDistributionMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ApprovalDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ApprovalDistributionMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ApprovalDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ApprovalDistributionMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ApprovalDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ApprovalDistributionMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<ApprovalDistributionMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<ApprovalDistributionMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<ApprovalVotingMessage>where
ApprovalVotingMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ApprovalVotingOutgoingMessages> + From<ApprovalVotingMessage>,
ApprovalVotingOutgoingMessages: From<ApprovalDistributionMessage> + From<AvailabilityRecoveryMessage> + From<CandidateValidationMessage> + From<ChainApiMessage> + From<ChainSelectionMessage> + From<DisputeCoordinatorMessage> + From<RuntimeApiMessage>,
impl SubsystemContext for OverseerSubsystemContext<ApprovalVotingMessage>where ApprovalVotingMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ApprovalVotingOutgoingMessages> + From<ApprovalVotingMessage>, ApprovalVotingOutgoingMessages: From<ApprovalDistributionMessage> + From<AvailabilityRecoveryMessage> + From<CandidateValidationMessage> + From<ChainApiMessage> + From<ChainSelectionMessage> + From<DisputeCoordinatorMessage> + From<RuntimeApiMessage>,
§type Message = ApprovalVotingMessage
type Message = ApprovalVotingMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = ApprovalVotingOutgoingMessages
type OutgoingMessages = ApprovalVotingOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<ApprovalVotingOutgoingMessages>
type Sender = OverseerSender<ApprovalVotingOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ApprovalVotingMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ApprovalVotingMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ApprovalVotingMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ApprovalVotingMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ApprovalVotingMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ApprovalVotingMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ApprovalVotingMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ApprovalVotingMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<ApprovalVotingMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<ApprovalVotingMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<AvailabilityDistributionMessage>where
AvailabilityDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<AvailabilityDistributionOutgoingMessages> + From<AvailabilityDistributionMessage>,
AvailabilityDistributionOutgoingMessages: From<AvailabilityStoreMessage> + From<AvailabilityRecoveryMessage> + From<ChainApiMessage> + From<RuntimeApiMessage> + From<NetworkBridgeTxMessage>,
impl SubsystemContext for OverseerSubsystemContext<AvailabilityDistributionMessage>where AvailabilityDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<AvailabilityDistributionOutgoingMessages> + From<AvailabilityDistributionMessage>, AvailabilityDistributionOutgoingMessages: From<AvailabilityStoreMessage> + From<AvailabilityRecoveryMessage> + From<ChainApiMessage> + From<RuntimeApiMessage> + From<NetworkBridgeTxMessage>,
§type Message = AvailabilityDistributionMessage
type Message = AvailabilityDistributionMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = AvailabilityDistributionOutgoingMessages
type OutgoingMessages = AvailabilityDistributionOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<AvailabilityDistributionOutgoingMessages>
type Sender = OverseerSender<AvailabilityDistributionOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<AvailabilityDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<AvailabilityDistributionMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<AvailabilityDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<AvailabilityDistributionMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<AvailabilityDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<AvailabilityDistributionMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<AvailabilityDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<AvailabilityDistributionMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<AvailabilityDistributionMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<AvailabilityDistributionMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<AvailabilityRecoveryMessage>where
AvailabilityRecoveryMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<AvailabilityRecoveryOutgoingMessages> + From<AvailabilityRecoveryMessage>,
AvailabilityRecoveryOutgoingMessages: From<NetworkBridgeTxMessage> + From<RuntimeApiMessage> + From<AvailabilityStoreMessage>,
impl SubsystemContext for OverseerSubsystemContext<AvailabilityRecoveryMessage>where AvailabilityRecoveryMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<AvailabilityRecoveryOutgoingMessages> + From<AvailabilityRecoveryMessage>, AvailabilityRecoveryOutgoingMessages: From<NetworkBridgeTxMessage> + From<RuntimeApiMessage> + From<AvailabilityStoreMessage>,
§type Message = AvailabilityRecoveryMessage
type Message = AvailabilityRecoveryMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = AvailabilityRecoveryOutgoingMessages
type OutgoingMessages = AvailabilityRecoveryOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<AvailabilityRecoveryOutgoingMessages>
type Sender = OverseerSender<AvailabilityRecoveryOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<AvailabilityRecoveryMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<AvailabilityRecoveryMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<AvailabilityRecoveryMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<AvailabilityRecoveryMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<AvailabilityRecoveryMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<AvailabilityRecoveryMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<AvailabilityRecoveryMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<AvailabilityRecoveryMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<AvailabilityRecoveryMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<AvailabilityRecoveryMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<AvailabilityStoreMessage>where
AvailabilityStoreMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<AvailabilityStoreOutgoingMessages> + From<AvailabilityStoreMessage>,
AvailabilityStoreOutgoingMessages: From<ChainApiMessage> + From<RuntimeApiMessage>,
impl SubsystemContext for OverseerSubsystemContext<AvailabilityStoreMessage>where AvailabilityStoreMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<AvailabilityStoreOutgoingMessages> + From<AvailabilityStoreMessage>, AvailabilityStoreOutgoingMessages: From<ChainApiMessage> + From<RuntimeApiMessage>,
§type Message = AvailabilityStoreMessage
type Message = AvailabilityStoreMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = AvailabilityStoreOutgoingMessages
type OutgoingMessages = AvailabilityStoreOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<AvailabilityStoreOutgoingMessages>
type Sender = OverseerSender<AvailabilityStoreOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<AvailabilityStoreMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<AvailabilityStoreMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<AvailabilityStoreMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<AvailabilityStoreMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<AvailabilityStoreMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<AvailabilityStoreMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<AvailabilityStoreMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<AvailabilityStoreMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<AvailabilityStoreMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<AvailabilityStoreMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<BitfieldDistributionMessage>where
BitfieldDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<BitfieldDistributionOutgoingMessages> + From<BitfieldDistributionMessage>,
BitfieldDistributionOutgoingMessages: From<RuntimeApiMessage> + From<NetworkBridgeTxMessage> + From<ProvisionerMessage>,
impl SubsystemContext for OverseerSubsystemContext<BitfieldDistributionMessage>where BitfieldDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<BitfieldDistributionOutgoingMessages> + From<BitfieldDistributionMessage>, BitfieldDistributionOutgoingMessages: From<RuntimeApiMessage> + From<NetworkBridgeTxMessage> + From<ProvisionerMessage>,
§type Message = BitfieldDistributionMessage
type Message = BitfieldDistributionMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = BitfieldDistributionOutgoingMessages
type OutgoingMessages = BitfieldDistributionOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<BitfieldDistributionOutgoingMessages>
type Sender = OverseerSender<BitfieldDistributionOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<BitfieldDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<BitfieldDistributionMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<BitfieldDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<BitfieldDistributionMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<BitfieldDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<BitfieldDistributionMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<BitfieldDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<BitfieldDistributionMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<BitfieldDistributionMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<BitfieldDistributionMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<BitfieldSigningMessage>where
BitfieldSigningMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<BitfieldSigningOutgoingMessages> + From<BitfieldSigningMessage>,
BitfieldSigningOutgoingMessages: From<AvailabilityStoreMessage> + From<RuntimeApiMessage> + From<BitfieldDistributionMessage>,
impl SubsystemContext for OverseerSubsystemContext<BitfieldSigningMessage>where BitfieldSigningMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<BitfieldSigningOutgoingMessages> + From<BitfieldSigningMessage>, BitfieldSigningOutgoingMessages: From<AvailabilityStoreMessage> + From<RuntimeApiMessage> + From<BitfieldDistributionMessage>,
§type Message = BitfieldSigningMessage
type Message = BitfieldSigningMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = BitfieldSigningOutgoingMessages
type OutgoingMessages = BitfieldSigningOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<BitfieldSigningOutgoingMessages>
type Sender = OverseerSender<BitfieldSigningOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<BitfieldSigningMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<BitfieldSigningMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<BitfieldSigningMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<BitfieldSigningMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<BitfieldSigningMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<BitfieldSigningMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<BitfieldSigningMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<BitfieldSigningMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<BitfieldSigningMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<BitfieldSigningMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<CandidateBackingMessage>where
CandidateBackingMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<CandidateBackingOutgoingMessages> + From<CandidateBackingMessage>,
CandidateBackingOutgoingMessages: From<CandidateValidationMessage> + From<CollatorProtocolMessage> + From<AvailabilityDistributionMessage> + From<AvailabilityStoreMessage> + From<StatementDistributionMessage> + From<ProvisionerMessage> + From<RuntimeApiMessage>,
impl SubsystemContext for OverseerSubsystemContext<CandidateBackingMessage>where CandidateBackingMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<CandidateBackingOutgoingMessages> + From<CandidateBackingMessage>, CandidateBackingOutgoingMessages: From<CandidateValidationMessage> + From<CollatorProtocolMessage> + From<AvailabilityDistributionMessage> + From<AvailabilityStoreMessage> + From<StatementDistributionMessage> + From<ProvisionerMessage> + From<RuntimeApiMessage>,
§type Message = CandidateBackingMessage
type Message = CandidateBackingMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = CandidateBackingOutgoingMessages
type OutgoingMessages = CandidateBackingOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<CandidateBackingOutgoingMessages>
type Sender = OverseerSender<CandidateBackingOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<CandidateBackingMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<CandidateBackingMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<CandidateBackingMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<CandidateBackingMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<CandidateBackingMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<CandidateBackingMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<CandidateBackingMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<CandidateBackingMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<CandidateBackingMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<CandidateBackingMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<CandidateValidationMessage>where
CandidateValidationMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<CandidateValidationOutgoingMessages> + From<CandidateValidationMessage>,
CandidateValidationOutgoingMessages: From<RuntimeApiMessage>,
impl SubsystemContext for OverseerSubsystemContext<CandidateValidationMessage>where CandidateValidationMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<CandidateValidationOutgoingMessages> + From<CandidateValidationMessage>, CandidateValidationOutgoingMessages: From<RuntimeApiMessage>,
§type Message = CandidateValidationMessage
type Message = CandidateValidationMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = CandidateValidationOutgoingMessages
type OutgoingMessages = CandidateValidationOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<CandidateValidationOutgoingMessages>
type Sender = OverseerSender<CandidateValidationOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<CandidateValidationMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<CandidateValidationMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<CandidateValidationMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<CandidateValidationMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<CandidateValidationMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<CandidateValidationMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<CandidateValidationMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<CandidateValidationMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<CandidateValidationMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<CandidateValidationMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<ChainApiMessage>where
ChainApiMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ChainApiOutgoingMessages> + From<ChainApiMessage>,
impl SubsystemContext for OverseerSubsystemContext<ChainApiMessage>where ChainApiMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ChainApiOutgoingMessages> + From<ChainApiMessage>,
§type Message = ChainApiMessage
type Message = ChainApiMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = ChainApiOutgoingMessages
type OutgoingMessages = ChainApiOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<ChainApiOutgoingMessages>
type Sender = OverseerSender<ChainApiOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ChainApiMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ChainApiMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ChainApiMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ChainApiMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ChainApiMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ChainApiMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ChainApiMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ChainApiMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<ChainApiMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<ChainApiMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<ChainSelectionMessage>where
ChainSelectionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ChainSelectionOutgoingMessages> + From<ChainSelectionMessage>,
ChainSelectionOutgoingMessages: From<ChainApiMessage>,
impl SubsystemContext for OverseerSubsystemContext<ChainSelectionMessage>where ChainSelectionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ChainSelectionOutgoingMessages> + From<ChainSelectionMessage>, ChainSelectionOutgoingMessages: From<ChainApiMessage>,
§type Message = ChainSelectionMessage
type Message = ChainSelectionMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = ChainSelectionOutgoingMessages
type OutgoingMessages = ChainSelectionOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<ChainSelectionOutgoingMessages>
type Sender = OverseerSender<ChainSelectionOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ChainSelectionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ChainSelectionMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ChainSelectionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ChainSelectionMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ChainSelectionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ChainSelectionMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ChainSelectionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ChainSelectionMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<ChainSelectionMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<ChainSelectionMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<CollationGenerationMessage>where
CollationGenerationMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<CollationGenerationOutgoingMessages> + From<CollationGenerationMessage>,
CollationGenerationOutgoingMessages: From<RuntimeApiMessage> + From<CollatorProtocolMessage>,
impl SubsystemContext for OverseerSubsystemContext<CollationGenerationMessage>where CollationGenerationMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<CollationGenerationOutgoingMessages> + From<CollationGenerationMessage>, CollationGenerationOutgoingMessages: From<RuntimeApiMessage> + From<CollatorProtocolMessage>,
§type Message = CollationGenerationMessage
type Message = CollationGenerationMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = CollationGenerationOutgoingMessages
type OutgoingMessages = CollationGenerationOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<CollationGenerationOutgoingMessages>
type Sender = OverseerSender<CollationGenerationOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<CollationGenerationMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<CollationGenerationMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<CollationGenerationMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<CollationGenerationMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<CollationGenerationMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<CollationGenerationMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<CollationGenerationMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<CollationGenerationMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<CollationGenerationMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<CollationGenerationMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<CollatorProtocolMessage>where
CollatorProtocolMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<CollatorProtocolOutgoingMessages> + From<CollatorProtocolMessage>,
CollatorProtocolOutgoingMessages: From<NetworkBridgeTxMessage> + From<RuntimeApiMessage> + From<CandidateBackingMessage>,
impl SubsystemContext for OverseerSubsystemContext<CollatorProtocolMessage>where CollatorProtocolMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<CollatorProtocolOutgoingMessages> + From<CollatorProtocolMessage>, CollatorProtocolOutgoingMessages: From<NetworkBridgeTxMessage> + From<RuntimeApiMessage> + From<CandidateBackingMessage>,
§type Message = CollatorProtocolMessage
type Message = CollatorProtocolMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = CollatorProtocolOutgoingMessages
type OutgoingMessages = CollatorProtocolOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<CollatorProtocolOutgoingMessages>
type Sender = OverseerSender<CollatorProtocolOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<CollatorProtocolMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<CollatorProtocolMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<CollatorProtocolMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<CollatorProtocolMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<CollatorProtocolMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<CollatorProtocolMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<CollatorProtocolMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<CollatorProtocolMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<CollatorProtocolMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<CollatorProtocolMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<DisputeCoordinatorMessage>where
DisputeCoordinatorMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<DisputeCoordinatorOutgoingMessages> + From<DisputeCoordinatorMessage>,
DisputeCoordinatorOutgoingMessages: From<RuntimeApiMessage> + From<ChainApiMessage> + From<DisputeDistributionMessage> + From<CandidateValidationMessage> + From<ApprovalVotingMessage> + From<AvailabilityStoreMessage> + From<AvailabilityRecoveryMessage>,
impl SubsystemContext for OverseerSubsystemContext<DisputeCoordinatorMessage>where DisputeCoordinatorMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<DisputeCoordinatorOutgoingMessages> + From<DisputeCoordinatorMessage>, DisputeCoordinatorOutgoingMessages: From<RuntimeApiMessage> + From<ChainApiMessage> + From<DisputeDistributionMessage> + From<CandidateValidationMessage> + From<ApprovalVotingMessage> + From<AvailabilityStoreMessage> + From<AvailabilityRecoveryMessage>,
§type Message = DisputeCoordinatorMessage
type Message = DisputeCoordinatorMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = DisputeCoordinatorOutgoingMessages
type OutgoingMessages = DisputeCoordinatorOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<DisputeCoordinatorOutgoingMessages>
type Sender = OverseerSender<DisputeCoordinatorOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<DisputeCoordinatorMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<DisputeCoordinatorMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<DisputeCoordinatorMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<DisputeCoordinatorMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<DisputeCoordinatorMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<DisputeCoordinatorMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<DisputeCoordinatorMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<DisputeCoordinatorMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<DisputeCoordinatorMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<DisputeCoordinatorMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<DisputeDistributionMessage>where
DisputeDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<DisputeDistributionOutgoingMessages> + From<DisputeDistributionMessage>,
DisputeDistributionOutgoingMessages: From<RuntimeApiMessage> + From<DisputeCoordinatorMessage> + From<NetworkBridgeTxMessage>,
impl SubsystemContext for OverseerSubsystemContext<DisputeDistributionMessage>where DisputeDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<DisputeDistributionOutgoingMessages> + From<DisputeDistributionMessage>, DisputeDistributionOutgoingMessages: From<RuntimeApiMessage> + From<DisputeCoordinatorMessage> + From<NetworkBridgeTxMessage>,
§type Message = DisputeDistributionMessage
type Message = DisputeDistributionMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = DisputeDistributionOutgoingMessages
type OutgoingMessages = DisputeDistributionOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<DisputeDistributionOutgoingMessages>
type Sender = OverseerSender<DisputeDistributionOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<DisputeDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<DisputeDistributionMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<DisputeDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<DisputeDistributionMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<DisputeDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<DisputeDistributionMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<DisputeDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<DisputeDistributionMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<DisputeDistributionMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<DisputeDistributionMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<GossipSupportMessage>where
GossipSupportMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<GossipSupportOutgoingMessages> + From<GossipSupportMessage>,
GossipSupportOutgoingMessages: From<NetworkBridgeTxMessage> + From<NetworkBridgeRxMessage> + From<RuntimeApiMessage> + From<ChainSelectionMessage>,
impl SubsystemContext for OverseerSubsystemContext<GossipSupportMessage>where GossipSupportMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<GossipSupportOutgoingMessages> + From<GossipSupportMessage>, GossipSupportOutgoingMessages: From<NetworkBridgeTxMessage> + From<NetworkBridgeRxMessage> + From<RuntimeApiMessage> + From<ChainSelectionMessage>,
§type Message = GossipSupportMessage
type Message = GossipSupportMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = GossipSupportOutgoingMessages
type OutgoingMessages = GossipSupportOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<GossipSupportOutgoingMessages>
type Sender = OverseerSender<GossipSupportOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<GossipSupportMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<GossipSupportMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<GossipSupportMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<GossipSupportMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<GossipSupportMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<GossipSupportMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<GossipSupportMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<GossipSupportMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<GossipSupportMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<GossipSupportMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<NetworkBridgeRxMessage>where
NetworkBridgeRxMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<NetworkBridgeRxOutgoingMessages> + From<NetworkBridgeRxMessage>,
NetworkBridgeRxOutgoingMessages: From<BitfieldDistributionMessage> + From<StatementDistributionMessage> + From<ApprovalDistributionMessage> + From<GossipSupportMessage> + From<DisputeDistributionMessage> + From<CollationGenerationMessage> + From<CollatorProtocolMessage>,
impl SubsystemContext for OverseerSubsystemContext<NetworkBridgeRxMessage>where NetworkBridgeRxMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<NetworkBridgeRxOutgoingMessages> + From<NetworkBridgeRxMessage>, NetworkBridgeRxOutgoingMessages: From<BitfieldDistributionMessage> + From<StatementDistributionMessage> + From<ApprovalDistributionMessage> + From<GossipSupportMessage> + From<DisputeDistributionMessage> + From<CollationGenerationMessage> + From<CollatorProtocolMessage>,
§type Message = NetworkBridgeRxMessage
type Message = NetworkBridgeRxMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = NetworkBridgeRxOutgoingMessages
type OutgoingMessages = NetworkBridgeRxOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<NetworkBridgeRxOutgoingMessages>
type Sender = OverseerSender<NetworkBridgeRxOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<NetworkBridgeRxMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<NetworkBridgeRxMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<NetworkBridgeRxMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<NetworkBridgeRxMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<NetworkBridgeRxMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<NetworkBridgeRxMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<NetworkBridgeRxMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<NetworkBridgeRxMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<NetworkBridgeRxMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<NetworkBridgeRxMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<NetworkBridgeTxMessage>where
NetworkBridgeTxMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<NetworkBridgeTxOutgoingMessages> + From<NetworkBridgeTxMessage>,
impl SubsystemContext for OverseerSubsystemContext<NetworkBridgeTxMessage>where NetworkBridgeTxMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<NetworkBridgeTxOutgoingMessages> + From<NetworkBridgeTxMessage>,
§type Message = NetworkBridgeTxMessage
type Message = NetworkBridgeTxMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = NetworkBridgeTxOutgoingMessages
type OutgoingMessages = NetworkBridgeTxOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<NetworkBridgeTxOutgoingMessages>
type Sender = OverseerSender<NetworkBridgeTxOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<NetworkBridgeTxMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<NetworkBridgeTxMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<NetworkBridgeTxMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<NetworkBridgeTxMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<NetworkBridgeTxMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<NetworkBridgeTxMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<NetworkBridgeTxMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<NetworkBridgeTxMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<NetworkBridgeTxMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<NetworkBridgeTxMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<ProvisionerMessage>where
ProvisionerMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ProvisionerOutgoingMessages> + From<ProvisionerMessage>,
ProvisionerOutgoingMessages: From<RuntimeApiMessage> + From<CandidateBackingMessage> + From<ChainApiMessage> + From<DisputeCoordinatorMessage>,
impl SubsystemContext for OverseerSubsystemContext<ProvisionerMessage>where ProvisionerMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ProvisionerOutgoingMessages> + From<ProvisionerMessage>, ProvisionerOutgoingMessages: From<RuntimeApiMessage> + From<CandidateBackingMessage> + From<ChainApiMessage> + From<DisputeCoordinatorMessage>,
§type Message = ProvisionerMessage
type Message = ProvisionerMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = ProvisionerOutgoingMessages
type OutgoingMessages = ProvisionerOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<ProvisionerOutgoingMessages>
type Sender = OverseerSender<ProvisionerOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ProvisionerMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ProvisionerMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<ProvisionerMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ProvisionerMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ProvisionerMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<ProvisionerMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<ProvisionerMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<ProvisionerMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<ProvisionerMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<ProvisionerMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<PvfCheckerMessage>where
PvfCheckerMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<PvfCheckerOutgoingMessages> + From<PvfCheckerMessage>,
PvfCheckerOutgoingMessages: From<CandidateValidationMessage> + From<RuntimeApiMessage>,
impl SubsystemContext for OverseerSubsystemContext<PvfCheckerMessage>where PvfCheckerMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<PvfCheckerOutgoingMessages> + From<PvfCheckerMessage>, PvfCheckerOutgoingMessages: From<CandidateValidationMessage> + From<RuntimeApiMessage>,
§type Message = PvfCheckerMessage
type Message = PvfCheckerMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = PvfCheckerOutgoingMessages
type OutgoingMessages = PvfCheckerOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<PvfCheckerOutgoingMessages>
type Sender = OverseerSender<PvfCheckerOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<PvfCheckerMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<PvfCheckerMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<PvfCheckerMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<PvfCheckerMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<PvfCheckerMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<PvfCheckerMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<PvfCheckerMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<PvfCheckerMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<PvfCheckerMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<PvfCheckerMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<RuntimeApiMessage>where
RuntimeApiMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<RuntimeApiOutgoingMessages> + From<RuntimeApiMessage>,
impl SubsystemContext for OverseerSubsystemContext<RuntimeApiMessage>where RuntimeApiMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<RuntimeApiOutgoingMessages> + From<RuntimeApiMessage>,
§type Message = RuntimeApiMessage
type Message = RuntimeApiMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = RuntimeApiOutgoingMessages
type OutgoingMessages = RuntimeApiOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<RuntimeApiOutgoingMessages>
type Sender = OverseerSender<RuntimeApiOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<RuntimeApiMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<RuntimeApiMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<RuntimeApiMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<RuntimeApiMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<RuntimeApiMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<RuntimeApiMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<RuntimeApiMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<RuntimeApiMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<RuntimeApiMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<RuntimeApiMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
source§impl SubsystemContext for OverseerSubsystemContext<StatementDistributionMessage>where
StatementDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<StatementDistributionOutgoingMessages> + From<StatementDistributionMessage>,
StatementDistributionOutgoingMessages: From<NetworkBridgeTxMessage> + From<CandidateBackingMessage> + From<RuntimeApiMessage>,
impl SubsystemContext for OverseerSubsystemContext<StatementDistributionMessage>where StatementDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<StatementDistributionOutgoingMessages> + From<StatementDistributionMessage>, StatementDistributionOutgoingMessages: From<NetworkBridgeTxMessage> + From<CandidateBackingMessage> + From<RuntimeApiMessage>,
§type Message = StatementDistributionMessage
type Message = StatementDistributionMessage
The message type of this context. Subsystems launched with this context will expect
to receive messages of this type. Commonly uses the wrapping
enum
commonly called
AllMessages
.§type Signal = OverseerSignal
type Signal = OverseerSignal
And the same for signals.
§type OutgoingMessages = StatementDistributionOutgoingMessages
type OutgoingMessages = StatementDistributionOutgoingMessages
The overarching messages
enum
for this particular subsystem.§type Sender = OverseerSender<StatementDistributionOutgoingMessages>
type Sender = OverseerSender<StatementDistributionOutgoingMessages>
The sender type as provided by
sender()
and underlying.§type Error = SubsystemError
type Error = SubsystemError
The error type.
source§fn try_recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<StatementDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<StatementDistributionMessage>: 'async_trait,
fn try_recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<Option<FromOrchestra<<OverseerSubsystemContext<StatementDistributionMessage> as SubsystemContext>::Message, OverseerSignal>>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<StatementDistributionMessage>: 'async_trait,
Try to asynchronously receive a message. Read more
source§fn recv<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<StatementDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
OverseerSubsystemContext<StatementDistributionMessage>: 'async_trait,
fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<FromOrchestra<<OverseerSubsystemContext<StatementDistributionMessage> as SubsystemContext>::Message, OverseerSignal>, SubsystemError>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, OverseerSubsystemContext<StatementDistributionMessage>: 'async_trait,
Receive a message.
source§fn sender(
&mut self
) -> &mut <OverseerSubsystemContext<StatementDistributionMessage> as SubsystemContext>::Sender
fn sender( &mut self ) -> &mut <OverseerSubsystemContext<StatementDistributionMessage> as SubsystemContext>::Sender
Obtain the sender.
source§fn spawn(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a child task on the executor.
source§fn spawn_blocking(
&mut self,
name: &'static str,
s: Pin<Box<dyn Future<Output = ()> + Send, Global>>
) -> Result<(), SubsystemError>
fn spawn_blocking( &mut self, name: &'static str, s: Pin<Box<dyn Future<Output = ()> + Send, Global>> ) -> Result<(), SubsystemError>
Spawn a blocking child task on the executor’s dedicated thread pool.
source§fn send_message<'life0, 'async_trait, T>(
&'life0 mut self,
msg: T
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_message<'life0, 'async_trait, T>( &'life0 mut self, msg: T ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, T: Send + 'async_trait, Self: 'async_trait,
Send a direct message to some other
Subsystem
, routed based on message type.source§fn send_messages<'life0, 'async_trait, T, I>(
&'life0 mut self,
msgs: I
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self::OutgoingMessages: From<T> + Send,
I: IntoIterator<Item = T> + Send + 'async_trait,
<I as IntoIterator>::IntoIter: Send,
T: Send + 'async_trait,
Self: 'async_trait,
fn send_messages<'life0, 'async_trait, T, I>( &'life0 mut self, msgs: I ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Self::OutgoingMessages: From<T> + Send, I: IntoIterator<Item = T> + Send + 'async_trait, <I as IntoIterator>::IntoIter: Send, T: Send + 'async_trait, Self: 'async_trait,
Send multiple direct messages to other
Subsystem
s, routed based on message type.source§fn send_unbounded_message<X>(&mut self, msg: X)where
Self::OutgoingMessages: From<X> + Send,
X: Send,
fn send_unbounded_message<X>(&mut self, msg: X)where Self::OutgoingMessages: From<X> + Send, X: Send,
Send a message using the unbounded connection.
Auto Trait Implementations§
impl<M> !RefUnwindSafe for OverseerSubsystemContext<M>
impl<M> Send for OverseerSubsystemContext<M>
impl<M> Sync for OverseerSubsystemContext<M>where M: Sync, <M as AssociateOutgoing>::OutgoingMessages: Sync,
impl<M> Unpin for OverseerSubsystemContext<M>where M: Unpin, <M as AssociateOutgoing>::OutgoingMessages: Unpin,
impl<M> !UnwindSafe for OverseerSubsystemContext<M>
Blanket Implementations§
source§impl<T> ApprovalDistributionContextTrait for Twhere
T: SubsystemContext<Message = ApprovalDistributionMessage, Signal = OverseerSignal, OutgoingMessages = ApprovalDistributionOutgoingMessages, Error = SubsystemError>,
ApprovalDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ApprovalDistributionOutgoingMessages> + From<ApprovalDistributionMessage> + From<()>,
ApprovalDistributionOutgoingMessages: From<NetworkBridgeTxMessage> + From<ApprovalVotingMessage> + From<()>,
<T as SubsystemContext>::Sender: ApprovalDistributionSenderTrait + SubsystemSender<ApprovalDistributionOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<ApprovalVotingMessage> + SubsystemSender<()> + Send + 'static,
impl<T> ApprovalDistributionContextTrait for Twhere T: SubsystemContext<Message = ApprovalDistributionMessage, Signal = OverseerSignal, OutgoingMessages = ApprovalDistributionOutgoingMessages, Error = SubsystemError>, ApprovalDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ApprovalDistributionOutgoingMessages> + From<ApprovalDistributionMessage> + From<()>, ApprovalDistributionOutgoingMessages: From<NetworkBridgeTxMessage> + From<ApprovalVotingMessage> + From<()>, <T as SubsystemContext>::Sender: ApprovalDistributionSenderTrait + SubsystemSender<ApprovalDistributionOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<ApprovalVotingMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> ApprovalVotingContextTrait for Twhere
T: SubsystemContext<Message = ApprovalVotingMessage, Signal = OverseerSignal, OutgoingMessages = ApprovalVotingOutgoingMessages, Error = SubsystemError>,
ApprovalVotingMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ApprovalVotingOutgoingMessages> + From<ApprovalVotingMessage> + From<()>,
ApprovalVotingOutgoingMessages: From<ApprovalDistributionMessage> + From<AvailabilityRecoveryMessage> + From<CandidateValidationMessage> + From<ChainApiMessage> + From<ChainSelectionMessage> + From<DisputeCoordinatorMessage> + From<RuntimeApiMessage> + From<()>,
<T as SubsystemContext>::Sender: ApprovalVotingSenderTrait + SubsystemSender<ApprovalVotingOutgoingMessages> + SubsystemSender<ApprovalDistributionMessage> + SubsystemSender<AvailabilityRecoveryMessage> + SubsystemSender<CandidateValidationMessage> + SubsystemSender<ChainApiMessage> + SubsystemSender<ChainSelectionMessage> + SubsystemSender<DisputeCoordinatorMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
impl<T> ApprovalVotingContextTrait for Twhere T: SubsystemContext<Message = ApprovalVotingMessage, Signal = OverseerSignal, OutgoingMessages = ApprovalVotingOutgoingMessages, Error = SubsystemError>, ApprovalVotingMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ApprovalVotingOutgoingMessages> + From<ApprovalVotingMessage> + From<()>, ApprovalVotingOutgoingMessages: From<ApprovalDistributionMessage> + From<AvailabilityRecoveryMessage> + From<CandidateValidationMessage> + From<ChainApiMessage> + From<ChainSelectionMessage> + From<DisputeCoordinatorMessage> + From<RuntimeApiMessage> + From<()>, <T as SubsystemContext>::Sender: ApprovalVotingSenderTrait + SubsystemSender<ApprovalVotingOutgoingMessages> + SubsystemSender<ApprovalDistributionMessage> + SubsystemSender<AvailabilityRecoveryMessage> + SubsystemSender<CandidateValidationMessage> + SubsystemSender<ChainApiMessage> + SubsystemSender<ChainSelectionMessage> + SubsystemSender<DisputeCoordinatorMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> AvailabilityDistributionContextTrait for Twhere
T: SubsystemContext<Message = AvailabilityDistributionMessage, Signal = OverseerSignal, OutgoingMessages = AvailabilityDistributionOutgoingMessages, Error = SubsystemError>,
AvailabilityDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<AvailabilityDistributionOutgoingMessages> + From<AvailabilityDistributionMessage> + From<()>,
AvailabilityDistributionOutgoingMessages: From<AvailabilityStoreMessage> + From<AvailabilityRecoveryMessage> + From<ChainApiMessage> + From<RuntimeApiMessage> + From<NetworkBridgeTxMessage> + From<()>,
<T as SubsystemContext>::Sender: AvailabilityDistributionSenderTrait + SubsystemSender<AvailabilityDistributionOutgoingMessages> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<AvailabilityRecoveryMessage> + SubsystemSender<ChainApiMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<()> + Send + 'static,
impl<T> AvailabilityDistributionContextTrait for Twhere T: SubsystemContext<Message = AvailabilityDistributionMessage, Signal = OverseerSignal, OutgoingMessages = AvailabilityDistributionOutgoingMessages, Error = SubsystemError>, AvailabilityDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<AvailabilityDistributionOutgoingMessages> + From<AvailabilityDistributionMessage> + From<()>, AvailabilityDistributionOutgoingMessages: From<AvailabilityStoreMessage> + From<AvailabilityRecoveryMessage> + From<ChainApiMessage> + From<RuntimeApiMessage> + From<NetworkBridgeTxMessage> + From<()>, <T as SubsystemContext>::Sender: AvailabilityDistributionSenderTrait + SubsystemSender<AvailabilityDistributionOutgoingMessages> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<AvailabilityRecoveryMessage> + SubsystemSender<ChainApiMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> AvailabilityRecoveryContextTrait for Twhere
T: SubsystemContext<Message = AvailabilityRecoveryMessage, Signal = OverseerSignal, OutgoingMessages = AvailabilityRecoveryOutgoingMessages, Error = SubsystemError>,
AvailabilityRecoveryMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<AvailabilityRecoveryOutgoingMessages> + From<AvailabilityRecoveryMessage> + From<()>,
AvailabilityRecoveryOutgoingMessages: From<NetworkBridgeTxMessage> + From<RuntimeApiMessage> + From<AvailabilityStoreMessage> + From<()>,
<T as SubsystemContext>::Sender: AvailabilityRecoverySenderTrait + SubsystemSender<AvailabilityRecoveryOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<()> + Send + 'static,
impl<T> AvailabilityRecoveryContextTrait for Twhere T: SubsystemContext<Message = AvailabilityRecoveryMessage, Signal = OverseerSignal, OutgoingMessages = AvailabilityRecoveryOutgoingMessages, Error = SubsystemError>, AvailabilityRecoveryMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<AvailabilityRecoveryOutgoingMessages> + From<AvailabilityRecoveryMessage> + From<()>, AvailabilityRecoveryOutgoingMessages: From<NetworkBridgeTxMessage> + From<RuntimeApiMessage> + From<AvailabilityStoreMessage> + From<()>, <T as SubsystemContext>::Sender: AvailabilityRecoverySenderTrait + SubsystemSender<AvailabilityRecoveryOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> AvailabilityStoreContextTrait for Twhere
T: SubsystemContext<Message = AvailabilityStoreMessage, Signal = OverseerSignal, OutgoingMessages = AvailabilityStoreOutgoingMessages, Error = SubsystemError>,
AvailabilityStoreMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<AvailabilityStoreOutgoingMessages> + From<AvailabilityStoreMessage> + From<()>,
AvailabilityStoreOutgoingMessages: From<ChainApiMessage> + From<RuntimeApiMessage> + From<()>,
<T as SubsystemContext>::Sender: AvailabilityStoreSenderTrait + SubsystemSender<AvailabilityStoreOutgoingMessages> + SubsystemSender<ChainApiMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
impl<T> AvailabilityStoreContextTrait for Twhere T: SubsystemContext<Message = AvailabilityStoreMessage, Signal = OverseerSignal, OutgoingMessages = AvailabilityStoreOutgoingMessages, Error = SubsystemError>, AvailabilityStoreMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<AvailabilityStoreOutgoingMessages> + From<AvailabilityStoreMessage> + From<()>, AvailabilityStoreOutgoingMessages: From<ChainApiMessage> + From<RuntimeApiMessage> + From<()>, <T as SubsystemContext>::Sender: AvailabilityStoreSenderTrait + SubsystemSender<AvailabilityStoreOutgoingMessages> + SubsystemSender<ChainApiMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> BitfieldDistributionContextTrait for Twhere
T: SubsystemContext<Message = BitfieldDistributionMessage, Signal = OverseerSignal, OutgoingMessages = BitfieldDistributionOutgoingMessages, Error = SubsystemError>,
BitfieldDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<BitfieldDistributionOutgoingMessages> + From<BitfieldDistributionMessage> + From<()>,
BitfieldDistributionOutgoingMessages: From<RuntimeApiMessage> + From<NetworkBridgeTxMessage> + From<ProvisionerMessage> + From<()>,
<T as SubsystemContext>::Sender: BitfieldDistributionSenderTrait + SubsystemSender<BitfieldDistributionOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<ProvisionerMessage> + SubsystemSender<()> + Send + 'static,
impl<T> BitfieldDistributionContextTrait for Twhere T: SubsystemContext<Message = BitfieldDistributionMessage, Signal = OverseerSignal, OutgoingMessages = BitfieldDistributionOutgoingMessages, Error = SubsystemError>, BitfieldDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<BitfieldDistributionOutgoingMessages> + From<BitfieldDistributionMessage> + From<()>, BitfieldDistributionOutgoingMessages: From<RuntimeApiMessage> + From<NetworkBridgeTxMessage> + From<ProvisionerMessage> + From<()>, <T as SubsystemContext>::Sender: BitfieldDistributionSenderTrait + SubsystemSender<BitfieldDistributionOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<ProvisionerMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> BitfieldSigningContextTrait for Twhere
T: SubsystemContext<Message = BitfieldSigningMessage, Signal = OverseerSignal, OutgoingMessages = BitfieldSigningOutgoingMessages, Error = SubsystemError>,
BitfieldSigningMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<BitfieldSigningOutgoingMessages> + From<BitfieldSigningMessage> + From<()>,
BitfieldSigningOutgoingMessages: From<AvailabilityStoreMessage> + From<RuntimeApiMessage> + From<BitfieldDistributionMessage> + From<()>,
<T as SubsystemContext>::Sender: BitfieldSigningSenderTrait + SubsystemSender<BitfieldSigningOutgoingMessages> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<BitfieldDistributionMessage> + SubsystemSender<()> + Send + 'static,
impl<T> BitfieldSigningContextTrait for Twhere T: SubsystemContext<Message = BitfieldSigningMessage, Signal = OverseerSignal, OutgoingMessages = BitfieldSigningOutgoingMessages, Error = SubsystemError>, BitfieldSigningMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<BitfieldSigningOutgoingMessages> + From<BitfieldSigningMessage> + From<()>, BitfieldSigningOutgoingMessages: From<AvailabilityStoreMessage> + From<RuntimeApiMessage> + From<BitfieldDistributionMessage> + From<()>, <T as SubsystemContext>::Sender: BitfieldSigningSenderTrait + SubsystemSender<BitfieldSigningOutgoingMessages> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<BitfieldDistributionMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
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> CandidateBackingContextTrait for Twhere
T: SubsystemContext<Message = CandidateBackingMessage, Signal = OverseerSignal, OutgoingMessages = CandidateBackingOutgoingMessages, Error = SubsystemError>,
CandidateBackingMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<CandidateBackingOutgoingMessages> + From<CandidateBackingMessage> + From<()>,
CandidateBackingOutgoingMessages: From<CandidateValidationMessage> + From<CollatorProtocolMessage> + From<AvailabilityDistributionMessage> + From<AvailabilityStoreMessage> + From<StatementDistributionMessage> + From<ProvisionerMessage> + From<RuntimeApiMessage> + From<()>,
<T as SubsystemContext>::Sender: CandidateBackingSenderTrait + SubsystemSender<CandidateBackingOutgoingMessages> + SubsystemSender<CandidateValidationMessage> + SubsystemSender<CollatorProtocolMessage> + SubsystemSender<AvailabilityDistributionMessage> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<StatementDistributionMessage> + SubsystemSender<ProvisionerMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
impl<T> CandidateBackingContextTrait for Twhere T: SubsystemContext<Message = CandidateBackingMessage, Signal = OverseerSignal, OutgoingMessages = CandidateBackingOutgoingMessages, Error = SubsystemError>, CandidateBackingMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<CandidateBackingOutgoingMessages> + From<CandidateBackingMessage> + From<()>, CandidateBackingOutgoingMessages: From<CandidateValidationMessage> + From<CollatorProtocolMessage> + From<AvailabilityDistributionMessage> + From<AvailabilityStoreMessage> + From<StatementDistributionMessage> + From<ProvisionerMessage> + From<RuntimeApiMessage> + From<()>, <T as SubsystemContext>::Sender: CandidateBackingSenderTrait + SubsystemSender<CandidateBackingOutgoingMessages> + SubsystemSender<CandidateValidationMessage> + SubsystemSender<CollatorProtocolMessage> + SubsystemSender<AvailabilityDistributionMessage> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<StatementDistributionMessage> + SubsystemSender<ProvisionerMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> CandidateValidationContextTrait for Twhere
T: SubsystemContext<Message = CandidateValidationMessage, Signal = OverseerSignal, OutgoingMessages = CandidateValidationOutgoingMessages, Error = SubsystemError>,
CandidateValidationMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<CandidateValidationOutgoingMessages> + From<CandidateValidationMessage> + From<()>,
CandidateValidationOutgoingMessages: From<RuntimeApiMessage> + From<()>,
<T as SubsystemContext>::Sender: CandidateValidationSenderTrait + SubsystemSender<CandidateValidationOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
impl<T> CandidateValidationContextTrait for Twhere T: SubsystemContext<Message = CandidateValidationMessage, Signal = OverseerSignal, OutgoingMessages = CandidateValidationOutgoingMessages, Error = SubsystemError>, CandidateValidationMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<CandidateValidationOutgoingMessages> + From<CandidateValidationMessage> + From<()>, CandidateValidationOutgoingMessages: From<RuntimeApiMessage> + From<()>, <T as SubsystemContext>::Sender: CandidateValidationSenderTrait + SubsystemSender<CandidateValidationOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> ChainApiContextTrait for Twhere
T: SubsystemContext<Message = ChainApiMessage, Signal = OverseerSignal, OutgoingMessages = ChainApiOutgoingMessages, Error = SubsystemError>,
ChainApiMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ChainApiOutgoingMessages> + From<ChainApiMessage> + From<()>,
ChainApiOutgoingMessages: From<()>,
<T as SubsystemContext>::Sender: ChainApiSenderTrait + SubsystemSender<ChainApiOutgoingMessages> + SubsystemSender<()> + Send + 'static,
impl<T> ChainApiContextTrait for Twhere T: SubsystemContext<Message = ChainApiMessage, Signal = OverseerSignal, OutgoingMessages = ChainApiOutgoingMessages, Error = SubsystemError>, ChainApiMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ChainApiOutgoingMessages> + From<ChainApiMessage> + From<()>, ChainApiOutgoingMessages: From<()>, <T as SubsystemContext>::Sender: ChainApiSenderTrait + SubsystemSender<ChainApiOutgoingMessages> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> ChainSelectionContextTrait for Twhere
T: SubsystemContext<Message = ChainSelectionMessage, Signal = OverseerSignal, OutgoingMessages = ChainSelectionOutgoingMessages, Error = SubsystemError>,
ChainSelectionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ChainSelectionOutgoingMessages> + From<ChainSelectionMessage> + From<()>,
ChainSelectionOutgoingMessages: From<ChainApiMessage> + From<()>,
<T as SubsystemContext>::Sender: ChainSelectionSenderTrait + SubsystemSender<ChainSelectionOutgoingMessages> + SubsystemSender<ChainApiMessage> + SubsystemSender<()> + Send + 'static,
impl<T> ChainSelectionContextTrait for Twhere T: SubsystemContext<Message = ChainSelectionMessage, Signal = OverseerSignal, OutgoingMessages = ChainSelectionOutgoingMessages, Error = SubsystemError>, ChainSelectionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ChainSelectionOutgoingMessages> + From<ChainSelectionMessage> + From<()>, ChainSelectionOutgoingMessages: From<ChainApiMessage> + From<()>, <T as SubsystemContext>::Sender: ChainSelectionSenderTrait + SubsystemSender<ChainSelectionOutgoingMessages> + SubsystemSender<ChainApiMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> CollationGenerationContextTrait for Twhere
T: SubsystemContext<Message = CollationGenerationMessage, Signal = OverseerSignal, OutgoingMessages = CollationGenerationOutgoingMessages, Error = SubsystemError>,
CollationGenerationMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<CollationGenerationOutgoingMessages> + From<CollationGenerationMessage> + From<()>,
CollationGenerationOutgoingMessages: From<RuntimeApiMessage> + From<CollatorProtocolMessage> + From<()>,
<T as SubsystemContext>::Sender: CollationGenerationSenderTrait + SubsystemSender<CollationGenerationOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<CollatorProtocolMessage> + SubsystemSender<()> + Send + 'static,
impl<T> CollationGenerationContextTrait for Twhere T: SubsystemContext<Message = CollationGenerationMessage, Signal = OverseerSignal, OutgoingMessages = CollationGenerationOutgoingMessages, Error = SubsystemError>, CollationGenerationMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<CollationGenerationOutgoingMessages> + From<CollationGenerationMessage> + From<()>, CollationGenerationOutgoingMessages: From<RuntimeApiMessage> + From<CollatorProtocolMessage> + From<()>, <T as SubsystemContext>::Sender: CollationGenerationSenderTrait + SubsystemSender<CollationGenerationOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<CollatorProtocolMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> CollatorProtocolContextTrait for Twhere
T: SubsystemContext<Message = CollatorProtocolMessage, Signal = OverseerSignal, OutgoingMessages = CollatorProtocolOutgoingMessages, Error = SubsystemError>,
CollatorProtocolMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<CollatorProtocolOutgoingMessages> + From<CollatorProtocolMessage> + From<()>,
CollatorProtocolOutgoingMessages: From<NetworkBridgeTxMessage> + From<RuntimeApiMessage> + From<CandidateBackingMessage> + From<()>,
<T as SubsystemContext>::Sender: CollatorProtocolSenderTrait + SubsystemSender<CollatorProtocolOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<CandidateBackingMessage> + SubsystemSender<()> + Send + 'static,
impl<T> CollatorProtocolContextTrait for Twhere T: SubsystemContext<Message = CollatorProtocolMessage, Signal = OverseerSignal, OutgoingMessages = CollatorProtocolOutgoingMessages, Error = SubsystemError>, CollatorProtocolMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<CollatorProtocolOutgoingMessages> + From<CollatorProtocolMessage> + From<()>, CollatorProtocolOutgoingMessages: From<NetworkBridgeTxMessage> + From<RuntimeApiMessage> + From<CandidateBackingMessage> + From<()>, <T as SubsystemContext>::Sender: CollatorProtocolSenderTrait + SubsystemSender<CollatorProtocolOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<CandidateBackingMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> DisputeCoordinatorContextTrait for Twhere
T: SubsystemContext<Message = DisputeCoordinatorMessage, Signal = OverseerSignal, OutgoingMessages = DisputeCoordinatorOutgoingMessages, Error = SubsystemError>,
DisputeCoordinatorMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<DisputeCoordinatorOutgoingMessages> + From<DisputeCoordinatorMessage> + From<()>,
DisputeCoordinatorOutgoingMessages: From<RuntimeApiMessage> + From<ChainApiMessage> + From<DisputeDistributionMessage> + From<CandidateValidationMessage> + From<ApprovalVotingMessage> + From<AvailabilityStoreMessage> + From<AvailabilityRecoveryMessage> + From<()>,
<T as SubsystemContext>::Sender: DisputeCoordinatorSenderTrait + SubsystemSender<DisputeCoordinatorOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<ChainApiMessage> + SubsystemSender<DisputeDistributionMessage> + SubsystemSender<CandidateValidationMessage> + SubsystemSender<ApprovalVotingMessage> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<AvailabilityRecoveryMessage> + SubsystemSender<()> + Send + 'static,
impl<T> DisputeCoordinatorContextTrait for Twhere T: SubsystemContext<Message = DisputeCoordinatorMessage, Signal = OverseerSignal, OutgoingMessages = DisputeCoordinatorOutgoingMessages, Error = SubsystemError>, DisputeCoordinatorMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<DisputeCoordinatorOutgoingMessages> + From<DisputeCoordinatorMessage> + From<()>, DisputeCoordinatorOutgoingMessages: From<RuntimeApiMessage> + From<ChainApiMessage> + From<DisputeDistributionMessage> + From<CandidateValidationMessage> + From<ApprovalVotingMessage> + From<AvailabilityStoreMessage> + From<AvailabilityRecoveryMessage> + From<()>, <T as SubsystemContext>::Sender: DisputeCoordinatorSenderTrait + SubsystemSender<DisputeCoordinatorOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<ChainApiMessage> + SubsystemSender<DisputeDistributionMessage> + SubsystemSender<CandidateValidationMessage> + SubsystemSender<ApprovalVotingMessage> + SubsystemSender<AvailabilityStoreMessage> + SubsystemSender<AvailabilityRecoveryMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> DisputeDistributionContextTrait for Twhere
T: SubsystemContext<Message = DisputeDistributionMessage, Signal = OverseerSignal, OutgoingMessages = DisputeDistributionOutgoingMessages, Error = SubsystemError>,
DisputeDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<DisputeDistributionOutgoingMessages> + From<DisputeDistributionMessage> + From<()>,
DisputeDistributionOutgoingMessages: From<RuntimeApiMessage> + From<DisputeCoordinatorMessage> + From<NetworkBridgeTxMessage> + From<()>,
<T as SubsystemContext>::Sender: DisputeDistributionSenderTrait + SubsystemSender<DisputeDistributionOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<DisputeCoordinatorMessage> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<()> + Send + 'static,
impl<T> DisputeDistributionContextTrait for Twhere T: SubsystemContext<Message = DisputeDistributionMessage, Signal = OverseerSignal, OutgoingMessages = DisputeDistributionOutgoingMessages, Error = SubsystemError>, DisputeDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<DisputeDistributionOutgoingMessages> + From<DisputeDistributionMessage> + From<()>, DisputeDistributionOutgoingMessages: From<RuntimeApiMessage> + From<DisputeCoordinatorMessage> + From<NetworkBridgeTxMessage> + From<()>, <T as SubsystemContext>::Sender: DisputeDistributionSenderTrait + SubsystemSender<DisputeDistributionOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<DisputeCoordinatorMessage> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
source§fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<T> FmtForward for T
impl<T> FmtForward for T
source§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.source§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.source§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.source§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.source§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.source§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.source§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.source§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.source§impl<T> GossipSupportContextTrait for Twhere
T: SubsystemContext<Message = GossipSupportMessage, Signal = OverseerSignal, OutgoingMessages = GossipSupportOutgoingMessages, Error = SubsystemError>,
GossipSupportMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<GossipSupportOutgoingMessages> + From<GossipSupportMessage> + From<()>,
GossipSupportOutgoingMessages: From<NetworkBridgeTxMessage> + From<NetworkBridgeRxMessage> + From<RuntimeApiMessage> + From<ChainSelectionMessage> + From<()>,
<T as SubsystemContext>::Sender: GossipSupportSenderTrait + SubsystemSender<GossipSupportOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<NetworkBridgeRxMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<ChainSelectionMessage> + SubsystemSender<()> + Send + 'static,
impl<T> GossipSupportContextTrait for Twhere T: SubsystemContext<Message = GossipSupportMessage, Signal = OverseerSignal, OutgoingMessages = GossipSupportOutgoingMessages, Error = SubsystemError>, GossipSupportMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<GossipSupportOutgoingMessages> + From<GossipSupportMessage> + From<()>, GossipSupportOutgoingMessages: From<NetworkBridgeTxMessage> + From<NetworkBridgeRxMessage> + From<RuntimeApiMessage> + From<ChainSelectionMessage> + From<()>, <T as SubsystemContext>::Sender: GossipSupportSenderTrait + SubsystemSender<GossipSupportOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<NetworkBridgeRxMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<ChainSelectionMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
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> 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, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
source§impl<T> NetworkBridgeRxContextTrait for Twhere
T: SubsystemContext<Message = NetworkBridgeRxMessage, Signal = OverseerSignal, OutgoingMessages = NetworkBridgeRxOutgoingMessages, Error = SubsystemError>,
NetworkBridgeRxMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<NetworkBridgeRxOutgoingMessages> + From<NetworkBridgeRxMessage> + From<()>,
NetworkBridgeRxOutgoingMessages: From<BitfieldDistributionMessage> + From<StatementDistributionMessage> + From<ApprovalDistributionMessage> + From<GossipSupportMessage> + From<DisputeDistributionMessage> + From<CollationGenerationMessage> + From<CollatorProtocolMessage> + From<()>,
<T as SubsystemContext>::Sender: NetworkBridgeRxSenderTrait + SubsystemSender<NetworkBridgeRxOutgoingMessages> + SubsystemSender<BitfieldDistributionMessage> + SubsystemSender<StatementDistributionMessage> + SubsystemSender<ApprovalDistributionMessage> + SubsystemSender<GossipSupportMessage> + SubsystemSender<DisputeDistributionMessage> + SubsystemSender<CollationGenerationMessage> + SubsystemSender<CollatorProtocolMessage> + SubsystemSender<()> + Send + 'static,
impl<T> NetworkBridgeRxContextTrait for Twhere T: SubsystemContext<Message = NetworkBridgeRxMessage, Signal = OverseerSignal, OutgoingMessages = NetworkBridgeRxOutgoingMessages, Error = SubsystemError>, NetworkBridgeRxMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<NetworkBridgeRxOutgoingMessages> + From<NetworkBridgeRxMessage> + From<()>, NetworkBridgeRxOutgoingMessages: From<BitfieldDistributionMessage> + From<StatementDistributionMessage> + From<ApprovalDistributionMessage> + From<GossipSupportMessage> + From<DisputeDistributionMessage> + From<CollationGenerationMessage> + From<CollatorProtocolMessage> + From<()>, <T as SubsystemContext>::Sender: NetworkBridgeRxSenderTrait + SubsystemSender<NetworkBridgeRxOutgoingMessages> + SubsystemSender<BitfieldDistributionMessage> + SubsystemSender<StatementDistributionMessage> + SubsystemSender<ApprovalDistributionMessage> + SubsystemSender<GossipSupportMessage> + SubsystemSender<DisputeDistributionMessage> + SubsystemSender<CollationGenerationMessage> + SubsystemSender<CollatorProtocolMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> NetworkBridgeTxContextTrait for Twhere
T: SubsystemContext<Message = NetworkBridgeTxMessage, Signal = OverseerSignal, OutgoingMessages = NetworkBridgeTxOutgoingMessages, Error = SubsystemError>,
NetworkBridgeTxMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<NetworkBridgeTxOutgoingMessages> + From<NetworkBridgeTxMessage> + From<()>,
NetworkBridgeTxOutgoingMessages: From<()>,
<T as SubsystemContext>::Sender: NetworkBridgeTxSenderTrait + SubsystemSender<NetworkBridgeTxOutgoingMessages> + SubsystemSender<()> + Send + 'static,
impl<T> NetworkBridgeTxContextTrait for Twhere T: SubsystemContext<Message = NetworkBridgeTxMessage, Signal = OverseerSignal, OutgoingMessages = NetworkBridgeTxOutgoingMessages, Error = SubsystemError>, NetworkBridgeTxMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<NetworkBridgeTxOutgoingMessages> + From<NetworkBridgeTxMessage> + From<()>, NetworkBridgeTxOutgoingMessages: From<()>, <T as SubsystemContext>::Sender: NetworkBridgeTxSenderTrait + SubsystemSender<NetworkBridgeTxOutgoingMessages> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere T: ?Sized,
source§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
source§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 moresource§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 moresource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere Self: Borrow<B>, B: 'a + ?Sized, R: 'a,
source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> Rwhere
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> Rwhere Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,
source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere Self: AsRef<U>, U: 'a + ?Sized, R: 'a,
Borrows
self
, then passes self.as_ref()
into the pipe function.source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere Self: AsMut<U>, U: 'a + ?Sized, R: 'a,
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ProvisionerContextTrait for Twhere
T: SubsystemContext<Message = ProvisionerMessage, Signal = OverseerSignal, OutgoingMessages = ProvisionerOutgoingMessages, Error = SubsystemError>,
ProvisionerMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<ProvisionerOutgoingMessages> + From<ProvisionerMessage> + From<()>,
ProvisionerOutgoingMessages: From<RuntimeApiMessage> + From<CandidateBackingMessage> + From<ChainApiMessage> + From<DisputeCoordinatorMessage> + From<()>,
<T as SubsystemContext>::Sender: ProvisionerSenderTrait + SubsystemSender<ProvisionerOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<CandidateBackingMessage> + SubsystemSender<ChainApiMessage> + SubsystemSender<DisputeCoordinatorMessage> + SubsystemSender<()> + Send + 'static,
impl<T> ProvisionerContextTrait for Twhere T: SubsystemContext<Message = ProvisionerMessage, Signal = OverseerSignal, OutgoingMessages = ProvisionerOutgoingMessages, Error = SubsystemError>, ProvisionerMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<ProvisionerOutgoingMessages> + From<ProvisionerMessage> + From<()>, ProvisionerOutgoingMessages: From<RuntimeApiMessage> + From<CandidateBackingMessage> + From<ChainApiMessage> + From<DisputeCoordinatorMessage> + From<()>, <T as SubsystemContext>::Sender: ProvisionerSenderTrait + SubsystemSender<ProvisionerOutgoingMessages> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<CandidateBackingMessage> + SubsystemSender<ChainApiMessage> + SubsystemSender<DisputeCoordinatorMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> PvfCheckerContextTrait for Twhere
T: SubsystemContext<Message = PvfCheckerMessage, Signal = OverseerSignal, OutgoingMessages = PvfCheckerOutgoingMessages, Error = SubsystemError>,
PvfCheckerMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<PvfCheckerOutgoingMessages> + From<PvfCheckerMessage> + From<()>,
PvfCheckerOutgoingMessages: From<CandidateValidationMessage> + From<RuntimeApiMessage> + From<()>,
<T as SubsystemContext>::Sender: PvfCheckerSenderTrait + SubsystemSender<PvfCheckerOutgoingMessages> + SubsystemSender<CandidateValidationMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
impl<T> PvfCheckerContextTrait for Twhere T: SubsystemContext<Message = PvfCheckerMessage, Signal = OverseerSignal, OutgoingMessages = PvfCheckerOutgoingMessages, Error = SubsystemError>, PvfCheckerMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<PvfCheckerOutgoingMessages> + From<PvfCheckerMessage> + From<()>, PvfCheckerOutgoingMessages: From<CandidateValidationMessage> + From<RuntimeApiMessage> + From<()>, <T as SubsystemContext>::Sender: PvfCheckerSenderTrait + SubsystemSender<PvfCheckerOutgoingMessages> + SubsystemSender<CandidateValidationMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> RuntimeApiContextTrait for Twhere
T: SubsystemContext<Message = RuntimeApiMessage, Signal = OverseerSignal, OutgoingMessages = RuntimeApiOutgoingMessages, Error = SubsystemError>,
RuntimeApiMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<RuntimeApiOutgoingMessages> + From<RuntimeApiMessage> + From<()>,
RuntimeApiOutgoingMessages: From<()>,
<T as SubsystemContext>::Sender: RuntimeApiSenderTrait + SubsystemSender<RuntimeApiOutgoingMessages> + SubsystemSender<()> + Send + 'static,
impl<T> RuntimeApiContextTrait for Twhere T: SubsystemContext<Message = RuntimeApiMessage, Signal = OverseerSignal, OutgoingMessages = RuntimeApiOutgoingMessages, Error = SubsystemError>, RuntimeApiMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<RuntimeApiOutgoingMessages> + From<RuntimeApiMessage> + From<()>, RuntimeApiOutgoingMessages: From<()>, <T as SubsystemContext>::Sender: RuntimeApiSenderTrait + SubsystemSender<RuntimeApiOutgoingMessages> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
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> StatementDistributionContextTrait for Twhere
T: SubsystemContext<Message = StatementDistributionMessage, Signal = OverseerSignal, OutgoingMessages = StatementDistributionOutgoingMessages, Error = SubsystemError>,
StatementDistributionMessage: AssociateOutgoing + Debug + Send + 'static,
AllMessages: From<StatementDistributionOutgoingMessages> + From<StatementDistributionMessage> + From<()>,
StatementDistributionOutgoingMessages: From<NetworkBridgeTxMessage> + From<CandidateBackingMessage> + From<RuntimeApiMessage> + From<()>,
<T as SubsystemContext>::Sender: StatementDistributionSenderTrait + SubsystemSender<StatementDistributionOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<CandidateBackingMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
impl<T> StatementDistributionContextTrait for Twhere T: SubsystemContext<Message = StatementDistributionMessage, Signal = OverseerSignal, OutgoingMessages = StatementDistributionOutgoingMessages, Error = SubsystemError>, StatementDistributionMessage: AssociateOutgoing + Debug + Send + 'static, AllMessages: From<StatementDistributionOutgoingMessages> + From<StatementDistributionMessage> + From<()>, StatementDistributionOutgoingMessages: From<NetworkBridgeTxMessage> + From<CandidateBackingMessage> + From<RuntimeApiMessage> + From<()>, <T as SubsystemContext>::Sender: StatementDistributionSenderTrait + SubsystemSender<StatementDistributionOutgoingMessages> + SubsystemSender<NetworkBridgeTxMessage> + SubsystemSender<CandidateBackingMessage> + SubsystemSender<RuntimeApiMessage> + SubsystemSender<()> + Send + 'static,
§type Sender = <T as SubsystemContext>::Sender
type Sender = <T as SubsystemContext>::Sender
Sender.
source§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
Immutable access to the
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
Mutable access to the
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
Immutable access to the
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
Mutable access to the
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere
Self: Deref<Target = T>,
T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere Self: Deref<Target = T>, T: ?Sized,
Immutable access to the
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere Self: DerefMut<Target = T> + Deref, T: ?Sized,
Mutable access to the
Deref::Target
of a value. Read moresource§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.source§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.source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere Self: Borrow<B>, B: ?Sized,
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere Self: BorrowMut<B>, B: ?Sized,
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere
Self: AsRef<R>,
R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere Self: AsRef<R>, R: ?Sized,
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere Self: AsMut<R>, R: ?Sized,
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.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 Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.