Skip to main content

KeyedDiagnostic

Struct KeyedDiagnostic 

Source
pub struct KeyedDiagnostic<Role, W, P, Source, Key, Job, WorkerResult>
where Role: Send + Sync, W: Behavior + Send, W::Protocol: Protocol<Msg = Assignment<Job>>, P: ActivationPlan, Source: WorkerSource<Role, W, P>, BehaviorAddr<W>: EndpointAddress, <BehaviorAddr<W> as EndpointAddress>::Established<W::Protocol>: Send, Job: Send,
{ /* private fields */ }
Expand description

Complete keyed-pool input or precise aggregate failure selected for diagnostics.

Trait Implementations§

Source§

impl<Role, W, P, Source, Key, Job, WorkerResult> Debug for KeyedDiagnostic<Role, W, P, Source, Key, Job, WorkerResult>
where Role: Send + Sync, W: Behavior + Send, W::Protocol: Protocol<Msg = Assignment<Job>>, P: ActivationPlan, Source: WorkerSource<Role, W, P>, BehaviorAddr<W>: EndpointAddress, <BehaviorAddr<W> as EndpointAddress>::Established<W::Protocol>: Send, Job: Send,

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<Role, W, P, Source, Key, Job, WorkerResult> Freeze for KeyedDiagnostic<Role, W, P, Source, Key, Job, WorkerResult>
where <<W as Behavior>::Protocol as Protocol>::Addr: Sized + Freeze, Key: Freeze, P: Freeze, W: Freeze, <W as Behavior>::Error: Freeze, <P as ActivationPlan>::Ready: Freeze, <P as ActivationPlan>::Rejection: Freeze, Source: Freeze, <Source as WorkerSource<Role, W, P>>::WorkerRejection: Freeze, <Source as WorkerSource<Role, W, P>>::SourceRejection: Freeze, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StopOnShutdown<W>>: Freeze, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<W as Behavior>::Protocol>: Freeze, WorkerResult: Freeze, <W as Behavior>::Sends: Freeze, <W as Behavior>::Ph: Freeze, Job: Freeze, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<W as Behavior>::Protocol as Protocol>::Addr, KeyedOutcome<Key, Role, Job, WorkerResult>>>: Freeze, Role: Freeze, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<W as Behavior>::Protocol as Protocol>::Addr, BindingReply<<<W as Behavior>::Protocol as Protocol>::Addr, Key, Role>>>: Freeze,

§

impl<Role, W, P, Source, Key, Job, WorkerResult> RefUnwindSafe for KeyedDiagnostic<Role, W, P, Source, Key, Job, WorkerResult>

§

impl<Role, W, P, Source, Key, Job, WorkerResult> Send for KeyedDiagnostic<Role, W, P, Source, Key, Job, WorkerResult>
where <<W as Behavior>::Protocol as Protocol>::Addr: Sized + Send, Key: Send, <W as Behavior>::Error: Send, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StopOnShutdown<W>>: Send, WorkerResult: Send, <W as Behavior>::Sends: Send, <W as Behavior>::Ph: Send, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<W as Behavior>::Protocol as Protocol>::Addr, KeyedOutcome<Key, Role, Job, WorkerResult>>>: Send, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<W as Behavior>::Protocol as Protocol>::Addr, BindingReply<<<W as Behavior>::Protocol as Protocol>::Addr, Key, Role>>>: Send, <<W as Behavior>::Birth as BirthMode>::Child: Send, <<<W as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Send,

§

impl<Role, W, P, Source, Key, Job, WorkerResult> Sync for KeyedDiagnostic<Role, W, P, Source, Key, Job, WorkerResult>
where <<W as Behavior>::Protocol as Protocol>::Addr: Sized + Sync, Key: Sync, P: Sync, W: Sync, <W as Behavior>::Error: Sync, <P as ActivationPlan>::Ready: Sync, <P as ActivationPlan>::Rejection: Sync, Source: Sync, <Source as WorkerSource<Role, W, P>>::WorkerRejection: Sync, <Source as WorkerSource<Role, W, P>>::SourceRejection: Sync, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StopOnShutdown<W>>: Sync, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<W as Behavior>::Protocol>: Sync, WorkerResult: Sync, <W as Behavior>::Sends: Sync, <W as Behavior>::Ph: Sync, Job: Sync, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<W as Behavior>::Protocol as Protocol>::Addr, KeyedOutcome<Key, Role, Job, WorkerResult>>>: Sync, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<W as Behavior>::Protocol as Protocol>::Addr, BindingReply<<<W as Behavior>::Protocol as Protocol>::Addr, Key, Role>>>: Sync, <<W as Behavior>::Birth as BirthMode>::Child: Sync, <<<W as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Sync,

§

impl<Role, W, P, Source, Key, Job, WorkerResult> Unpin for KeyedDiagnostic<Role, W, P, Source, Key, Job, WorkerResult>
where <<W as Behavior>::Protocol as Protocol>::Addr: Sized + Unpin, Key: Unpin, P: Unpin, W: Unpin, <W as Behavior>::Error: Unpin, <P as ActivationPlan>::Ready: Unpin, <P as ActivationPlan>::Rejection: Unpin, Source: Unpin, <Source as WorkerSource<Role, W, P>>::WorkerRejection: Unpin, <Source as WorkerSource<Role, W, P>>::SourceRejection: Unpin, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StopOnShutdown<W>>: Unpin, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<W as Behavior>::Protocol>: Unpin, WorkerResult: Unpin, <W as Behavior>::Sends: Unpin, <W as Behavior>::Ph: Unpin, Job: Unpin, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<W as Behavior>::Protocol as Protocol>::Addr, KeyedOutcome<Key, Role, Job, WorkerResult>>>: Unpin, Role: Unpin, <<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<W as Behavior>::Protocol as Protocol>::Addr, BindingReply<<<W as Behavior>::Protocol as Protocol>::Addr, Key, Role>>>: Unpin, <<W as Behavior>::Birth as BirthMode>::Child: Unpin, <<<W as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Unpin,

§

impl<Role, W, P, Source, Key, Job, WorkerResult> UnsafeUnpin for KeyedDiagnostic<Role, W, P, Source, Key, Job, WorkerResult>

§

impl<Role, W, P, Source, Key, Job, WorkerResult> UnwindSafe for KeyedDiagnostic<Role, W, P, Source, Key, Job, WorkerResult>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.