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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.