Trait mz_persist_client::error::Determinacy
source · 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§
sourceconst DETERMINANT: bool
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).