Struct cassandra_protocol::frame::message_error::UnpreparedError
source · pub struct UnpreparedError {
pub id: CBytesShort,
}
Expand description
Can be thrown while a prepared statement tries to be executed if the provided prepared statement ID is not known by this host. Read more…
Fields§
§id: CBytesShort
Unknown ID.
Trait Implementations§
source§impl Clone for UnpreparedError
impl Clone for UnpreparedError
source§fn clone(&self) -> UnpreparedError
fn clone(&self) -> UnpreparedError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnpreparedError
impl Debug for UnpreparedError
source§impl FromCursor for UnpreparedError
impl FromCursor for UnpreparedError
source§fn from_cursor(
cursor: &mut Cursor<&[u8]>,
version: Version
) -> Result<UnpreparedError>
fn from_cursor( cursor: &mut Cursor<&[u8]>, version: Version ) -> Result<UnpreparedError>
Tries to parse Self from a cursor of bytes.
source§impl Hash for UnpreparedError
impl Hash for UnpreparedError
source§impl Ord for UnpreparedError
impl Ord for UnpreparedError
source§fn cmp(&self, other: &UnpreparedError) -> Ordering
fn cmp(&self, other: &UnpreparedError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<UnpreparedError> for UnpreparedError
impl PartialEq<UnpreparedError> for UnpreparedError
source§fn eq(&self, other: &UnpreparedError) -> bool
fn eq(&self, other: &UnpreparedError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UnpreparedError> for UnpreparedError
impl PartialOrd<UnpreparedError> for UnpreparedError
source§fn partial_cmp(&self, other: &UnpreparedError) -> Option<Ordering>
fn partial_cmp(&self, other: &UnpreparedError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for UnpreparedError
impl Serialize for UnpreparedError
impl Eq for UnpreparedError
impl StructuralEq for UnpreparedError
impl StructuralPartialEq for UnpreparedError
Auto Trait Implementations§
impl RefUnwindSafe for UnpreparedError
impl Send for UnpreparedError
impl Sync for UnpreparedError
impl Unpin for UnpreparedError
impl UnwindSafe for UnpreparedError
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