[][src]Trait grcov::GcovReader

pub trait GcovReader {
    fn read_string(&mut self) -> Result<String, GcovError>;
fn read_u32(&mut self) -> Result<u32, GcovError>;
fn read_u64(&mut self) -> Result<u64, GcovError>;
fn read_counter(&mut self) -> Result<u64, GcovError>;
fn read_version(&mut self) -> Result<u32, GcovError>;
fn check_type(&mut self, typ: [u8; 4]) -> Result<(), GcovError>;
fn get_pos(&self) -> usize;
fn get_stem(&self) -> &str;
fn skip_u32(&mut self) -> Result<(), GcovError>;
fn skip_u64(&mut self) -> Result<(), GcovError>; }

Required methods

fn read_string(&mut self) -> Result<String, GcovError>

fn read_u32(&mut self) -> Result<u32, GcovError>

fn read_u64(&mut self) -> Result<u64, GcovError>

fn read_counter(&mut self) -> Result<u64, GcovError>

fn read_version(&mut self) -> Result<u32, GcovError>

fn check_type(&mut self, typ: [u8; 4]) -> Result<(), GcovError>

fn get_pos(&self) -> usize

fn get_stem(&self) -> &str

fn skip_u32(&mut self) -> Result<(), GcovError>

fn skip_u64(&mut self) -> Result<(), GcovError>

Loading content...

Implementors

impl GcovReader for GcovReaderBuf[src]

Loading content...