[][src]Trait scabbard::protos::FromBytes

pub trait FromBytes<ViaProtocol>: Sized {
    fn from_bytes(bytes: &[u8]) -> Result<Self, ProtoConversionError>;
}

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

Required methods

Loading content...

Implementors

impl<P, N> FromBytes<P> for N where
    P: Message,
    N: FromProto<P>, 
[src]

Loading content...