Skip to main content

ShutdownTargetAt

Trait ShutdownTargetAt 

Source
pub trait ShutdownTargetAt<Child: Behavior, Position>: Target + Sized {
    // Required method
    fn shutdown_target_at(creation: CreationId) -> Self;
}
Expand description

Structural construction of an existing ShutdownChoice at Position.

Implementations preserve the creation ID exactly. ChildHead selects the current branch; ChildTail<P> delegates to the existing tail. This trait introduces no alternate target product, runtime lookup, or shutdown effect.

Required Methods§

Source

fn shutdown_target_at(creation: CreationId) -> Self

Lower one creator-local child ID into its statically selected branch.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Child: Behavior, Tail> ShutdownTargetAt<Child, ChildHead> for ShutdownChoice<Child, Tail>

Source§

impl<Head, Tail, Child, Position> ShutdownTargetAt<Child, ChildTail<Position>> for ShutdownChoice<Head, Tail>
where Head: Behavior, Child: Behavior, Tail: ShutdownTargetAt<Child, Position>,