Skip to main content

Layer2Result

Type Alias Layer2Result 

Source
pub type Layer2Result<T> = Result<T>;
Expand description

统一的 Layer 2 Result 类型

Aliased Type§

pub enum Layer2Result<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value