Skip to main content

ProxyOutcomeFailure

Struct ProxyOutcomeFailure 

Source
pub struct ProxyOutcomeFailure<Role, Worker, Plan>
where Worker: Behavior, Plan: ActivationPlan, BehaviorAddr<Worker>: EndpointAddress, StableProxy<Worker, Plan>: Behavior<Protocol = Worker::Protocol>,
{ /* private fields */ }
Expand description

Complete role and proxy outcome retained after initial startup failed.

Implementations§

Source§

impl<Role, Worker, Plan> ProxyOutcomeFailure<Role, Worker, Plan>
where Worker: Behavior, Plan: ActivationPlan, BehaviorAddr<Worker>: EndpointAddress, StableProxy<Worker, Plan>: Behavior<Protocol = Worker::Protocol>,

Source

pub fn role(&self) -> &Role

Inspect the semantic role without exposing its private shared storage.

Source

pub const fn outcome(&self) -> &ProxyOutcome<Worker, Plan>

Inspect the complete non-ready proxy outcome.

Auto Trait Implementations§

§

impl<Role, Worker, Plan> Freeze for ProxyOutcomeFailure<Role, Worker, Plan>
where <<Worker as Behavior>::Protocol as Protocol>::Addr: Sized + Freeze, <<Worker as Behavior>::Protocol as Protocol>::Msg: Freeze, Worker: Freeze, Plan: Freeze, <Plan as ActivationPlan>::Ready: Freeze, <Worker as Behavior>::Error: Freeze, <Plan as ActivationPlan>::Rejection: Freeze, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<Worker as Behavior>::Protocol>: Freeze, <Worker as Behavior>::Sends: Freeze, <Worker as Behavior>::Ph: Freeze,

§

impl<Role, Worker, Plan> RefUnwindSafe for ProxyOutcomeFailure<Role, Worker, Plan>

§

impl<Role, Worker, Plan> Send for ProxyOutcomeFailure<Role, Worker, Plan>
where <<Worker as Behavior>::Protocol as Protocol>::Addr: Sized + Send, <<Worker as Behavior>::Protocol as Protocol>::Msg: Send, Role: Sync + Send, Worker: Send, <Worker as Behavior>::Error: Send, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<Worker as Behavior>::Protocol>: Send, <Worker as Behavior>::Sends: Send, <Worker as Behavior>::Ph: Send, <<Worker as Behavior>::Birth as BirthMode>::Child: Send,

§

impl<Role, Worker, Plan> Sync for ProxyOutcomeFailure<Role, Worker, Plan>
where <<Worker as Behavior>::Protocol as Protocol>::Addr: Sized + Sync, <<Worker as Behavior>::Protocol as Protocol>::Msg: Sync, Role: Sync + Send, Worker: Sync, Plan: Sync, <Plan as ActivationPlan>::Ready: Sync, <Worker as Behavior>::Error: Sync, <Plan as ActivationPlan>::Rejection: Sync, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<Worker as Behavior>::Protocol>: Sync, <Worker as Behavior>::Sends: Sync, <Worker as Behavior>::Ph: Sync, <<Worker as Behavior>::Birth as BirthMode>::Child: Sync,

§

impl<Role, Worker, Plan> Unpin for ProxyOutcomeFailure<Role, Worker, Plan>
where <<Worker as Behavior>::Protocol as Protocol>::Addr: Sized + Unpin, <<Worker as Behavior>::Protocol as Protocol>::Msg: Unpin, Worker: Unpin, Plan: Unpin, <Plan as ActivationPlan>::Ready: Unpin, <Worker as Behavior>::Error: Unpin, <Plan as ActivationPlan>::Rejection: Unpin, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<Worker as Behavior>::Protocol>: Unpin, <Worker as Behavior>::Sends: Unpin, <Worker as Behavior>::Ph: Unpin, <<Worker as Behavior>::Birth as BirthMode>::Child: Unpin,

§

impl<Role, Worker, Plan> UnsafeUnpin for ProxyOutcomeFailure<Role, Worker, Plan>
where <<Worker as Behavior>::Protocol as Protocol>::Addr: Sized + UnsafeUnpin, <<Worker as Behavior>::Protocol as Protocol>::Msg: UnsafeUnpin, Worker: UnsafeUnpin, Plan: UnsafeUnpin, <Plan as ActivationPlan>::Ready: UnsafeUnpin, <Worker as Behavior>::Error: UnsafeUnpin, <Plan as ActivationPlan>::Rejection: UnsafeUnpin, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<Worker as Behavior>::Protocol>: UnsafeUnpin, <Worker as Behavior>::Sends: UnsafeUnpin, <Worker as Behavior>::Ph: UnsafeUnpin,

§

impl<Role, Worker, Plan> UnwindSafe for ProxyOutcomeFailure<Role, Worker, Plan>
where <<Worker as Behavior>::Protocol as Protocol>::Addr: Sized + UnwindSafe, <<Worker as Behavior>::Protocol as Protocol>::Msg: UnwindSafe, Role: RefUnwindSafe, Worker: UnwindSafe, Plan: UnwindSafe, <Plan as ActivationPlan>::Ready: UnwindSafe, <Worker as Behavior>::Error: UnwindSafe, <Plan as ActivationPlan>::Rejection: UnwindSafe, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<Worker as Behavior>::Protocol>: UnwindSafe, <Worker as Behavior>::Sends: UnwindSafe, <Worker as Behavior>::Ph: UnwindSafe, <<Worker as Behavior>::Birth as BirthMode>::Child: UnwindSafe,

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.