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]>,
_version: Version
) -> CDRSResult<CIntShort>
fn from_cursor(
cursor: &mut Cursor<&[u8]>,
_version: Version
) -> CDRSResult<CIntShort>
Tries to parse Self from a cursor of bytes.