pub struct LocalAsyncSpatialServiceClient<C> { /* private fields */ }Trait Implementations§
Source§impl<C> AsyncService<C> for LocalAsyncSpatialServiceClient<C>
impl<C> AsyncService<C> for LocalAsyncSpatialServiceClient<C>
Source§fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
Creates a new service wrapping an async HTTP client.
Source§impl<C: Clone> Clone for LocalAsyncSpatialServiceClient<C>
impl<C: Clone> Clone for LocalAsyncSpatialServiceClient<C>
Source§fn clone(&self) -> LocalAsyncSpatialServiceClient<C>
fn clone(&self) -> LocalAsyncSpatialServiceClient<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug> Debug for LocalAsyncSpatialServiceClient<C>
impl<C: Debug> Debug for LocalAsyncSpatialServiceClient<C>
Source§impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncSpatialService<I> for LocalAsyncSpatialServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncSpatialService<I> for LocalAsyncSpatialServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
Source§async fn get(
&self,
auth_: &BearerToken,
spatial_rid: &SpatialRid,
) -> Result<Spatial, Error>
async fn get( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, ) -> Result<Spatial, Error>
Returns spatial asset metadata associated with a spatial asset rid.
Source§async fn batch_get(
&self,
auth_: &BearerToken,
request: &GetSpatialsRequest,
) -> Result<GetSpatialsResponse, Error>
async fn batch_get( &self, auth_: &BearerToken, request: &GetSpatialsRequest, ) -> Result<GetSpatialsResponse, Error>
Returns spatial asset metadata for each given spatial asset rid.
Source§async fn search(
&self,
auth_: &BearerToken,
request: &SearchSpatialsRequest,
) -> Result<SearchSpatialsResponse, Error>
async fn search( &self, auth_: &BearerToken, request: &SearchSpatialsRequest, ) -> Result<SearchSpatialsResponse, Error>
Returns metadata about spatial assets that match a given query.
Source§async fn create(
&self,
auth_: &BearerToken,
request: &CreateSpatialRequest,
) -> Result<Spatial, Error>
async fn create( &self, auth_: &BearerToken, request: &CreateSpatialRequest, ) -> Result<Spatial, Error>
Creates and persists a spatial asset entity with the given metadata.
Source§async fn update_metadata(
&self,
auth_: &BearerToken,
spatial_rid: &SpatialRid,
request: &UpdateSpatialMetadataRequest,
) -> Result<Spatial, Error>
async fn update_metadata( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, request: &UpdateSpatialMetadataRequest, ) -> Result<Spatial, Error>
Updates the metadata for a spatial asset associated with the given rid.
async fn get_ingest_status( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, ) -> Result<SpatialIngestStatus, Error>
async fn batch_get_ingest_status( &self, auth_: &BearerToken, spatial_rids: &BTreeSet<SpatialRid>, ) -> Result<BTreeMap<SpatialRid, SpatialIngestStatus>, Error>
Source§async fn archive(
&self,
auth_: &BearerToken,
spatial_rid: &SpatialRid,
) -> Result<(), Error>
async fn archive( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, ) -> Result<(), Error>
Archives a spatial asset, excluding it from search. Can be unarchived.
Source§async fn unarchive(
&self,
auth_: &BearerToken,
spatial_rid: &SpatialRid,
) -> Result<(), Error>
async fn unarchive( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, ) -> Result<(), Error>
Unarchives a previously archived spatial asset.
Source§async fn import_file(
&self,
auth_: &BearerToken,
request: &ImportFileRequest,
) -> Result<ImportFileResponse, Error>
async fn import_file( &self, auth_: &BearerToken, request: &ImportFileRequest, ) -> Result<ImportFileResponse, Error>
Imports a spatial data file (e.g. LAS, LAZ, PLY, PCAP).
Creates a new spatial asset, processes the file, and uploads the extracted data to Dagger.
Auto Trait Implementations§
impl<C> Freeze for LocalAsyncSpatialServiceClient<C>where
C: Freeze,
impl<C> !RefUnwindSafe for LocalAsyncSpatialServiceClient<C>
impl<C> Send for LocalAsyncSpatialServiceClient<C>where
C: Send,
impl<C> Sync for LocalAsyncSpatialServiceClient<C>where
C: Sync,
impl<C> Unpin for LocalAsyncSpatialServiceClient<C>where
C: Unpin,
impl<C> UnsafeUnpin for LocalAsyncSpatialServiceClient<C>where
C: UnsafeUnpin,
impl<C> !UnwindSafe for LocalAsyncSpatialServiceClient<C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request