Struct 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> 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 EA: RefUnwindSafe, EC: RefUnwindSafe,
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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