Trait wasmtime_environ::wasm::wasmparser::SectionReader [−][src]
pub trait SectionReader { type Item; fn read(&mut self) -> Result<Self::Item, BinaryReaderError>; fn eof(&self) -> bool; fn original_position(&self) -> usize; fn range(&self) -> Range; fn ensure_end(&self) -> Result<(), BinaryReaderError> { ... } }
Associated Types
Required methods
fn read(&mut self) -> Result<Self::Item, BinaryReaderError>
[src]fn original_position(&self) -> usize
[src]Provided methods
fn ensure_end(&self) -> Result<(), BinaryReaderError>
[src]Implementors
pub fn read(
&mut self
) -> Result<<AliasSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]type Item = FunctionBody<'a>
pub fn read(
&mut self
) -> Result<<CodeSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<DataSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<ElementSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<EventSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<ExportSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<FunctionSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<GlobalSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<ImportSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]type Item = InstanceArg<'a>
pub fn read(
&mut self
) -> Result<<InstanceArgsReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<InstanceSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]type Item = LinkingType
pub fn read(
&mut self
) -> Result<<LinkingSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]type Item = MemoryType
pub fn read(
&mut self
) -> Result<<MemorySectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]type Item = NestedModule<'a>
pub fn read(
&mut self
) -> Result<<ModuleSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<NameSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]type Item = ProducersField<'a>
pub fn read(
&mut self
) -> Result<<ProducersSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<RelocSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<TableSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]pub fn read(
&mut self
) -> Result<<TypeSectionReader<'a> as SectionReader>::Item, BinaryReaderError>
[src]