NodeResult

Type Alias NodeResult 

Source
pub type NodeResult<'tree, T> = Result<T, IncorrectKind<'tree>>;
Expand description

Result of attempting to wrap a node

Aliased Type§

pub enum NodeResult<'tree, T> {
    Ok(T),
    Err(IncorrectKind<'tree>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(IncorrectKind<'tree>)

Contains the error value