pub type BotXApiResult<TResponse, TExpressErr> = Result<TResponse, BotXApiError<TExpressErr>>;Aliased Type§
pub enum BotXApiResult<TResponse, TExpressErr> {
Ok(TResponse),
Err(BotXApiError<TExpressErr>),
}Variants§
Ok(TResponse)
Contains the success value
Err(BotXApiError<TExpressErr>)
Contains the error value
Trait Implementations§
Source§impl<TResponse, TExpressErr> From<ExpressResult<TResponse, TExpressErr>> for BotXApiResult<TResponse, TExpressErr>
impl<TResponse, TExpressErr> From<ExpressResult<TResponse, TExpressErr>> for BotXApiResult<TResponse, TExpressErr>
Source§fn from(value: ExpressResult<TResponse, TExpressErr>) -> Self
fn from(value: ExpressResult<TResponse, TExpressErr>) -> Self
Converts to this type from the input type.