Struct rustls_acme::caches::BoxedErrCache
source · [−]Implementations
sourceimpl<T: Send + Sync> BoxedErrCache<T>
impl<T: Send + Sync> BoxedErrCache<T>
pub fn new(inner: T) -> Self
pub fn into_inner(self) -> T
Trait Implementations
sourceimpl<T: AccountCache> AccountCache for BoxedErrCache<T> where
<T as AccountCache>::EA: 'static,
impl<T: AccountCache> AccountCache for BoxedErrCache<T> where
<T as AccountCache>::EA: 'static,
type EA = Box<dyn Debug + 'static, Global>
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
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
sourceimpl<T: CertCache> CertCache for BoxedErrCache<T> where
<T as CertCache>::EC: 'static,
impl<T: CertCache> CertCache for BoxedErrCache<T> where
<T as CertCache>::EC: 'static,
type EC = Box<dyn Debug + 'static, Global>
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
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<T> RefUnwindSafe for BoxedErrCache<T> where
T: RefUnwindSafe,
impl<T> Send for BoxedErrCache<T>
impl<T> Sync for BoxedErrCache<T>
impl<T> Unpin for BoxedErrCache<T> where
T: Unpin,
impl<T> UnwindSafe for BoxedErrCache<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more