pub type Result<T, E = RLibError> = Result<T, E>;
Custom Result type alias that uses RLibError as the default error type.
Result
RLibError
This is a convenience type alias that allows functions to return Result<T> instead of Result<T, RLibError>, making function signatures cleaner throughout the codebase.
Result<T>
Result<T, RLibError>
pub enum Result<T, E = RLibError> { Ok(T), Err(E), }
Contains the success value
Contains the error value