Trait assembly_core::reader::ParseAt

source ·
pub trait ParseAt<T>: Sized {
    // Required method
    fn at(self, addr: u64, slice: &[u8]) -> Result<T, FileError>;
}
Expand description

Trait to hand over a parse error past a buffer

Required Methods§

source

fn at(self, addr: u64, slice: &[u8]) -> Result<T, FileError>

Call this after a <IResult as Finish>::finish

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> ParseAt<T> for Result<T, Error<&[u8]>>

source§

fn at(self, addr: u64, slice: &[u8]) -> Result<T, FileError>

Implementors§