llkv-result 0.8.5-alpha

Result and error types for the LLKV toolkit.
Documentation
1
2
3
4
5
6
7
8
use crate::error::Error;

/// Result type alias used throughout LLKV.
///
/// This is a type alias for `std::result::Result<T, Error>`, providing a convenient
/// shorthand for functions that return LLKV errors. All LLKV operations that can fail
/// should return this type.
pub type Result<T> = std::result::Result<T, Error>;