foxtive 0.25.6

Foxtive Framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod app_result;
#[cfg(feature = "redis")]
pub mod redis_result;

pub type AppResult<T> = anyhow::Result<T>;

pub type AppOptionalResult<T> = AppResult<Option<T>>;

#[cfg(feature = "redis")]
pub type RedisResult<T> = Result<T, redis::RedisError>;

#[cfg(feature = "database")]
pub type AppPaginationResult<T> = AppResult<crate::database::pagination::PageData<T>>;