pub enum IpldKind {
Null,
Bool,
Integer,
Float,
String,
Bytes,
List,
Map,
Link,
}Expand description
IPLD Kind information without the actual value.
Sometimes it’s useful to know the kind of an Ipld object without the actual value, e.g. for error reporting. Those kinds can be a unity-only enum.
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IpldKind
impl RefUnwindSafe for IpldKind
impl Send for IpldKind
impl Sync for IpldKind
impl Unpin for IpldKind
impl UnwindSafe for IpldKind
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