Trait dataflow::source::MaybeLength[][src]

pub trait MaybeLength {
    fn len(&self) -> Option<usize>;
fn is_empty(&self) -> bool; }
Expand description

Types that implement this trait expose a length function

Required methods

Returns the size of the object

Returns true if the object is empty

Implementations on Foreign Types

Implementors