pub enum ResultKind {
Void,
Rows,
SetKeyspace,
Prepared,
SchemaChange,
}Expand description
ResultKind is enum which represents types of result.
Variants§
Void
Void result.
Rows
Rows result.
SetKeyspace
Set keyspace result.
Prepared
Prepeared result.
SchemaChange
Schema change result.
Trait Implementations§
Source§impl Debug for ResultKind
impl Debug for ResultKind
Source§impl FromBytes for ResultKind
impl FromBytes for ResultKind
Source§fn from_bytes(bytes: &[u8]) -> Result<ResultKind>
fn from_bytes(bytes: &[u8]) -> Result<ResultKind>
It gets and array of bytes and should return an implementor struct.
Source§impl FromCursor for ResultKind
impl FromCursor for ResultKind
Source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<ResultKind>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<ResultKind>
It should return an implementor from an
io::Cursor over an array of bytes.Source§impl IntoBytes for ResultKind
impl IntoBytes for ResultKind
Auto Trait Implementations§
impl Freeze for ResultKind
impl RefUnwindSafe for ResultKind
impl Send for ResultKind
impl Sync for ResultKind
impl Unpin for ResultKind
impl UnwindSafe for ResultKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more