Skip to main content

FixedSupervisorError

Enum FixedSupervisorError 

Source
pub enum FixedSupervisorError<Role, Worker, Plan, PreparationStart, PreparationReturn>
where Worker: Behavior, Plan: ActivationPlan, BehaviorAddr<Worker>: EndpointAddress, StableProxy<Worker, Plan>: Behavior<Protocol = Worker::Protocol>,
{ InitializationUnavailable, ProxyCreationsExhausted { members: Vec<PreparedWorker<Role, Worker, Plan>>, }, ProxyCreationRejected { proxies: CreationsSettled<BehaviorAddr<Worker>, StableProxy<Worker, Plan>>, }, InputRejected { input: FixedSupervisorEvent<Role, Worker, Plan, PreparationStart, PreparationReturn>, }, RosterStateRejected { members: Vec<PreparedWorker<Role, Worker, Plan>>, }, AuthorizationStateRejected { occupied: usize, maximum: usize, }, OperatingStateRejected, InitialOutcomeContradiction { report: ChildReport<ProxyOutcome<Worker, Plan>>, }, }
Expand description

Controlled rejection while establishing a fixed supervisor’s proxy roster.

No variant loses a prepared worker submission or a returned runtime input. Namespace exhaustion retires every locally reserved child route and returns the complete prepared roster partitioned around the exact rejected role.

Variants§

§

InitializationUnavailable

Initialization was invoked after the new roster had already advanced.

§

ProxyCreationsExhausted

The supervisor cannot issue IDs for its complete initial proxy batch.

Fields

§members: Vec<PreparedWorker<Role, Worker, Plan>>

Complete prepared roster in declaration order.

§

ProxyCreationRejected

Bombay returned the complete initial proxy batch before every proxy committed.

Fields

§proxies: CreationsSettled<BehaviorAddr<Worker>, StableProxy<Worker, Plan>>

Exact routed or unrouted batch returned by the interpreter.

§

InputRejected

A typed runtime or application input was not valid in the current phase.

Fields

§input: FixedSupervisorEvent<Role, Worker, Plan, PreparationStart, PreparationReturn>

Complete returned input, unchanged.

§

RosterStateRejected

The stored roster contradicted its aggregate phase.

This is controlled corruption evidence rather than a production panic; every prepared member remains owned here.

Fields

§members: Vec<PreparedWorker<Role, Worker, Plan>>

Complete prepared roster in declaration order.

§

AuthorizationStateRejected

Stored occupied authorizations exceeded the validated maximum.

Fields

§occupied: usize

Occupied operations observed in member state.

§maximum: usize

Positive configured maximum.

§

OperatingStateRejected

An operating-roster transition produced a non-creating startup member.

§

InitialOutcomeContradiction

An accepted initial proxy outcome could not rejoin its operating roster.

Fields

§report: ChildReport<ProxyOutcome<Worker, Plan>>

Complete exact proxy report that exposed the contradiction.

Auto Trait Implementations§

§

impl<Role, Worker, Plan, PreparationStart, PreparationReturn> Freeze for FixedSupervisorError<Role, Worker, Plan, PreparationStart, PreparationReturn>
where <<Worker as Behavior>::Protocol as Protocol>::Addr: Sized + Freeze, PreparationStart: Freeze, PreparationReturn: Freeze, <<Worker as Behavior>::Protocol as Protocol>::Msg: Freeze, Role: Freeze, Worker: Freeze, Plan: Freeze, <Plan as ActivationPlan>::Ready: Freeze, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<Worker as Behavior>::Protocol as Protocol>::Addr, FixedSnapshot<<Worker as Behavior>::Protocol>>>: Freeze, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<Worker as Behavior>::Protocol as Protocol>::Addr, CapabilityResult<Role, <Worker as Behavior>::Protocol>>>: Freeze, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StableProxy<Worker, Plan>>: Freeze, <Plan as ActivationPlan>::Rejection: Freeze, <Worker as Behavior>::Error: 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, PreparationStart, PreparationReturn> !RefUnwindSafe for FixedSupervisorError<Role, Worker, Plan, PreparationStart, PreparationReturn>

§

impl<Role, Worker, Plan, PreparationStart, PreparationReturn> !Send for FixedSupervisorError<Role, Worker, Plan, PreparationStart, PreparationReturn>

§

impl<Role, Worker, Plan, PreparationStart, PreparationReturn> !Sync for FixedSupervisorError<Role, Worker, Plan, PreparationStart, PreparationReturn>

§

impl<Role, Worker, Plan, PreparationStart, PreparationReturn> !Unpin for FixedSupervisorError<Role, Worker, Plan, PreparationStart, PreparationReturn>

§

impl<Role, Worker, Plan, PreparationStart, PreparationReturn> UnsafeUnpin for FixedSupervisorError<Role, Worker, Plan, PreparationStart, PreparationReturn>
where <<Worker as Behavior>::Protocol as Protocol>::Addr: Sized + UnsafeUnpin, PreparationStart: UnsafeUnpin, PreparationReturn: UnsafeUnpin, <<Worker as Behavior>::Protocol as Protocol>::Msg: UnsafeUnpin, Role: UnsafeUnpin, Worker: UnsafeUnpin, Plan: UnsafeUnpin, <Plan as ActivationPlan>::Ready: UnsafeUnpin, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<Worker as Behavior>::Protocol as Protocol>::Addr, FixedSnapshot<<Worker as Behavior>::Protocol>>>: UnsafeUnpin, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<MessageProtocol<<<Worker as Behavior>::Protocol as Protocol>::Addr, CapabilityResult<Role, <Worker as Behavior>::Protocol>>>: UnsafeUnpin, <<<Worker as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StableProxy<Worker, Plan>>: UnsafeUnpin, <Plan as ActivationPlan>::Rejection: UnsafeUnpin, <Worker as Behavior>::Error: 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, PreparationStart, PreparationReturn> !UnwindSafe for FixedSupervisorError<Role, Worker, Plan, PreparationStart, PreparationReturn>

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.