Trait mav_sdk::grpc::geofence::GeofenceService[][src]

pub trait GeofenceService: Send + Sync + 'static {
    fn upload_geofence<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UploadGeofenceRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<UploadGeofenceResponse>, 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 GeofenceServiceServer.

Required methods

Upload a geofence.

Polygons are uploaded to a drone. Once uploaded, the geofence will remain on the drone even if a connection is lost.

Implementors