fn visit_link<E>(self, cid_bytes: Box<[u8]>) -> Result<Self::Value, E>
    where
        E: de::Error,
    {
        Err(de::Error::invalid_type(de::Unexpected::Other("CID"), &self))
    }
/// The input contains the bytes of a `Cid`.
///
/// The default implementation fails with a type error.
/// TODO: vec or box?
The input contains the bytes of a `Cid`.
The default implementation fails with a type error.
The input contains the bytes of a ` Cid ` . The default implementation fails with a type error .
fn visit_link<E>(self, cid_bytes: Box<[u8]>) -> Result<Self::Value, E>
    where
        E: de::Error,
    {
        Err(de::Error::invalid_type(de::Unexpected::Other("CID"), &self))
    }
fn visit_link < E > ( self , cid_bytes : Box < [ u8 ] > ) -> Result < Self :: Value , E > where E : de :: Error , { Err ( de :: Error :: invalid_type ( de :: Unexpected :: Other ( " " ) , & self ) ) }
The input contains the bytes of a `Cid`.
The input contains the bytes of a ` Cid ` .
self
cid_bytes
Box<[u8]>
self
cid_bytes
Box<[u8]>