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.