Trait cdrs::IntoBytes
[−]
[src]
pub trait IntoBytes { fn into_cbytes(&self) -> Vec<u8>; }
IntoBytes
should be used to convert a structure into array of bytes.
Required Methods
fn into_cbytes(&self) -> Vec<u8>
It should convert a struct into an array of bytes.
Implementors
impl IntoBytes for BodyReqAuthResponse
impl IntoBytes for BodyReqExecute
impl IntoBytes for BodyReqOptions
impl IntoBytes for BodyReqPrepare
impl IntoBytes for BodyReqQuery
impl IntoBytes for ParamsReqQuery
impl IntoBytes for BodyResReady
impl IntoBytes for ResultKind
impl IntoBytes for RowsMetadataFlag
impl IntoBytes for BodyReqStartup
impl<'a> IntoBytes for Frame
impl IntoBytes for ValueType
impl IntoBytes for Value
impl IntoBytes for CString
impl IntoBytes for CStringLong
impl IntoBytes for CBytes
impl IntoBytes for CBytesShort
impl IntoBytes for Consistency