proc_macro2::parse

Type Alias PResult

source
type PResult<'a, O> = Result<(Cursor<'a>, O), Reject>;

Aliased Type§

enum PResult<'a, O> {
    Ok((Cursor<'a>, O)),
    Err(Reject),
}

Variants§

§1.0.0

Ok((Cursor<'a>, O))

Contains the success value

§1.0.0

Err(Reject)

Contains the error value