Trait hydroflow::scheduled::handoff::HandoffMeta

source ·
pub trait HandoffMeta: Any {
    // Required methods
    fn any_ref(&self) -> &dyn Any;
    fn is_bottom(&self) -> bool;
}
Expand description

A handle onto the metadata part of a Handoff, with no element type.

Required Methods§

source

fn any_ref(&self) -> &dyn Any

Helper to cast an instance of HandoffMeta to Any. In general you cannot cast between traits, including Any, but this helper method works around that limitation.

For implementors: the body of this method will generally just be { self }.

source

fn is_bottom(&self) -> bool

Return if the handoff is empty.

Implementations on Foreign Types§

source§

impl<H> HandoffMeta for Rc<RefCell<H>>
where H: HandoffMeta,

source§

fn any_ref(&self) -> &dyn Any

source§

fn is_bottom(&self) -> bool

Implementors§