Skip to main content

SlotInfoTrait

Trait SlotInfoTrait 

Source
pub trait SlotInfoTrait: Message {
    // Required method
    fn downcast(&self) -> SlotInfo<'_>;
}
Expand description

Allows reifying slot info into the appropriate type.

Required Methods§

Source

fn downcast(&self) -> SlotInfo<'_>

Downcast a protobuf message into the enum.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SlotInfoTrait for ActivitySlotInfo

Source§

fn downcast(&self) -> SlotInfo<'_>

Source§

impl SlotInfoTrait for LocalActivitySlotInfo

Source§

fn downcast(&self) -> SlotInfo<'_>

Source§

impl SlotInfoTrait for NexusSlotInfo

Source§

fn downcast(&self) -> SlotInfo<'_>

Source§

impl SlotInfoTrait for WorkflowSlotInfo

Source§

fn downcast(&self) -> SlotInfo<'_>

Implementors§