pub trait DeviceProfileTemplateService: Send + Sync + 'static {
    fn create<'life0, 'async_trait>(
        &'life0 self,
        request: Request<CreateDeviceProfileTemplateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn get<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetDeviceProfileTemplateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetDeviceProfileTemplateResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn update<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UpdateDeviceProfileTemplateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn delete<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DeleteDeviceProfileTemplateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn list<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListDeviceProfileTemplatesRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListDeviceProfileTemplatesResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with DeviceProfileTemplateServiceServer.

Required Methods§

Create the given device-profile template.

Get the device-profile template for the given ID.

Update the given device-profile template.

Delete the device-profile template with the given ID.

List the available device-profile templates.

Implementors§