Struct massa_grpc::server::MassaPublicGrpc
source · pub struct MassaPublicGrpc {Show 14 fields
pub consensus_controller: Box<dyn ConsensusController>,
pub consensus_broadcasts: ConsensusBroadcasts,
pub execution_controller: Box<dyn ExecutionController>,
pub execution_channels: ExecutionChannels,
pub pool_broadcasts: PoolBroadcasts,
pub pool_controller: Box<dyn PoolController>,
pub protocol_controller: Box<dyn ProtocolController>,
pub selector_controller: Box<dyn SelectorController>,
pub storage: Storage,
pub grpc_config: GrpcConfig,
pub protocol_config: ProtocolConfig,
pub node_id: NodeId,
pub version: Version,
pub keypair_factory: KeyPairFactory,
}Expand description
gRPC PUBLIC API content
Fields§
§consensus_controller: Box<dyn ConsensusController>link to the consensus component
consensus_broadcasts: ConsensusBroadcastsBroadcasts made by consensus component
execution_controller: Box<dyn ExecutionController>link to the execution component
execution_channels: ExecutionChannelslink(channels) to the execution component
pool_broadcasts: PoolBroadcastsBroadcasts made by pool component
pool_controller: Box<dyn PoolController>link to the pool component
protocol_controller: Box<dyn ProtocolController>link to the protocol component
selector_controller: Box<dyn SelectorController>link to the selector component
storage: Storagelink to the storage component
grpc_config: GrpcConfiggRPC configuration
protocol_config: ProtocolConfigMassa protocol configuration
node_id: NodeIdour node id
version: Versionnode version
keypair_factory: KeyPairFactorykeypair factory
Implementations§
source§impl MassaPublicGrpc
impl MassaPublicGrpc
sourcepub async fn serve(self, config: &GrpcConfig) -> Result<StopHandle, GrpcError>
pub async fn serve(self, config: &GrpcConfig) -> Result<StopHandle, GrpcError>
Start the gRPC PUBLIC API
Trait Implementations§
source§impl Clone for MassaPublicGrpc
impl Clone for MassaPublicGrpc
source§fn clone(&self) -> MassaPublicGrpc
fn clone(&self) -> MassaPublicGrpc
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PublicService for MassaPublicGrpc
impl PublicService for MassaPublicGrpc
source§fn execute_read_only_call<'life0, 'async_trait>(
&'life0 self,
request: Request<ExecuteReadOnlyCallRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ExecuteReadOnlyCallResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_read_only_call<'life0, 'async_trait>(
&'life0 self,
request: Request<ExecuteReadOnlyCallRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ExecuteReadOnlyCallResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute read only call
source§fn get_blocks<'life0, 'async_trait>(
&'life0 self,
request: Request<GetBlocksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetBlocksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_blocks<'life0, 'async_trait>(
&'life0 self,
request: Request<GetBlocksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetBlocksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get blocks
source§fn get_datastore_entries<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDatastoreEntriesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetDatastoreEntriesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_datastore_entries<'life0, 'async_trait>(
&'life0 self,
request: Request<GetDatastoreEntriesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetDatastoreEntriesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get multiple datastore entries
source§fn get_endorsements<'life0, 'async_trait>(
&'life0 self,
request: Request<GetEndorsementsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetEndorsementsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_endorsements<'life0, 'async_trait>(
&'life0 self,
request: Request<GetEndorsementsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetEndorsementsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get endorsements
source§fn get_stakers<'life0, 'async_trait>(
&'life0 self,
request: Request<GetStakersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetStakersResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_stakers<'life0, 'async_trait>(
&'life0 self,
request: Request<GetStakersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetStakersResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get largest stakers
source§fn get_status<'life0, 'async_trait>(
&'life0 self,
request: Request<GetStatusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetStatusResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_status<'life0, 'async_trait>(
&'life0 self,
request: Request<GetStatusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetStatusResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get satatus
source§fn get_next_block_best_parents<'life0, 'async_trait>(
&'life0 self,
request: Request<GetNextBlockBestParentsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNextBlockBestParentsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_next_block_best_parents<'life0, 'async_trait>(
&'life0 self,
request: Request<GetNextBlockBestParentsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNextBlockBestParentsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get next block best parents
source§fn get_operations<'life0, 'async_trait>(
&'life0 self,
request: Request<GetOperationsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetOperationsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_operations<'life0, 'async_trait>(
&'life0 self,
request: Request<GetOperationsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetOperationsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get operations
source§fn get_sc_execution_events<'life0, 'async_trait>(
&'life0 self,
request: Request<GetScExecutionEventsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetScExecutionEventsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sc_execution_events<'life0, 'async_trait>(
&'life0 self,
request: Request<GetScExecutionEventsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetScExecutionEventsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get smart contract execution events
source§fn get_selector_draws<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSelectorDrawsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSelectorDrawsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_selector_draws<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSelectorDrawsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSelectorDrawsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get selector draws
source§fn get_transactions_throughput<'life0, 'async_trait>(
&'life0 self,
request: Request<GetTransactionsThroughputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetTransactionsThroughputResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_transactions_throughput<'life0, 'async_trait>(
&'life0 self,
request: Request<GetTransactionsThroughputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetTransactionsThroughputResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get transactions throughput
source§fn query_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for get version
source§fn search_blocks<'life0, 'async_trait>(
&'life0 self,
request: Request<SearchBlocksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchBlocksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn search_blocks<'life0, 'async_trait>(
&'life0 self,
request: Request<SearchBlocksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchBlocksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for search blocks
source§fn search_endorsements<'life0, 'async_trait>(
&'life0 self,
request: Request<SearchEndorsementsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchEndorsementsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn search_endorsements<'life0, 'async_trait>(
&'life0 self,
request: Request<SearchEndorsementsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchEndorsementsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for search endorsemets
source§fn search_operations<'life0, 'async_trait>(
&'life0 self,
request: Request<SearchOperationsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchOperationsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn search_operations<'life0, 'async_trait>(
&'life0 self,
request: Request<SearchOperationsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchOperationsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for search operations
source§fn new_blocks<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewBlocksRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewBlocksStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_blocks<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewBlocksRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewBlocksStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new blocks
source§fn new_blocks_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewBlocksServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewBlocksServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_blocks_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewBlocksServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewBlocksServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new blocks unidirectional
source§fn new_endorsements<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewEndorsementsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewEndorsementsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_endorsements<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewEndorsementsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewEndorsementsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new endorsements stream
source§fn new_endorsements_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewEndorsementsServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewEndorsementsServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_endorsements_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewEndorsementsServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewEndorsementsServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new endorsements unidirectional stream
source§fn new_filled_blocks<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewFilledBlocksRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewFilledBlocksStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_filled_blocks<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewFilledBlocksRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewFilledBlocksStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new blocks with operations content
source§fn new_operations<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewOperationsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewOperationsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_operations<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewOperationsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewOperationsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new operations stream
source§fn new_operations_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewOperationsServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewOperationsServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_operations_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewOperationsServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewOperationsServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new operations stream
source§fn new_slot_execution_outputs<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewSlotExecutionOutputsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewSlotExecutionOutputsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_slot_execution_outputs<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewSlotExecutionOutputsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewSlotExecutionOutputsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new slot execution output stream
source§fn new_slot_transfers<'life0, 'async_trait>(
&'life0 self,
_request: Request<Streaming<NewSlotTransfersRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewSlotTransfersStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_slot_transfers<'life0, 'async_trait>(
&'life0 self,
_request: Request<Streaming<NewSlotTransfersRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewSlotTransfersStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new slot transfers stream
source§fn new_slot_abi_call_stacks<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewSlotAbiCallStacksRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewSlotABICallStacksStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_slot_abi_call_stacks<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<NewSlotAbiCallStacksRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewSlotABICallStacksStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for subscribe new slot abi call stacks stream
source§fn send_blocks<'life0, 'async_trait>(
&'life0 self,
_request: Request<Streaming<SendBlocksRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SendBlocksStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_blocks<'life0, 'async_trait>(
&'life0 self,
_request: Request<Streaming<SendBlocksRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SendBlocksStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for send_blocks_stream
source§fn send_endorsements<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<SendEndorsementsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SendEndorsementsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_endorsements<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<SendEndorsementsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SendEndorsementsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for send_endorsements
source§fn send_operations<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<SendOperationsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SendOperationsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_operations<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<SendOperationsRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SendOperationsStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for send_operations
source§fn transactions_throughput<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<TransactionsThroughputRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::TransactionsThroughputStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn transactions_throughput<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<TransactionsThroughputRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::TransactionsThroughputStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
handler for transactions throughput
source§fn get_operation_abi_call_stacks<'life0, 'async_trait>(
&'life0 self,
_request: Request<GetOperationAbiCallStacksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetOperationAbiCallStacksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_operation_abi_call_stacks<'life0, 'async_trait>(
&'life0 self,
_request: Request<GetOperationAbiCallStacksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetOperationAbiCallStacksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
source§fn get_slot_abi_call_stacks<'life0, 'async_trait>(
&'life0 self,
_request: Request<GetSlotAbiCallStacksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSlotAbiCallStacksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_slot_abi_call_stacks<'life0, 'async_trait>(
&'life0 self,
_request: Request<GetSlotAbiCallStacksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSlotAbiCallStacksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
source§fn get_slot_transfers<'life0, 'async_trait>(
&'life0 self,
_request: Request<GetSlotTransfersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSlotTransfersResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_slot_transfers<'life0, 'async_trait>(
&'life0 self,
_request: Request<GetSlotTransfersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSlotTransfersResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
§type NewBlocksStream = Pin<Box<dyn Stream<Item = Result<NewBlocksResponse, Status>> + Send>>
type NewBlocksStream = Pin<Box<dyn Stream<Item = Result<NewBlocksResponse, Status>> + Send>>
§type NewBlocksServerStream = Pin<Box<dyn Stream<Item = Result<NewBlocksServerResponse, Status>> + Send>>
type NewBlocksServerStream = Pin<Box<dyn Stream<Item = Result<NewBlocksServerResponse, Status>> + Send>>
§type NewEndorsementsStream = Pin<Box<dyn Stream<Item = Result<NewEndorsementsResponse, Status>> + Send>>
type NewEndorsementsStream = Pin<Box<dyn Stream<Item = Result<NewEndorsementsResponse, Status>> + Send>>
§type NewEndorsementsServerStream = Pin<Box<dyn Stream<Item = Result<NewEndorsementsServerResponse, Status>> + Send>>
type NewEndorsementsServerStream = Pin<Box<dyn Stream<Item = Result<NewEndorsementsServerResponse, Status>> + Send>>
§type NewFilledBlocksStream = Pin<Box<dyn Stream<Item = Result<NewFilledBlocksResponse, Status>> + Send>>
type NewFilledBlocksStream = Pin<Box<dyn Stream<Item = Result<NewFilledBlocksResponse, Status>> + Send>>
§type NewFilledBlocksServerStream = Pin<Box<dyn Stream<Item = Result<NewFilledBlocksServerResponse, Status>> + Send>>
type NewFilledBlocksServerStream = Pin<Box<dyn Stream<Item = Result<NewFilledBlocksServerResponse, Status>> + Send>>
source§fn new_filled_blocks_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewFilledBlocksServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewFilledBlocksServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_filled_blocks_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewFilledBlocksServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewFilledBlocksServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
§type NewOperationsStream = Pin<Box<dyn Stream<Item = Result<NewOperationsResponse, Status>> + Send>>
type NewOperationsStream = Pin<Box<dyn Stream<Item = Result<NewOperationsResponse, Status>> + Send>>
§type NewOperationsServerStream = Pin<Box<dyn Stream<Item = Result<NewOperationsServerResponse, Status>> + Send>>
type NewOperationsServerStream = Pin<Box<dyn Stream<Item = Result<NewOperationsServerResponse, Status>> + Send>>
§type NewSlotExecutionOutputsStream = Pin<Box<dyn Stream<Item = Result<NewSlotExecutionOutputsResponse, Status>> + Send>>
type NewSlotExecutionOutputsStream = Pin<Box<dyn Stream<Item = Result<NewSlotExecutionOutputsResponse, Status>> + Send>>
§type NewSlotExecutionOutputsServerStream = Pin<Box<dyn Stream<Item = Result<NewSlotExecutionOutputsServerResponse, Status>> + Send>>
type NewSlotExecutionOutputsServerStream = Pin<Box<dyn Stream<Item = Result<NewSlotExecutionOutputsServerResponse, Status>> + Send>>
source§fn new_slot_execution_outputs_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewSlotExecutionOutputsServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewSlotExecutionOutputsServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_slot_execution_outputs_server<'life0, 'async_trait>(
&'life0 self,
request: Request<NewSlotExecutionOutputsServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewSlotExecutionOutputsServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
§type NewSlotTransfersStream = Pin<Box<dyn Stream<Item = Result<NewSlotTransfersResponse, Status>> + Send>>
type NewSlotTransfersStream = Pin<Box<dyn Stream<Item = Result<NewSlotTransfersResponse, Status>> + Send>>
§type NewTransfersInfoServerStream = Pin<Box<dyn Stream<Item = Result<NewTransfersInfoServerResponse, Status>> + Send>>
type NewTransfersInfoServerStream = Pin<Box<dyn Stream<Item = Result<NewTransfersInfoServerResponse, Status>> + Send>>
source§fn new_transfers_info_server<'life0, 'async_trait>(
&'life0 self,
_request: Request<NewTransfersInfoServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewTransfersInfoServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_transfers_info_server<'life0, 'async_trait>(
&'life0 self,
_request: Request<NewTransfersInfoServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::NewTransfersInfoServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
§type NewSlotABICallStacksStream = Pin<Box<dyn Stream<Item = Result<NewSlotAbiCallStacksResponse, Status>> + Send>>
type NewSlotABICallStacksStream = Pin<Box<dyn Stream<Item = Result<NewSlotAbiCallStacksResponse, Status>> + Send>>
§type SendBlocksStream = Pin<Box<dyn Stream<Item = Result<SendBlocksResponse, Status>> + Send>>
type SendBlocksStream = Pin<Box<dyn Stream<Item = Result<SendBlocksResponse, Status>> + Send>>
§type SendEndorsementsStream = Pin<Box<dyn Stream<Item = Result<SendEndorsementsResponse, Status>> + Send>>
type SendEndorsementsStream = Pin<Box<dyn Stream<Item = Result<SendEndorsementsResponse, Status>> + Send>>
§type SendOperationsStream = Pin<Box<dyn Stream<Item = Result<SendOperationsResponse, Status>> + Send>>
type SendOperationsStream = Pin<Box<dyn Stream<Item = Result<SendOperationsResponse, Status>> + Send>>
§type TransactionsThroughputStream = Pin<Box<dyn Stream<Item = Result<TransactionsThroughputResponse, Status>> + Send>>
type TransactionsThroughputStream = Pin<Box<dyn Stream<Item = Result<TransactionsThroughputResponse, Status>> + Send>>
§type TransactionsThroughputServerStream = Pin<Box<dyn Stream<Item = Result<TransactionsThroughputServerResponse, Status>> + Send>>
type TransactionsThroughputServerStream = Pin<Box<dyn Stream<Item = Result<TransactionsThroughputServerResponse, Status>> + Send>>
source§fn transactions_throughput_server<'life0, 'async_trait>(
&'life0 self,
request: Request<TransactionsThroughputServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::TransactionsThroughputServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn transactions_throughput_server<'life0, 'async_trait>(
&'life0 self,
request: Request<TransactionsThroughputServerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::TransactionsThroughputServerStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for MassaPublicGrpc
impl !RefUnwindSafe for MassaPublicGrpc
impl Send for MassaPublicGrpc
impl Sync for MassaPublicGrpc
impl Unpin for MassaPublicGrpc
impl !UnwindSafe for MassaPublicGrpc
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)§impl<T> Conv for T
impl<T> Conv for T
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§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>
T in a tonic::Request§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.