Trait mz_compute::render::errors::MaybeValidatingRow
source · pub(super) trait MaybeValidatingRow<T, E>:
ExchangeData
+ Columnation
+ Hash {
// Required methods
fn ok(t: T) -> Self;
fn into_error() -> Option<fn(_: E) -> Self>;
}
Expand description
Used to make possibly-validating code generic: think of this as a kind of MaybeResult
,
specialized for use in compute. Validation code will only run when the error constructor is
Some.
Required Methods§
Object Safety§
This trait is not object safe.