Trait chirpstack_api::as_pb::external::api::device_queue_service_server::DeviceQueueService[][src]

pub trait DeviceQueueService: Send + Sync + 'static {
    fn enqueue<'life0, 'async_trait>(
        &'life0 self,
        request: Request<EnqueueDeviceQueueItemRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<EnqueueDeviceQueueItemResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn flush<'life0, 'async_trait>(
        &'life0 self,
        request: Request<FlushDeviceQueueRequest>
    ) -> 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<ListDeviceQueueItemsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ListDeviceQueueItemsResponse>, 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 DeviceQueueServiceServer.

Required methods

Enqueue adds the given item to the device-queue.

Flush flushes the downlink device-queue.

List lists the items in the device-queue.

Implementors