//! Trait for types that have associated blob metadata.
usesuper::BlobMeta;/// Types that have associated blob metadata.
////// This trait is implemented by types that reference a blob and declare its
/// size and content hash.
pubtraitHasBlobMeta{/// Arguments needed to construct this type (besides `BlobMeta`).
typeArgs;/// Construction failed because the metadata is invalid.
typeError:core::error::Error;/// Returns the blob metadata for this type.
fnblob_meta(&self)-> BlobMeta;/// Construct from arguments and blob metadata.
////// # Errors
////// Returns an error if the arguments violate the type's wire-format limits.
fnfrom_args(args:Self::Args, blob_meta: BlobMeta)->Result<Self, Self::Error>whereSelf: Sized;
}