Trait rtt::TransAddRoot
[−]
[src]
pub trait TransAddRoot<ERT> { type NonEmptyRtt; type Error; fn add_root(self, empty_rtt: ERT) -> Result<Self::NonEmptyRtt, Self::Error>; }
Associated Types
type NonEmptyRtt
type Error
Required Methods
fn add_root(self, empty_rtt: ERT) -> Result<Self::NonEmptyRtt, Self::Error>
Implementors
impl<ERT, F, RT, E> TransAddRoot<ERT> for F where
F: FnOnce(ERT) -> Result<RT, E>, type NonEmptyRtt = RT; type Error = E;