Trait cdrs::FromBytes
[−]
[src]
pub trait FromBytes { fn from_bytes(_: &[u8]) -> Result<Self>
where
Self: Sized; }
FromBytes
should be used to parse an array of bytes into a structure.
Required Methods
fn from_bytes(_: &[u8]) -> Result<Self> where
Self: Sized,
Self: Sized,
It gets and array of bytes and should return an implementor struct.
Implementations on Foreign Types
impl FromBytes for Vec<u8>
[src]
fn from_bytes(bytes: &[u8]) -> CDRSResult<Vec<u8>>
[src]
Implementors
impl FromBytes for ResultKind
impl FromBytes for BodyResResultVoid
impl FromBytes for RowsMetadataFlag
impl FromBytes for ColType
impl FromBytes for Consistency