Trait cex::CeX

source ·
pub trait CeX {
    type LR;

    fn from_lr(lr: Self::LR, backtrace: Backtrace) -> Self;
    fn into_lr(self) -> (Self::LR, Backtrace);
}
Expand description

Checked EXception. The library users do not need to implement this trait by hand. Simply use CeX1, CeX2, CeX3… etc.

Required Associated Types§

Required Methods§

Implementors§