Trait kaspa_database::prelude::StoreResultExtensions
source · pub trait StoreResultExtensions<T> {
// Required method
fn unwrap_option(self) -> Option<T>;
}Required Methods§
sourcefn unwrap_option(self) -> Option<T>
fn unwrap_option(self) -> Option<T>
Unwrap or assert that the error is key not fund in which case None is returned