[][src]Trait jsonp::ToRaw

pub trait ToRaw<'j> {
    type Error: From<Error> + Error;
    fn try_into_raw(&'j self) -> Result<&'j RawJson, Self::Error>;
}

Glue trait allowing the crate's functions to abstract over the exact layout of the borrowed Json.

Can be potentially implemented by foreign types.

Associated Types

Loading content...

Required methods

fn try_into_raw(&'j self) -> Result<&'j RawJson, Self::Error>

Loading content...

Implementations on Foreign Types

impl<'j> ToRaw<'j> for RawJson[src]

type Error = Error

impl<'j> ToRaw<'j> for str[src]

type Error = Error

impl<'j> ToRaw<'j> for [u8][src]

type Error = Error

Loading content...

Implementors

Loading content...