ZtkResult

Type Alias ZtkResult 

Source
pub type ZtkResult<T> = Result<T, ZtkError>;
Expand description

Result 类型别名

SDK 中所有返回 Result 的方法都使用此类型

Aliased Type§

pub enum ZtkResult<T> {
    Ok(T),
    Err(ZtkError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ZtkError)

Contains the error value