Trait interface::DirectoryNode [−][src]
Required methods
#[must_use]fn add_blob<'life0, 'life1, 'async_trait>(
&'life0 self,
blob_id: &'life1 str,
info: BlobInfo
) -> Pin<Box<dyn Future<Output = Result<StorageNodeInfo>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
blob_id: &'life1 str,
info: BlobInfo
) -> Pin<Box<dyn Future<Output = Result<StorageNodeInfo>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_blob_meta<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blob_id: &'life1 str,
user: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Option<BlobInfo>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
blob_id: &'life1 str,
user: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Option<BlobInfo>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
#[must_use]fn index_blob<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blob_id: &'life1 str,
meta: BlobInfo,
storage_node_id: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
blob_id: &'life1 str,
meta: BlobInfo,
storage_node_id: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
#[must_use]fn delete_blob<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blob_id: &'life1 str,
username: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Option<StorageNodeInfo>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
blob_id: &'life1 str,
username: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<Option<StorageNodeInfo>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
#[must_use]fn register_storage_node<'life0, 'async_trait>(
&'life0 self,
def: StorageNodeInfo
) -> Pin<Box<dyn Future<Output = Result<StorageNodeResponseData>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
def: StorageNodeInfo
) -> Pin<Box<dyn Future<Output = Result<StorageNodeResponseData>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn get_blob_storage_node<'life0, 'life1, 'async_trait>(
&'life0 self,
blob_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Option<StorageNodeInfo>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
blob_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Option<StorageNodeInfo>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn commit<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn start_rebuild<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn rebuild_complete<'life0, 'life1, 'async_trait>(
&'life0 self,
storage_node_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
storage_node_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn query<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
q: &'life1 Query,
username: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<QueryResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
q: &'life1 Query,
username: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<QueryResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
#[must_use]fn list_metadata<'life0, 'life1, 'async_trait>(
&'life0 self,
tags: Option<Vec<String>>,
meta_keys: Option<Vec<String>>,
username: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<MetadataList>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
tags: Option<Vec<String>>,
meta_keys: Option<Vec<String>>,
username: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<MetadataList>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn list_storage_nodes<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<StorageNodeInfo>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<StorageNodeInfo>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn login<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
user: &'life1 str,
password: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
user: &'life1 str,
password: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
#[must_use]fn register<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
user: &'life1 str,
password: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
user: &'life1 str,
password: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
#[must_use]fn has_user<'life0, 'life1, 'async_trait>(
&'life0 self,
user: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
user: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,