[][src]Trait chirpstack_api::as_pb::external::api::fuota_deployment_service_server::FuotaDeploymentService

pub trait FuotaDeploymentService: Send + Sync + 'static {
#[must_use]    fn create_for_device<'life0, 'async_trait>(
        &'life0 self,
        request: Request<CreateFuotaDeploymentForDeviceRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<CreateFuotaDeploymentForDeviceResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetFuotaDeploymentRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetFuotaDeploymentResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn list<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListFuotaDeploymentRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListFuotaDeploymentResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_deployment_device<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetFuotaDeploymentDeviceRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetFuotaDeploymentDeviceResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn list_deployment_devices<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ListFuotaDeploymentDevicesRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListFuotaDeploymentDevicesResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

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

Required methods

#[must_use]fn create_for_device<'life0, 'async_trait>(
    &'life0 self,
    request: Request<CreateFuotaDeploymentForDeviceRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<CreateFuotaDeploymentForDeviceResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

CreateForDevice creates a deployment for the given DevEUI.

#[must_use]fn get<'life0, 'async_trait>(
    &'life0 self,
    request: Request<GetFuotaDeploymentRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetFuotaDeploymentResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Get returns the fuota deployment for the given id.

#[must_use]fn list<'life0, 'async_trait>(
    &'life0 self,
    request: Request<ListFuotaDeploymentRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListFuotaDeploymentResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

List lists the fuota deployments.

#[must_use]fn get_deployment_device<'life0, 'async_trait>(
    &'life0 self,
    request: Request<GetFuotaDeploymentDeviceRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetFuotaDeploymentDeviceResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

GetDeploymentDevice returns the deployment device.

#[must_use]fn list_deployment_devices<'life0, 'async_trait>(
    &'life0 self,
    request: Request<ListFuotaDeploymentDevicesRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<ListFuotaDeploymentDevicesResponse>, Status>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

ListDeploymentDevices lists the devices (and status) for the given fuota deployment ID.

Loading content...

Implementors

Loading content...