pub struct StoreInstance<'a> { /* private fields */ }
Expand description
A wrapper around Store
for a specific NamespaceId
Trait Implementations§
Source§impl<'a> Debug for StoreInstance<'a>
impl<'a> Debug for StoreInstance<'a>
Source§impl DownloadPolicyStore for StoreInstance<'_>
impl DownloadPolicyStore for StoreInstance<'_>
Source§fn 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.
Source§impl PublicKeyStore for StoreInstance<'_>
impl PublicKeyStore for StoreInstance<'_>
Source§fn public_key(&self, id: &[u8; 32]) -> Result<VerifyingKey, SignatureError>
fn public_key(&self, id: &[u8; 32]) -> Result<VerifyingKey, SignatureError>
Convert a byte array into a [
VerifyingKey
]. Read moreSource§fn namespace_key(
&self,
bytes: &NamespaceId,
) -> Result<NamespacePublicKey, SignatureError>
fn namespace_key( &self, bytes: &NamespaceId, ) -> Result<NamespacePublicKey, SignatureError>
Auto Trait Implementations§
impl<'a> Freeze for StoreInstance<'a>
impl<'a> !RefUnwindSafe for StoreInstance<'a>
impl<'a> Send for StoreInstance<'a>
impl<'a> Sync for StoreInstance<'a>
impl<'a> Unpin for StoreInstance<'a>
impl<'a> !UnwindSafe for StoreInstance<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more