Struct ockam_api::cloud::secure_clients::ProjectNode
source · pub struct ProjectNode(/* private fields */);Implementations§
source§impl ProjectNode
impl ProjectNode
pub async fn create_secure_channel( &self, ctx: &Context ) -> Result<SecureChannel>
pub async fn check_secure_channel(&self, ctx: &Context) -> Result<()>
Trait Implementations§
source§impl HasSecureClient for ProjectNode
impl HasSecureClient for ProjectNode
fn get_secure_client(&self) -> &SecureClient
source§impl InfluxDbTokenLease for ProjectNode
impl InfluxDbTokenLease for ProjectNode
fn create_token<'life0, 'life1, 'async_trait>( &'life0 self, ctx: &'life1 Context ) -> Pin<Box<dyn Future<Output = Result<Token>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn get_token<'life0, 'life1, 'async_trait>( &'life0 self, ctx: &'life1 Context, token_id: String ) -> Pin<Box<dyn Future<Output = Result<Token>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn revoke_token<'life0, 'life1, 'async_trait>( &'life0 self, ctx: &'life1 Context, token_id: String ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn list_tokens<'life0, 'life1, 'async_trait>( &'life0 self, ctx: &'life1 Context ) -> Pin<Box<dyn Future<Output = Result<Vec<Token>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for ProjectNode
impl Send for ProjectNode
impl Sync for ProjectNode
impl Unpin for ProjectNode
impl !UnwindSafe for ProjectNode
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