pub trait Links {
type LinksError;
// Required method
fn links(
bytes: &[u8]
) -> Result<impl Iterator<Item = Cid>, Self::LinksError>;
}Expand description
Trait for returning the links of a serialized IPLD data.
Required Associated Types§
sourcetype LinksError
type LinksError
The error that is returned if the link extraction fails.
Required Methods§
Object Safety§
This trait is not object safe.