pub trait Node:
Send
+ Sync
+ 'static {
// Required methods
fn node_stage_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<NodeStageVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodeStageVolumeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn node_unstage_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<NodeUnstageVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodeUnstageVolumeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn node_publish_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<NodePublishVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodePublishVolumeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn node_unpublish_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<NodeUnpublishVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodeUnpublishVolumeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn node_get_volume_stats<'life0, 'async_trait>(
&'life0 self,
request: Request<NodeGetVolumeStatsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodeGetVolumeStatsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn node_expand_volume<'life0, 'async_trait>(
&'life0 self,
request: Request<NodeExpandVolumeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodeExpandVolumeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn node_get_capabilities<'life0, 'async_trait>(
&'life0 self,
request: Request<NodeGetCapabilitiesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodeGetCapabilitiesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn node_get_info<'life0, 'async_trait>(
&'life0 self,
request: Request<NodeGetInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NodeGetInfoResponse>, 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 NodeServer.