Trait jsonmpk::rmp2json::FromRmp

source ·
pub trait FromRmp {
    type Ret;

    // Required method
    fn from_rmp(rd: &[u8]) -> Result<Self::Ret, ()>;
}

Required Associated Types§

Required Methods§

source

fn from_rmp(rd: &[u8]) -> Result<Self::Ret, ()>

Implementations on Foreign Types§

source§

impl FromRmp for Value

§

type Ret = Value

source§

fn from_rmp(rd: &[u8]) -> Result<Self::Ret, ()>

Implementors§