[][src]Trait splinter::protos::IntoBytes

pub trait IntoBytes<ViaProtocol>: Sized {
    fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>;
}

Convert to bytes from a native struct, via the given protocol.

Required methods

Loading content...

Implementors

impl<P, N> IntoBytes<P> for N where
    P: Message + FromNative<N>, 
[src]

Loading content...