Trait chirpstack_api::fuota::fuota_server_service_server::FuotaServerService [−][src]
pub trait FuotaServerService: Send + Sync + 'static { fn create_deployment<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateDeploymentRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateDeploymentResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn get_deployment_status<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDeploymentStatusRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetDeploymentStatusResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn get_deployment_device_logs<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDeploymentDeviceLogsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetDeploymentDeviceLogsResponse>, 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 FuotaServerServiceServer.
Required methods
fn create_deployment<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateDeploymentRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateDeploymentResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_deployment<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateDeploymentRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateDeploymentResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
CreateDeployment creates the given FUOTA deployment.
fn get_deployment_status<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDeploymentStatusRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetDeploymentStatusResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_deployment_status<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDeploymentStatusRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetDeploymentStatusResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
GetDeploymentStatus returns the FUOTA deployment status given an ID.
fn get_deployment_device_logs<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDeploymentDeviceLogsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetDeploymentDeviceLogsResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_deployment_device_logs<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDeploymentDeviceLogsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetDeploymentDeviceLogsResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
GetDeploymentDeviceLogs returns the FUOTA logs given a deployment ID and DevEUI.