Struct serde_variant::UnsupportedType
source · pub struct UnsupportedType { /* private fields */ }
Expand description
An error emitted when attempting to perform an unsupported operation.
Trait Implementations§
source§impl Clone for UnsupportedType
impl Clone for UnsupportedType
source§fn clone(&self) -> UnsupportedType
fn clone(&self) -> UnsupportedType
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 UnsupportedType
impl Debug for UnsupportedType
source§impl Display for UnsupportedType
impl Display for UnsupportedType
source§impl Error for UnsupportedType
impl Error for UnsupportedType
source§impl Error for UnsupportedType
impl Error for UnsupportedType
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 PartialEq for UnsupportedType
impl PartialEq for UnsupportedType
source§fn eq(&self, other: &UnsupportedType) -> bool
fn eq(&self, other: &UnsupportedType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnsupportedType
Auto Trait Implementations§
impl Freeze for UnsupportedType
impl RefUnwindSafe for UnsupportedType
impl Send for UnsupportedType
impl Sync for UnsupportedType
impl Unpin for UnsupportedType
impl UnwindSafe for UnsupportedType
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