Trait tapa_trait_serde::ITomlSerializable[][src]

pub trait ITomlSerializable<T = Self> where
    Self: DeserializeOwned + Serialize + Send + Sized
{ fn from_toml_string(toml_string: &str) -> AnyResult<Self> { ... }
fn from_toml_bytes(toml_slice: &[u8]) -> AnyResult<Self> { ... }
fn to_toml_string(&self) -> String { ... }
fn to_toml_string_pretty(&self) -> String { ... }
fn to_toml_bytes(&self) -> Vec<u8> { ... }
fn to_toml_bytes_pretty(&self) -> Vec<u8> { ... } }

Provided methods

Implementors