Trait chirpstack_api::as_pb::external::api::gateway_profile_service_server::GatewayProfileService [−][src]
pub trait GatewayProfileService: Send + Sync + 'static { #[must_use] fn create<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateGatewayProfileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn get<'life0, 'async_trait>(
&'life0 self,
request: Request<GetGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetGatewayProfileResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn update<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn delete<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; #[must_use] fn list<'life0, 'async_trait>(
&'life0 self,
request: Request<ListGatewayProfilesRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListGatewayProfilesResponse>, 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 GatewayProfileServiceServer.
Required methods
#[must_use]fn create<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateGatewayProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]fn create<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateGatewayProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Create creates the given gateway-profile.
#[must_use]fn get<'life0, 'async_trait>(
&'life0 self,
request: Request<GetGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetGatewayProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]fn get<'life0, 'async_trait>(
&'life0 self,
request: Request<GetGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetGatewayProfileResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Get returns the gateway-profile matching the given id.
#[must_use]fn update<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]fn update<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Update updates the given gateway-profile.
#[must_use]fn delete<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]fn delete<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteGatewayProfileRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]Delete deletes the gateway-profile matching the given id.
#[must_use]fn list<'life0, 'async_trait>(
&'life0 self,
request: Request<ListGatewayProfilesRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListGatewayProfilesResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]fn list<'life0, 'async_trait>(
&'life0 self,
request: Request<ListGatewayProfilesRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListGatewayProfilesResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]List returns the existing gateway-profiles.