FileNodeIteratorTraitConst

Trait FileNodeIteratorTraitConst 

Source
pub trait FileNodeIteratorTraitConst {
    // Required method
    fn as_raw_FileNodeIterator(&self) -> *const c_void;

    // Provided methods
    fn try_deref(&self) -> Result<FileNode> { ... }
    fn remaining(&self) -> Result<size_t> { ... }
    fn equal_to(&self, it: &impl FileNodeIteratorTraitConst) -> Result<bool> { ... }
}
Expand description

Constant methods for core::FileNodeIterator

Required Methods§

Provided Methods§

Source

fn try_deref(&self) -> Result<FileNode>

returns the currently observed element

Source

fn remaining(&self) -> Result<size_t>

returns the number of remaining (not read yet) elements

Source

fn equal_to(&self, it: &impl FileNodeIteratorTraitConst) -> Result<bool>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§