[−][src]Enum ipld::BorrowedIpld
Ipld that borrows from an underlying type.
Variants
Null(PhantomData<C>)
Represents the absence of a value or the value undefined.
Bool(bool)
Represents a boolean value.
Int8(i8)
Represents an i8.
Int16(i16)
Represents an i16.
Int32(i32)
Represents an i32.
Int64(i64)
Represents an i64.
Int128(i128)
Represents an i128.
Uint8(u8)
Represents an u8.
Uint16(u16)
Represents an u16.
Uint32(u32)
Represents an u32.
Uint64(u64)
Represents an u64.
Uint128(u128)
Represents an u128.
Float32(f32)
Represents an f32.
Float64(f64)
Represents an f64.
String(&'a str)
Represents an UTF-8 string.
Represents a sequence of bytes.
List(IpldListIter<'a, C>)
Represents a list.
Map(IpldMapIter<'a, C>)
Represents a map.
Link(Cid)
Represents a link to an Ipld node
Trait Implementations
impl<'a, C: Clone> Clone for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C: Debug> Debug for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'de, C> Deserialize<'de> for Ipld<'de, C> where
C: CodecExt,
[src]
C: CodecExt,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'a, C> From<&'a ()> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a Box<[u8]>> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a Cid> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a String> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a bool> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a f32> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a f64> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a i128> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a i16> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a i32> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a i64> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a i8> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a u128> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a u16> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a u32> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a u64> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> From<&'a u8> for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> Serialize for Ipld<'a, C> where
C: CodecExt,
[src]
C: CodecExt,
impl<'a, C> TryFrom<Ipld<'a, C>> for () where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for bool where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for u64 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for u128 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for f32 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for f64 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for &'a str where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for String where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for &'a [u8] where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for Cid where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for i8 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for i16 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for i32 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for i64 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for i128 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for u8 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for u16 where
C: CodecExt,
[src]
C: CodecExt,
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ipld: Ipld<'a, C>) -> Result<Self, Self::Error>
[src]
impl<'a, C> TryFrom<Ipld<'a, C>> for u32 where
C: CodecExt,
[src]
C: CodecExt,
Auto Trait Implementations
impl<'a, C> !RefUnwindSafe for Ipld<'a, C>
impl<'a, C> !Send for Ipld<'a, C>
impl<'a, C> !Sync for Ipld<'a, C>
impl<'a, C> Unpin for Ipld<'a, C> where
C: Unpin,
C: Unpin,
impl<'a, C> !UnwindSafe for Ipld<'a, C>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,