Trait libipld::raw_value::SkipOne[][src]

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

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

Required methods

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

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

Loading content...

Implementations on Foreign Types

impl SkipOne for DagCborCodec[src]

Loading content...

Implementors

Loading content...