Enum libipld::error::TypeErrorType
source · pub enum TypeErrorType {
Null,
Bool,
Integer,
Float,
String,
Bytes,
List,
Map,
Link,
Key(String),
Index(usize),
}
Expand description
Type error type.
Variants§
Null
Null type.
Bool
Boolean type.
Integer
Integer type.
Float
Float type.
String
String type.
Bytes
Bytes type.
List
List type.
Map
Map type.
Link
Link type.
Key(String)
Key type.
Index(usize)
Index type.
Trait Implementations§
source§impl Clone for TypeErrorType
impl Clone for TypeErrorType
source§fn clone(&self) -> TypeErrorType
fn clone(&self) -> TypeErrorType
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 TypeErrorType
impl Debug for TypeErrorType
source§impl From<&Ipld> for TypeErrorType
impl From<&Ipld> for TypeErrorType
source§fn from(ipld: &Ipld) -> TypeErrorType
fn from(ipld: &Ipld) -> TypeErrorType
Converts to this type from the input type.
source§impl From<Ipld> for TypeErrorType
impl From<Ipld> for TypeErrorType
source§fn from(ipld: Ipld) -> TypeErrorType
fn from(ipld: Ipld) -> TypeErrorType
Converts to this type from the input type.
source§impl From<IpldIndex<'_>> for TypeErrorType
impl From<IpldIndex<'_>> for TypeErrorType
source§fn from(index: IpldIndex<'_>) -> TypeErrorType
fn from(index: IpldIndex<'_>) -> TypeErrorType
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypeErrorType
impl RefUnwindSafe for TypeErrorType
impl Send for TypeErrorType
impl Sync for TypeErrorType
impl Unpin for TypeErrorType
impl UnwindSafe for TypeErrorType
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
)