Trait iroh_docs::store::DownloadPolicyStore
source · pub trait DownloadPolicyStore {
// Required method
fn get_download_policy(
&mut self,
namespace: &NamespaceId
) -> Result<DownloadPolicy>;
}
Expand description
Store that gives read access to download policies for a document.
Required Methods§
sourcefn get_download_policy(
&mut self,
namespace: &NamespaceId
) -> Result<DownloadPolicy>
fn get_download_policy( &mut self, namespace: &NamespaceId ) -> Result<DownloadPolicy>
Get the download policy for a document.