Skip to main content

TryIntoType

Trait TryIntoType 

Source
pub trait TryIntoType<ContextType> {
    type Error;

    // Required method
    fn try_into_type_map(
        &self,
    ) -> Result<HashMap<String, ContextType>, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn try_into_type_map(&self) -> Result<HashMap<String, ContextType>, Self::Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§