Trait radixdb::store::UnwrapSafeExt
source · [−]pub trait UnwrapSafeExt<T> {
fn unwrap_safe(self) -> T;
}
Expand description
Extension trait that adds unwrap_safe for unwrapping results safely when the error type is uninhabited
Required Methods
sourcefn unwrap_safe(self) -> T
fn unwrap_safe(self) -> T
Safe unwrap - guaranteed not to panic