Trait libipld_core::raw_value::SkipOne

source ·
pub trait SkipOne: Codec {
    // Required method
    fn skip<R: Read + Seek>(&self, r: &mut R) -> Result<()>;
}
Expand description

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

Required Methods§

source

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

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

Object Safety§

This trait is not object safe.

Implementors§