Type Alias ValueOnlyResult
pub type ValueOnlyResult<T> = Result<Option<<T as Table>::Value>, DatabaseError>;
Expand description
A value only result for table T
.
Aliased Type§
enum ValueOnlyResult<T> {
Ok(Option<<T as Table>::Value>),
Err(DatabaseError),
}
Variants§
Ok(Option<<T as Table>::Value>)
Contains the success value
Err(DatabaseError)
Contains the error value
Layout§
Note: Encountered an error during type layout; the type failed to be normalized.