Trait libipld_core::raw_value::SkipOne[][src]

pub trait SkipOne: Codec {
    fn skip<R: Read + Seek>(&self, r: &mut R) -> Result<()>;
}

trait to implement to skip a single item at the current position

Required methods

fn skip<R: Read + Seek>(&self, r: &mut R) -> Result<()>[src]

assuming r is at the start of an item, advance r to the end

Loading content...

Implementors

Loading content...