Struct tokio_rustls_acme::caches::DirCache
source · pub struct DirCache<P: AsRef<Path> + Send + Sync> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<P: AsRef<Path> + Send + Sync> AccountCache for DirCache<P>
impl<P: AsRef<Path> + Send + Sync> AccountCache for DirCache<P>
type EA = Error
fn load_account<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
contact: &'life1 [String],
directory_url: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, Self::EA>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn store_account<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
contact: &'life1 [String],
directory_url: &'life2 str,
account: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<(), Self::EA>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
source§impl<P: AsRef<Path> + Send + Sync> CertCache for DirCache<P>
impl<P: AsRef<Path> + Send + Sync> CertCache for DirCache<P>
type EC = Error
fn load_cert<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
domains: &'life1 [String],
directory_url: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, Self::EC>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn store_cert<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
domains: &'life1 [String],
directory_url: &'life2 str,
cert: &'life3 [u8],
) -> Pin<Box<dyn Future<Output = Result<(), Self::EC>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl<P> Freeze for DirCache<P>where
P: Freeze,
impl<P> RefUnwindSafe for DirCache<P>where
P: RefUnwindSafe,
impl<P> Send for DirCache<P>
impl<P> Sync for DirCache<P>
impl<P> Unpin for DirCache<P>where
P: Unpin,
impl<P> UnwindSafe for DirCache<P>where
P: UnwindSafe,
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§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