pub struct InteractiveChecker<I: Interactor, D: Dictionary> { /* private fields */ }

Implementations§

source§

impl<I: Interactor, D: Dictionary> InteractiveChecker<I, D>

source

pub fn new( project: Project, interactor: I, dictionary: D, storage_backend: StorageBackend ) -> Result<Self>

Trait Implementations§

source§

impl<I: Interactor, D: Dictionary> Checker for InteractiveChecker<I, D>

§

type Context = (usize, usize)

source§

fn success(&self) -> Result<()>

source§

fn project(&self) -> &Project

source§

fn dictionary(&self) -> &dyn Dictionary

source§

fn storage_backend(&mut self) -> &mut StorageBackend

source§

fn handle_error( &mut self, error: &str, path: &RelativePath, context: &Self::Context ) -> Result<()>

source§

fn to_relative_path(&self, path: &Path) -> Result<RelativePath, Error>

source§

fn handle_token( &mut self, token: &str, relative_path: &RelativePath, context: &Self::Context ) -> Result<(), Error>

Auto Trait Implementations§

§

impl<I, D> !RefUnwindSafe for InteractiveChecker<I, D>

§

impl<I, D> !Send for InteractiveChecker<I, D>

§

impl<I, D> !Sync for InteractiveChecker<I, D>

§

impl<I, D> Unpin for InteractiveChecker<I, D>where D: Unpin, I: Unpin,

§

impl<I, D> !UnwindSafe for InteractiveChecker<I, D>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IntoSql for T

§

fn into_sql<T>(self) -> Self::Expressionwhere Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,

Convert self to an expression for Diesel’s query builder. Read more
§

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,

Convert &self to an expression for Diesel’s query builder. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.