Stream

Trait Stream 

Source
pub trait Stream: Drop {
    // Required methods
    fn tell(&self) -> usize;
    fn size(&self) -> usize;
}

Required Methods§

Source

fn tell(&self) -> usize

get the current position

Source

fn size(&self) -> usize

get the size of the stream

Implementors§