pub trait InstallWith {
// Provided method
fn install_with(_: &mut Module) -> Result<(), ContextError> { ... }
}Expand description
Trait to handle the installation of auxilliary functions for a type installed into a module.
Provided Methods§
Sourcefn install_with(_: &mut Module) -> Result<(), ContextError>
fn install_with(_: &mut Module) -> Result<(), ContextError>
Hook to install more things into the module.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl InstallWith for Error
Available on crate feature std only.
impl InstallWith for Error
Available on crate feature
std only.fn install_with(module: &mut Module) -> Result<(), ContextError>
Source§impl InstallWith for Error
Available on crate feature anyhow only.
impl InstallWith for Error
Available on crate feature
anyhow only.