Struct tokio_rustls_acme::caches::NoCache
source · pub struct NoCache<EC: Debug = Infallible, EA: Debug = Infallible> { /* private fields */ }
Expand description
No-op cache, which does nothing.
let no_cache = NoCache::<EC, EA>::new();
Implementations§
Trait Implementations§
source§impl<EC: Debug, EA: Debug> AccountCache for NoCache<EC, EA>
impl<EC: Debug, EA: Debug> AccountCache for NoCache<EC, EA>
type EA = EA
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<EC: Debug, EA: Debug> CertCache for NoCache<EC, EA>
impl<EC: Debug, EA: Debug> CertCache for NoCache<EC, EA>
type EC = EC
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,
impl<EC: Copy + Debug, EA: Copy + Debug> Copy for NoCache<EC, EA>
Auto Trait Implementations§
impl<EC, EA> Freeze for NoCache<EC, EA>
impl<EC, EA> RefUnwindSafe for NoCache<EC, EA>
impl<EC, EA> Send for NoCache<EC, EA>
impl<EC, EA> Sync for NoCache<EC, EA>
impl<EC, EA> Unpin for NoCache<EC, EA>
impl<EC, EA> UnwindSafe for NoCache<EC, EA>where
EC: RefUnwindSafe,
EA: RefUnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)