pub trait NodeService:
Send
+ Sync
+ 'static {
type WriteStreamStream: Stream<Item = Result<WriteResponse, Status>> + Send + 'static;
type ReadAtStream: Stream<Item = Result<ReadAtResponse, Status>> + Send + 'static;
type WalkDirStream: Stream<Item = Result<WalkDirResponse, Status>> + Send + 'static;
type NsScannerStream: Stream<Item = Result<NsScannerResponse, Status>> + Send + 'static;
Show 76 methods
// Required methods
fn ping<'life0, 'async_trait>(
&'life0 self,
request: Request<PingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PingResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn heal_bucket<'life0, 'async_trait>(
&'life0 self,
request: Request<HealBucketRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<HealBucketResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_bucket<'life0, 'async_trait>(
&'life0 self,
request: Request<ListBucketRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListBucketResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn make_bucket<'life0, 'async_trait>(
&'life0 self,
request: Request<MakeBucketRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MakeBucketResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_bucket_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetBucketInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetBucketInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_bucket<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteBucketRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteBucketResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn read_all<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadAllRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadAllResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn write_all<'life0, 'async_trait>(
&'life0 self,
request: Request<WriteAllRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WriteAllResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn verify_file<'life0, 'async_trait>(
&'life0 self,
request: Request<VerifyFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<VerifyFileResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn check_parts<'life0, 'async_trait>(
&'life0 self,
request: Request<CheckPartsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CheckPartsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn rename_part<'life0, 'async_trait>(
&'life0 self,
request: Request<RenamePartRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RenamePartResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn rename_file<'life0, 'async_trait>(
&'life0 self,
request: Request<RenameFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RenameFileResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn write<'life0, 'async_trait>(
&'life0 self,
request: Request<WriteRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WriteResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn write_stream<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<WriteRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::WriteStreamStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn read_at<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<ReadAtRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ReadAtStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_dir<'life0, 'async_trait>(
&'life0 self,
request: Request<ListDirRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListDirResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn walk_dir<'life0, 'async_trait>(
&'life0 self,
request: Request<WalkDirRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::WalkDirStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn rename_data<'life0, 'async_trait>(
&'life0 self,
request: Request<RenameDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RenameDataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn make_volumes<'life0, 'async_trait>(
&'life0 self,
request: Request<MakeVolumesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MakeVolumesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn make_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<MakeVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MakeVolumeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_volumes<'life0, 'async_trait>(
&'life0 self,
request: Request<ListVolumesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListVolumesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn stat_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<StatVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StatVolumeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_paths<'life0, 'async_trait>(
&'life0 self,
request: Request<DeletePathsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeletePathsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_metadata<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn write_metadata<'life0, 'async_trait>(
&'life0 self,
request: Request<WriteMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WriteMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn read_version<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadVersionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadVersionResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn read_xl<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadXlRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadXlResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_version<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteVersionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteVersionResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_versions<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteVersionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteVersionsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn read_multiple<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadMultipleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadMultipleResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteVolumeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn disk_info<'life0, 'async_trait>(
&'life0 self,
request: Request<DiskInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DiskInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ns_scanner<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NsScannerRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NsScannerStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn un_lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn r_lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn r_un_lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn force_un_lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn refresh<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn local_storage_info<'life0, 'async_trait>(
&'life0 self,
request: Request<LocalStorageInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LocalStorageInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn server_info<'life0, 'async_trait>(
&'life0 self,
request: Request<ServerInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ServerInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_cpus<'life0, 'async_trait>(
&'life0 self,
request: Request<GetCpusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetCpusResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_net_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetNetInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNetInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_partitions<'life0, 'async_trait>(
&'life0 self,
request: Request<GetPartitionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetPartitionsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_os_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetOsInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetOsInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_se_linux_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSeLinuxInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSeLinuxInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_sys_config<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSysConfigRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSysConfigResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_sys_errors<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSysErrorsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSysErrorsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_mem_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetMemInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetMemInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_metrics<'life0, 'async_trait>(
&'life0 self,
request: Request<GetMetricsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetMetricsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_proc_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetProcInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetProcInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn start_profiling<'life0, 'async_trait>(
&'life0 self,
request: Request<StartProfilingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StartProfilingResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn download_profile_data<'life0, 'async_trait>(
&'life0 self,
request: Request<DownloadProfileDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DownloadProfileDataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_bucket_stats<'life0, 'async_trait>(
&'life0 self,
request: Request<GetBucketStatsDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetBucketStatsDataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_sr_metrics<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSrMetricsDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSrMetricsDataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_all_bucket_stats<'life0, 'async_trait>(
&'life0 self,
request: Request<GetAllBucketStatsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAllBucketStatsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn load_bucket_metadata<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadBucketMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadBucketMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_bucket_metadata<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteBucketMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteBucketMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_policy<'life0, 'async_trait>(
&'life0 self,
request: Request<DeletePolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeletePolicyResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn load_policy<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadPolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadPolicyResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn load_policy_mapping<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadPolicyMappingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadPolicyMappingResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_user<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteUserRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteUserResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_service_account<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteServiceAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteServiceAccountResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn load_user<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadUserRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadUserResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn load_service_account<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadServiceAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadServiceAccountResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn load_group<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadGroupRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadGroupResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn reload_site_replication_config<'life0, 'async_trait>(
&'life0 self,
request: Request<ReloadSiteReplicationConfigRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReloadSiteReplicationConfigResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn signal_service<'life0, 'async_trait>(
&'life0 self,
request: Request<SignalServiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SignalServiceResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn background_heal_status<'life0, 'async_trait>(
&'life0 self,
request: Request<BackgroundHealStatusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BackgroundHealStatusResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_metacache_listing<'life0, 'async_trait>(
&'life0 self,
request: Request<GetMetacacheListingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetMetacacheListingResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_metacache_listing<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateMetacacheListingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateMetacacheListingResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn reload_pool_meta<'life0, 'async_trait>(
&'life0 self,
request: Request<ReloadPoolMetaRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReloadPoolMetaResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn stop_rebalance<'life0, 'async_trait>(
&'life0 self,
request: Request<StopRebalanceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StopRebalanceResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn load_rebalance_meta<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadRebalanceMetaRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadRebalanceMetaResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn load_transition_tier_config<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadTransitionTierConfigRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadTransitionTierConfigResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with NodeServiceServer.
Required Associated Typesยง
Sourcetype WriteStreamStream: Stream<Item = Result<WriteResponse, Status>> + Send + 'static
type WriteStreamStream: Stream<Item = Result<WriteResponse, Status>> + Send + 'static
Server streaming response type for the WriteStream method.
Sourcetype ReadAtStream: Stream<Item = Result<ReadAtResponse, Status>> + Send + 'static
type ReadAtStream: Stream<Item = Result<ReadAtResponse, Status>> + Send + 'static
Server streaming response type for the ReadAt method.
Sourcetype WalkDirStream: Stream<Item = Result<WalkDirResponse, Status>> + Send + 'static
type WalkDirStream: Stream<Item = Result<WalkDirResponse, Status>> + Send + 'static
Server streaming response type for the WalkDir method.
Sourcetype NsScannerStream: Stream<Item = Result<NsScannerResponse, Status>> + Send + 'static
type NsScannerStream: Stream<Item = Result<NsScannerResponse, Status>> + Send + 'static
Server streaming response type for the NsScanner method.
Required Methodsยง
Sourcefn ping<'life0, 'async_trait>(
&'life0 self,
request: Request<PingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ping<'life0, 'async_trait>(
&'life0 self,
request: Request<PingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
โโโโโโโโโโโmeta serviceโโโโโโโโโโโโโ
fn heal_bucket<'life0, 'async_trait>(
&'life0 self,
request: Request<HealBucketRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<HealBucketResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_bucket<'life0, 'async_trait>(
&'life0 self,
request: Request<ListBucketRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListBucketResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn make_bucket<'life0, 'async_trait>(
&'life0 self,
request: Request<MakeBucketRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MakeBucketResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_bucket_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetBucketInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetBucketInfoResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_bucket<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteBucketRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteBucketResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_all<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadAllRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadAllResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn write_all<'life0, 'async_trait>(
&'life0 self,
request: Request<WriteAllRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WriteAllResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn verify_file<'life0, 'async_trait>(
&'life0 self,
request: Request<VerifyFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<VerifyFileResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check_parts<'life0, 'async_trait>(
&'life0 self,
request: Request<CheckPartsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CheckPartsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rename_part<'life0, 'async_trait>(
&'life0 self,
request: Request<RenamePartRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RenamePartResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rename_file<'life0, 'async_trait>(
&'life0 self,
request: Request<RenameFileRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RenameFileResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn write<'life0, 'async_trait>(
&'life0 self,
request: Request<WriteRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WriteResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn write_stream<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<WriteRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::WriteStreamStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sourcefn read_at<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<ReadAtRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ReadAtStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_at<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<ReadAtRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ReadAtStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
rpc Append(AppendRequest) returns (AppendResponse) {};
fn list_dir<'life0, 'async_trait>(
&'life0 self,
request: Request<ListDirRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListDirResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn walk_dir<'life0, 'async_trait>(
&'life0 self,
request: Request<WalkDirRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::WalkDirStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rename_data<'life0, 'async_trait>(
&'life0 self,
request: Request<RenameDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RenameDataResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn make_volumes<'life0, 'async_trait>(
&'life0 self,
request: Request<MakeVolumesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MakeVolumesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn make_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<MakeVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MakeVolumeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_volumes<'life0, 'async_trait>(
&'life0 self,
request: Request<ListVolumesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListVolumesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stat_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<StatVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StatVolumeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_paths<'life0, 'async_trait>(
&'life0 self,
request: Request<DeletePathsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeletePathsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_metadata<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateMetadataResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn write_metadata<'life0, 'async_trait>(
&'life0 self,
request: Request<WriteMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WriteMetadataResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_version<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadVersionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadVersionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_xl<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadXlRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadXlResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_version<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteVersionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteVersionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_versions<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteVersionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteVersionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_multiple<'life0, 'async_trait>(
&'life0 self,
request: Request<ReadMultipleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReadMultipleResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteVolumeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn disk_info<'life0, 'async_trait>(
&'life0 self,
request: Request<DiskInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DiskInfoResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ns_scanner<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NsScannerRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NsScannerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn un_lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn r_lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn r_un_lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn force_un_lock<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn refresh<'life0, 'async_trait>(
&'life0 self,
request: Request<GenerallyLockRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GenerallyLockResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn local_storage_info<'life0, 'async_trait>(
&'life0 self,
request: Request<LocalStorageInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LocalStorageInfoResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn server_info<'life0, 'async_trait>(
&'life0 self,
request: Request<ServerInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ServerInfoResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_cpus<'life0, 'async_trait>(
&'life0 self,
request: Request<GetCpusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetCpusResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_net_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetNetInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNetInfoResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_partitions<'life0, 'async_trait>(
&'life0 self,
request: Request<GetPartitionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetPartitionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_os_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetOsInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetOsInfoResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_se_linux_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSeLinuxInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSeLinuxInfoResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sys_config<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSysConfigRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSysConfigResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sys_errors<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSysErrorsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSysErrorsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_mem_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetMemInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetMemInfoResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_metrics<'life0, 'async_trait>(
&'life0 self,
request: Request<GetMetricsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetMetricsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_proc_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetProcInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetProcInfoResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn start_profiling<'life0, 'async_trait>(
&'life0 self,
request: Request<StartProfilingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StartProfilingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn download_profile_data<'life0, 'async_trait>(
&'life0 self,
request: Request<DownloadProfileDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DownloadProfileDataResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_bucket_stats<'life0, 'async_trait>(
&'life0 self,
request: Request<GetBucketStatsDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetBucketStatsDataResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sr_metrics<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSrMetricsDataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSrMetricsDataResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_all_bucket_stats<'life0, 'async_trait>(
&'life0 self,
request: Request<GetAllBucketStatsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetAllBucketStatsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_bucket_metadata<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadBucketMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadBucketMetadataResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_bucket_metadata<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteBucketMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteBucketMetadataResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_policy<'life0, 'async_trait>(
&'life0 self,
request: Request<DeletePolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeletePolicyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_policy<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadPolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadPolicyResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_policy_mapping<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadPolicyMappingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadPolicyMappingResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_user<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteUserRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteUserResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_service_account<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteServiceAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteServiceAccountResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_user<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadUserRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadUserResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_service_account<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadServiceAccountRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadServiceAccountResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_group<'life0, 'async_trait>(
&'life0 self,
request: Request<LoadGroupRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LoadGroupResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reload_site_replication_config<'life0, 'async_trait>(
&'life0 self,
request: Request<ReloadSiteReplicationConfigRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReloadSiteReplicationConfigResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sourcefn signal_service<'life0, 'async_trait>(
&'life0 self,
request: Request<SignalServiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SignalServiceResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn signal_service<'life0, 'async_trait>(
&'life0 self,
request: Request<SignalServiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SignalServiceResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
rpc VerifyBinary() returns () {}; rpc CommitBinary() returns () {};