[−][src]Trait serde_generate::SourceInstaller
How to copy generated source code and available runtimes for a given language.
Associated Types
type Error
Required methods
fn install_module(
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
Create a module exposing the container types contained in the registry.
fn install_serde_runtime(&self) -> Result<(), Self::Error>
Install the serde runtime.
fn install_bincode_runtime(&self) -> Result<(), Self::Error>
Install the bincode runtime.
fn install_lcs_runtime(&self) -> Result<(), Self::Error>
Install the Libra Canonical Serialization (LCS) runtime.
Implementors
impl SourceInstaller for serde_generate::cpp::Installer
[src]
type Error = Box<dyn Error>
fn install_module(
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
[src]
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
fn install_serde_runtime(&self) -> Result<(), Self::Error>
[src]
fn install_bincode_runtime(&self) -> Result<(), Self::Error>
[src]
fn install_lcs_runtime(&self) -> Result<(), Self::Error>
[src]
impl SourceInstaller for serde_generate::golang::Installer
[src]
type Error = Box<dyn Error>
fn install_module(
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
[src]
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
fn install_serde_runtime(&self) -> Result<(), Self::Error>
[src]
fn install_bincode_runtime(&self) -> Result<(), Self::Error>
[src]
fn install_lcs_runtime(&self) -> Result<(), Self::Error>
[src]
impl SourceInstaller for serde_generate::java::Installer
[src]
type Error = Box<dyn Error>
fn install_module(
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
[src]
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
fn install_serde_runtime(&self) -> Result<(), Self::Error>
[src]
fn install_bincode_runtime(&self) -> Result<(), Self::Error>
[src]
fn install_lcs_runtime(&self) -> Result<(), Self::Error>
[src]
impl SourceInstaller for serde_generate::python3::Installer
[src]
type Error = Box<dyn Error>
fn install_module(
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
[src]
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
fn install_serde_runtime(&self) -> Result<(), Self::Error>
[src]
fn install_bincode_runtime(&self) -> Result<(), Self::Error>
[src]
fn install_lcs_runtime(&self) -> Result<(), Self::Error>
[src]
impl SourceInstaller for serde_generate::rust::Installer
[src]
type Error = Box<dyn Error>
fn install_module(
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>
[src]
&self,
config: &CodeGeneratorConfig,
registry: &Registry
) -> Result<(), Self::Error>