Trait rdkafka::message::FromBytes
[−]
[src]
pub trait FromBytes { type Error; fn from_bytes(&[u8]) -> Result<&Self, Self::Error>; }
Given a reference to a byte array, returns a different view of the same data. No copy of the data should be performed.