Trait CastInfo

Source
pub trait CastInfo {
    // Required methods
    fn cast_info(&self) -> (usize, Shape);
    fn sender(&self) -> &ActorId;
}

Required Methods§

Source

fn cast_info(&self) -> (usize, Shape)

Get the cast rank and cast shape. If something wasn’t explicitly sent via a cast, then we represent it as the only member of a 0-dimensonal cast shape, which is the same as a singleton.

Source

fn sender(&self) -> &ActorId

Implementations on Foreign Types§

Source§

impl<A: Actor> CastInfo for Context<'_, A>

Source§

fn cast_info(&self) -> (usize, Shape)

Source§

fn sender(&self) -> &ActorId

Implementors§