Struct scylla_cql::frame::TryFromPrimitiveError
source · pub struct TryFromPrimitiveError<T: Copy + Debug> { /* private fields */ }
Expand description
An error type for parsing an enum value from a primitive.
Trait Implementations§
source§impl<T: Clone + Copy + Debug> Clone for TryFromPrimitiveError<T>
impl<T: Clone + Copy + Debug> Clone for TryFromPrimitiveError<T>
source§fn clone(&self) -> TryFromPrimitiveError<T>
fn clone(&self) -> TryFromPrimitiveError<T>
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<T> Display for TryFromPrimitiveError<T>
impl<T> Display for TryFromPrimitiveError<T>
source§impl<T: Copy + Debug> Error for TryFromPrimitiveError<T>
impl<T: Copy + Debug> Error for TryFromPrimitiveError<T>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<TryFromPrimitiveError<u16>> for LowLevelDeserializationError
impl From<TryFromPrimitiveError<u16>> for LowLevelDeserializationError
source§fn from(source: TryFromPrimitiveError<u16>) -> Self
fn from(source: TryFromPrimitiveError<u16>) -> Self
Converts to this type from the input type.
source§impl From<TryFromPrimitiveError<u8>> for FrameHeaderParseError
impl From<TryFromPrimitiveError<u8>> for FrameHeaderParseError
source§fn from(source: TryFromPrimitiveError<u8>) -> Self
fn from(source: TryFromPrimitiveError<u8>) -> Self
Converts to this type from the input type.
source§impl<T: PartialEq + Copy + Debug> PartialEq for TryFromPrimitiveError<T>
impl<T: PartialEq + Copy + Debug> PartialEq for TryFromPrimitiveError<T>
source§fn eq(&self, other: &TryFromPrimitiveError<T>) -> bool
fn eq(&self, other: &TryFromPrimitiveError<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq + Copy + Debug> Eq for TryFromPrimitiveError<T>
impl<T: Copy + Debug> StructuralPartialEq for TryFromPrimitiveError<T>
Auto Trait Implementations§
impl<T> Freeze for TryFromPrimitiveError<T>where
T: Freeze,
impl<T> RefUnwindSafe for TryFromPrimitiveError<T>where
T: RefUnwindSafe,
impl<T> Send for TryFromPrimitiveError<T>where
T: Send,
impl<T> Sync for TryFromPrimitiveError<T>where
T: Sync,
impl<T> Unpin for TryFromPrimitiveError<T>where
T: Unpin,
impl<T> UnwindSafe for TryFromPrimitiveError<T>where
T: UnwindSafe,
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)