Type Definition cassandra_protocol::types::CIntShort
source · [−]pub type CIntShort = i16;
Expand description
Cassandra int short type.
Trait Implementations
sourceimpl From<Consistency> for CIntShort
impl From<Consistency> for CIntShort
sourcefn from(value: Consistency) -> Self
fn from(value: Consistency) -> Self
Converts to this type from the input type.
sourceimpl FromCursor for CIntShort
impl FromCursor for CIntShort
sourcefn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CIntShort>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CIntShort>
It should return an implementor from an io::Cursor
over an array of bytes.