pub struct GcpHandler<'a> { /* private fields */ }Trait Implementations§
Source§impl<'a> Debug for GcpHandler<'a>
impl<'a> Debug for GcpHandler<'a>
Source§impl GcpSecretsOperations for GcpHandler<'_>
impl GcpSecretsOperations for GcpHandler<'_>
async fn configure(&self, params: &GcpConfigRequest) -> Result<(), VaultError>
async fn read_config(&self) -> Result<GcpConfig, VaultError>
async fn delete_config(&self) -> Result<(), VaultError>
async fn create_roleset( &self, name: &str, params: &GcpRolesetRequest, ) -> Result<(), VaultError>
async fn read_roleset(&self, name: &str) -> Result<GcpRoleset, VaultError>
async fn delete_roleset(&self, name: &str) -> Result<(), VaultError>
async fn list_rolesets(&self) -> Result<Vec<String>, VaultError>
async fn get_service_account_key( &self, roleset: &str, ) -> Result<GcpServiceAccountKey, VaultError>
async fn get_oauth_token( &self, roleset: &str, ) -> Result<GcpOAuthToken, VaultError>
async fn rotate_roleset(&self, name: &str) -> Result<(), VaultError>
Auto Trait Implementations§
impl<'a> Freeze for GcpHandler<'a>
impl<'a> !RefUnwindSafe for GcpHandler<'a>
impl<'a> Send for GcpHandler<'a>
impl<'a> Sync for GcpHandler<'a>
impl<'a> Unpin for GcpHandler<'a>
impl<'a> UnsafeUnpin for GcpHandler<'a>
impl<'a> !UnwindSafe for GcpHandler<'a>
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