Skip to main content

IntoJson

Trait IntoJson 

Source
pub trait IntoJson {
    type Output: IntoCStr;

    // Required method
    fn get_json_string(self) -> Result<Self::Output, ()>;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§