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§
pub 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: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.