pub struct FederationEngine;Implementations§
Trait Implementations§
Source§impl Default for FederationEngine
impl Default for FederationEngine
Source§impl SecretsEngine for FederationEngine
impl SecretsEngine for FederationEngine
Source§fn generate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_storage: &'life1 dyn StorageBackend,
role: &'life2 str,
) -> Pin<Box<dyn Future<Output = EngineResult<GeneratedCredential>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn generate<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_storage: &'life1 dyn StorageBackend,
role: &'life2 str,
) -> Pin<Box<dyn Future<Output = EngineResult<GeneratedCredential>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Refuses, and explains itself. A consumer following the
{mount}/creds/{role} convention deserves to be told why federation
breaks it rather than being handed something credential-shaped.
Source§fn doc(&self) -> EngineDoc
fn doc(&self) -> EngineDoc
Self-documentation. Every engine must answer this — an engine that
cannot say what its credentials are worth has no business minting them.
fn read<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
storage: &'life1 dyn StorageBackend,
path: &'life2 str,
) -> Pin<Box<dyn Future<Output = EngineResult<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn write<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
storage: &'life1 dyn StorageBackend,
path: &'life2 str,
data: Value,
) -> Pin<Box<dyn Future<Output = EngineResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
storage: &'life1 dyn StorageBackend,
path: &'life2 str,
) -> Pin<Box<dyn Future<Output = EngineResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
storage: &'life1 dyn StorageBackend,
prefix: &'life2 str,
) -> Pin<Box<dyn Future<Output = EngineResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn revoke<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_storage: &'life1 dyn StorageBackend,
_lease: &'life2 Lease,
) -> Pin<Box<dyn Future<Output = Result<(), EngineError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for FederationEngine
impl RefUnwindSafe for FederationEngine
impl Send for FederationEngine
impl Sync for FederationEngine
impl Unpin for FederationEngine
impl UnsafeUnpin for FederationEngine
impl UnwindSafe for FederationEngine
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