pub trait DeviceProfileService: Send + Sync + 'static {
    fn create<'life0, 'async_trait>(
        &'life0 self,
        request: Request<CreateDeviceProfileRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<CreateDeviceProfileResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn get<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetDeviceProfileRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetDeviceProfileResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn update<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UpdateDeviceProfileRequest>
    ) -> 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<DeleteDeviceProfileRequest>
    ) -> 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<ListDeviceProfilesRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListDeviceProfilesResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn list_adr_algorithms<'life0, 'async_trait>(
        &'life0 self,
        request: Request<()>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListDeviceProfileAdrAlgorithmsResponse>, 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 DeviceProfileServiceServer.

Required Methods§

Create the given device-profile.

Get the device-profile for the given ID.

Update the given device-profile.

Delete the device-profile with the given ID.

List the available device-profiles.

List available ADR algorithms.

Implementors§