pub struct AsyncA1Context {
pub revocation: Arc<dyn AsyncRevocationStore>,
pub nonces: Arc<dyn AsyncNonceStore>,
pub clock: Arc<dyn Clock + Send + Sync>,
pub policy: Option<PolicySet>,
pub audit: Arc<dyn AuditSink>,
pub namespace: Option<String>,
}Available on crate feature
async only.Fields§
§revocation: Arc<dyn AsyncRevocationStore>§nonces: Arc<dyn AsyncNonceStore>§clock: Arc<dyn Clock + Send + Sync>§policy: Option<PolicySet>§audit: Arc<dyn AuditSink>§namespace: Option<String>Implementations§
Source§impl AsyncA1Context
impl AsyncA1Context
pub fn builder() -> AsyncA1ContextBuilder
pub async fn health_check(&self) -> Result<(), A1Error>
Auto Trait Implementations§
impl Freeze for AsyncA1Context
impl !RefUnwindSafe for AsyncA1Context
impl Send for AsyncA1Context
impl Sync for AsyncA1Context
impl Unpin for AsyncA1Context
impl UnsafeUnpin for AsyncA1Context
impl !UnwindSafe for AsyncA1Context
Blanket Implementations§
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