Trait chirpstack_api::as_pb::external::api::service_profile_service_server::ServiceProfileService [−][src]
pub trait ServiceProfileService: Send + Sync + 'static { fn create<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateServiceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateServiceProfileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn get<'life0, 'async_trait>(
&'life0 self,
request: Request<GetServiceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetServiceProfileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn update<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateServiceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn delete<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteServiceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn list<'life0, 'async_trait>(
&'life0 self,
request: Request<ListServiceProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListServiceProfileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Expand description
Generated trait containing gRPC methods that should be implemented for use with ServiceProfileServiceServer.
Required methods
Create creates the given service-profile.
Get returns the service-profile matching the given id.
Update updates the given serviceprofile.
Delete deletes the service-profile matching the given id.