HandoffMeta

Trait HandoffMeta 

Source
pub trait HandoffMeta: Any {
    // Required method
    fn len(&self) -> usize;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}
Expand description

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

Required Methods§

Source

fn len(&self) -> usize

Return the number of items ready to be read out of the handoff.

Provided Methods§

Source

fn is_empty(&self) -> bool

Return if the handoff has no items ready to be read.

Implementations on Foreign Types§

Source§

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

Source§

fn len(&self) -> usize

Implementors§