[][src]Trait dapr::client::DaprInterface

pub trait DaprInterface: Sized {
#[must_use]    fn connect<'async_trait>(
        addr: String
    ) -> Pin<Box<dyn Future<Output = Result<Self, Error>> + Send + 'async_trait>>
    where
        Self: 'async_trait
;
#[must_use] fn publish_event<'life0, 'async_trait>(
        &'life0 mut self,
        request: PublishEventRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn invoke_service<'life0, 'async_trait>(
        &'life0 mut self,
        request: InvokeServiceRequest
    ) -> Pin<Box<dyn Future<Output = Result<InvokeServiceResponse, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn invoke_binding<'life0, 'async_trait>(
        &'life0 mut self,
        request: InvokeBindingRequest
    ) -> Pin<Box<dyn Future<Output = Result<InvokeBindingResponse, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_secret<'life0, 'async_trait>(
        &'life0 mut self,
        request: GetSecretRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetSecretResponse, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_state<'life0, 'async_trait>(
        &'life0 mut self,
        request: GetStateRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetStateResponse, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn save_state<'life0, 'async_trait>(
        &'life0 mut self,
        request: SaveStateRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn delete_state<'life0, 'async_trait>(
        &'life0 mut self,
        request: DeleteStateRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn delete_bulk_state<'life0, 'async_trait>(
        &'life0 mut self,
        request: DeleteBulkStateRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn set_metadata<'life0, 'async_trait>(
        &'life0 mut self,
        request: SetMetadataRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_metadata<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<GetMetadataResponse, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn connect<'async_trait>(
    addr: String
) -> Pin<Box<dyn Future<Output = Result<Self, Error>> + Send + 'async_trait>> where
    Self: 'async_trait, 
[src]

#[must_use]fn publish_event<'life0, 'async_trait>(
    &'life0 mut self,
    request: PublishEventRequest
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn invoke_service<'life0, 'async_trait>(
    &'life0 mut self,
    request: InvokeServiceRequest
) -> Pin<Box<dyn Future<Output = Result<InvokeServiceResponse, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn invoke_binding<'life0, 'async_trait>(
    &'life0 mut self,
    request: InvokeBindingRequest
) -> Pin<Box<dyn Future<Output = Result<InvokeBindingResponse, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn get_secret<'life0, 'async_trait>(
    &'life0 mut self,
    request: GetSecretRequest
) -> Pin<Box<dyn Future<Output = Result<GetSecretResponse, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn get_state<'life0, 'async_trait>(
    &'life0 mut self,
    request: GetStateRequest
) -> Pin<Box<dyn Future<Output = Result<GetStateResponse, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn save_state<'life0, 'async_trait>(
    &'life0 mut self,
    request: SaveStateRequest
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn delete_state<'life0, 'async_trait>(
    &'life0 mut self,
    request: DeleteStateRequest
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn delete_bulk_state<'life0, 'async_trait>(
    &'life0 mut self,
    request: DeleteBulkStateRequest
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn set_metadata<'life0, 'async_trait>(
    &'life0 mut self,
    request: SetMetadataRequest
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn get_metadata<'life0, 'async_trait>(
    &'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<GetMetadataResponse, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl DaprInterface for DaprClient<TonicChannel>[src]

Loading content...