Trait jsonmpk::json2rmp::ToRmp

source ·
pub trait ToRmp {
    // Required method
    fn to_rmp(&self) -> Result<Vec<u8>, ()>;
}

Required Methods§

source

fn to_rmp(&self) -> Result<Vec<u8>, ()>

Implementations on Foreign Types§

source§

impl ToRmp for Value

source§

fn to_rmp(&self) -> Result<Vec<u8>, ()>

Implementors§