Fix broken links in solana-client (#23503)
* Fix broken links in solana-client * Revise docs for RpcClient::new_sender * Add docs for RpcClient::new_mock etc * Fix doc warnings on RpcSender * rustfmt
This commit is contained in:
@@ -23,11 +23,7 @@ pub struct RpcTransportStats {
|
||||
/// `RpcSender` implements the underlying transport of requests to, and
|
||||
/// responses from, a Solana node, and is used primarily by [`RpcClient`].
|
||||
///
|
||||
/// It is typically implemented by [`HttpSender`] in production, and
|
||||
/// [`MockSender`] in unit tests.
|
||||
///
|
||||
/// [`HttpSender`]: crate::http_sender::HttpSender
|
||||
/// [`MockSender`]: crate::mock_sender::MockSender
|
||||
/// [`RpcClient`]: crate::rpc_client::RpcClient
|
||||
#[async_trait]
|
||||
pub trait RpcSender {
|
||||
async fn send(
|
||||
|
Reference in New Issue
Block a user