Trait linera_base::dyn_convert::DynInto

source ·
pub trait DynInto<To> {
    // Required method
    fn into_box(self: Box<Self>) -> To;
}
Expand description

An object-safe version of std::convert::Into.

Required Methods§

source

fn into_box(self: Box<Self>) -> To

Converts a boxed object into the target type.

Implementors§

source§

impl<To, From: Into<To>> DynInto<To> for From