pub trait VisitResult: Sealed {
    type Error;

    // Required method
    fn into_result(self) -> Result<(), Self::Error>;
}
Expand description

A trait for results that can be returned from a visitor.

Required Associated Types§

source

type Error

The error type of the result.

Required Methods§

source

fn into_result(self) -> Result<(), Self::Error>

Convert this result into a standard Result.

Implementations on Foreign Types§

source§

impl VisitResult for bool

§

type Error = ()

source§

fn into_result(self) -> Result<(), Self::Error>

source§

impl VisitResult for ()

source§

impl<E> VisitResult for Result<(), E>

§

type Error = E

source§

fn into_result(self) -> Result<(), Self::Error>

Implementors§