pub trait Determinacy {
    const DETERMINANT: bool;
}
Expand description

An indication of whether the given error type indicates an operation definitely failed or if it maybe failed.

This is more commonly called definite and indefinite, but “definite” already means something very specific within Materialize.

Required Associated Constants§

source

const DETERMINANT: bool

Whether errors of this type are determinate or indeterminate.

True indicates a determinate error: one where the operation definitely failed.

False indicates an indeterminate error: one where the operation may have failed, but may have succeeded (the most common example being a timeout).

Implementations on Foreign Types§

source§

impl Determinacy for Determinate

source§

impl Determinacy for ExternalError

source§

const DETERMINANT: bool = false

source§

impl Determinacy for Indeterminate

source§

const DETERMINANT: bool = false

Implementors§