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 for UnpreparedError
impl PartialEq for UnpreparedError
Source§impl PartialOrd for UnpreparedError
impl PartialOrd for UnpreparedError
Source§impl Serialize for UnpreparedError
impl Serialize for UnpreparedError
impl Eq for UnpreparedError
impl StructuralPartialEq for UnpreparedError
Auto Trait Implementations§
impl Freeze for UnpreparedError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more