Trait scabbard::protos::FromBytes [−][src]
pub trait FromBytes<ViaProtocol>: Sized {
fn from_bytes(bytes: &[u8]) -> Result<Self, ProtoConversionError>;
}
Expand description
Convert from bytes into a native struct, via the given protocol.