Type Alias PortStateResult

Source
pub type PortStateResult<T> = Result<Rc<PortState<T>>, SimError>;

Aliased Type§

pub enum PortStateResult<T> {
    Ok(Rc<PortState<T>>),
    Err(SimError),
}

Variants§

§1.0.0

Ok(Rc<PortState<T>>)

Contains the success value

§1.0.0

Err(SimError)

Contains the error value