pub struct AtomicFileCredentialMaterialStore { /* private fields */ }Expand description
Locked create-new transaction for one exact pair of output paths.
Implementations§
Source§impl AtomicFileCredentialMaterialStore
impl AtomicFileCredentialMaterialStore
pub async fn open_or_create( intent: CredentialRotationIntent, ) -> Result<Self, CredentialRotationError>
pub const fn intent(&self) -> &CredentialRotationIntent
pub const fn state(&self) -> &CredentialRotationState
pub async fn ensure_action_ids( &mut self, ) -> Result<(Digest, Digest), CredentialRotationError>
pub async fn record_reservation( &mut self, reservation: ServiceCredentialReservation, ) -> Result<(), CredentialRotationError>
pub async fn stage_credential( &mut self, ) -> Result<StagedCredential, CredentialRotationError>
pub async fn retire_expired_unactivated( &mut self, ) -> Result<(), CredentialRotationError>
pub async fn record_activation( &mut self, principal_id: Identity, api_key_id: Identity, generation: U64, ) -> Result<(), CredentialRotationError>
pub async fn publish_credential( &mut self, ) -> Result<(), CredentialRotationError>
pub async fn stage_profile( &mut self, bytes: Vec<u8>, ) -> Result<(), CredentialRotationError>
pub async fn publish_profile(&mut self) -> Result<(), CredentialRotationError>
pub async fn record_verified( &mut self, principal_id: Identity, api_key_id: Identity, generation: U64, ) -> Result<(), CredentialRotationError>
pub async fn complete(&mut self) -> Result<(), CredentialRotationError>
Auto Trait Implementations§
impl Freeze for AtomicFileCredentialMaterialStore
impl RefUnwindSafe for AtomicFileCredentialMaterialStore
impl Send for AtomicFileCredentialMaterialStore
impl Sync for AtomicFileCredentialMaterialStore
impl Unpin for AtomicFileCredentialMaterialStore
impl UnsafeUnpin for AtomicFileCredentialMaterialStore
impl UnwindSafe for AtomicFileCredentialMaterialStore
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request