[][src]Trait saphir::body::FromBytes

pub trait FromBytes {
    type Out;
    fn from_bytes(bytes: Bytes) -> Result<(Self::Out, Bytes), SaphirError>
    where
        Self: Sized
; }

Associated Types

type Out

Loading content...

Required methods

fn from_bytes(bytes: Bytes) -> Result<(Self::Out, Bytes), SaphirError> where
    Self: Sized

Loading content...

Implementations on Foreign Types

impl FromBytes for String[src]

type Out = String

impl FromBytes for Vec<u8>[src]

type Out = Vec<u8>

Loading content...

Implementors

impl FromBytes for Bytes[src]

type Out = Bytes

Loading content...