[][src]Trait nebula_graph_fbthrift_storage_v2::server::GeneralStorageService

pub trait GeneralStorageService: Send + Sync + 'static {
#[must_use]    fn get<'life0, 'async_trait>(
        &'life0 self,
        _req: KVGetRequest
    ) -> Pin<Box<dyn Future<Output = Result<KVGetResponse, GetExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn put<'life0, 'async_trait>(
        &'life0 self,
        _req: KVPutRequest
    ) -> Pin<Box<dyn Future<Output = Result<ExecResponse, PutExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn remove<'life0, 'async_trait>(
        &'life0 self,
        _req: KVRemoveRequest
    ) -> Pin<Box<dyn Future<Output = Result<ExecResponse, RemoveExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }

Provided methods

#[must_use]fn get<'life0, 'async_trait>(
    &'life0 self,
    _req: KVGetRequest
) -> Pin<Box<dyn Future<Output = Result<KVGetResponse, GetExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn put<'life0, 'async_trait>(
    &'life0 self,
    _req: KVPutRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, PutExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn remove<'life0, 'async_trait>(
    &'life0 self,
    _req: KVRemoveRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, RemoveExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

Loading content...

Implementors

Loading content...