Skip to main content

GErrBox

Type Alias GErrBox 

Source
pub type GErrBox<C = DefaultConfig, D = NoData> = Box<GErr<C, D>>;
Expand description

Alias for Box of GErr.

For smaller size error type, but heap-allocated, use this.

Just like GErr, C(Config) is defaulted to DefaultConfig and D(Data) is defaulted to NoData.

Aliased Type§

pub struct GErrBox<C = DefaultConfig, D = NoData>(/* private fields */);

Trait Implementations§

Source§

impl<'a, C: Config, D> IntoIterator for &'a GErrBox<C, D>
where C::Id: IdSource + 'static, D: DataSource + 'static,

Source§

type Item = GErrNode<'a, C, D>

The type of the elements being iterated over.
Source§

type IntoIter = GErrTree<'a, C, D>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more