Call

Enum Call 

Source
pub enum Call {
Show 55 variants BlockNumber { params: BlockNumberParams, }, PeerCount { params: PeerCountParams, }, SendRawTransaction { params: SendRawTransactionParams, }, SendTransaction { params: SendTransactionParams, }, GetBlockByHash { params: GetBlockByHashParams, }, GetBlockByNumber { params: GetBlockByNumberParams, }, GetTransactionReceipt { params: GetTransactionReceiptParams, }, GetLogs { params: GetLogsParams, }, GetTransactionCount { params: GetTransactionCountParams, }, GetCode { params: GetCodeParams, }, GetAbi { params: GetAbiParams, }, GetBalance { params: GetBalanceParams, }, NewFilter { params: NewFilterParams, }, NewBlockFilter { params: NewBlockFilterParams, }, UninstallFilter { params: UninstallFilterParams, }, GetFilterChanges { params: GetFilterChangesParams, }, GetFilterLogs { params: GetFilterLogsParams, }, GetTransactionProof { params: GetTransactionProofParams, }, GetMetaData { params: GetMetaDataParams, }, GetStateProof { params: GetStateProofParams, }, GetBlockHeader { params: GetBlockHeaderParams, }, GetStorageAt { params: GetStorageKeyParams, }, GetVersion { params: GetVersionParams, }, EstimateQuota { params: EstimateQuotaParams, }, LicenseInfo { params: LicenseInfoParams, }, GetPoolTxNum { params: GetPoolTxNumParams, }, OpCensoredAddress { params: OpCensoredAddressParams, }, PeersInfo { params: PeersInfoParams, }, GetTransaction { params: GetTransactionParams, }, Call { params: CallParams, }, GetCensoredAddrs { params: GetCensoredAddrsParams, }, eth_blockNumber { params: eth_blockNumberParams, }, eth_chainId { params: eth_chainIdParams, }, eth_getBlockByHash { params: eth_getBlockByHashParams, }, eth_getBlockByNumber { params: eth_getBlockByNumberParams, }, eth_getTransactionByHash { params: eth_getTransactionByHashParams, }, eth_getTransactionByBlockHashAndIndex { params: eth_getTransactionByBlockHashAndIndexParams, }, eth_getTransactionByBlockNumberAndIndex { params: eth_getTransactionByBlockNumberAndIndexParams, }, eth_getBlockTransactionCountByHash { params: eth_getBlockTransactionCountByHashParams, }, eth_getBlockTransactionCountByNumber { params: eth_getBlockTransactionCountByNumberParams, }, eth_getTransactionReceipt { params: eth_getTransactionReceiptParams, }, eth_getBalance { params: eth_getBalanceParams, }, eth_syncing { params: eth_syncingParams, }, eth_getStorageAt { params: eth_getStorageAtParams, }, eth_getCode { params: eth_getCodeParams, }, eth_getTransactionCount { params: eth_getTransactionCountParams, }, eth_getLogs { params: eth_getLogsParams, }, eth_call { params: eth_callParams, }, eth_estimateGas { params: eth_estimateGasParams, }, eth_gasPrice { params: eth_gasPriceParams, }, eth_maxPriorityFeePerGas { params: eth_maxPriorityFeePerGasParams, }, eth_sendTransaction { params: eth_sendTransactionParams, }, eth_sendRawTransaction { params: eth_sendRawTransactionParams, }, eth_accounts { params: eth_accountsParams, }, net_version { params: net_versionParams, },
}

Variants§

§

BlockNumber

Fields

§

PeerCount

Fields

§

SendRawTransaction

§

SendTransaction

§

GetBlockByHash

§

GetBlockByNumber

§

GetTransactionReceipt

§

GetLogs

Fields

§

GetTransactionCount

§

GetCode

Fields

§

GetAbi

Fields

§

GetBalance

Fields

§

NewFilter

Fields

§

NewBlockFilter

§

UninstallFilter

§

GetFilterChanges

§

GetFilterLogs

Fields

§

GetTransactionProof

§

GetMetaData

Fields

§

GetStateProof

Fields

§

GetBlockHeader

§

GetStorageAt

Fields

§

GetVersion

Fields

§

EstimateQuota

Fields

§

LicenseInfo

Fields

§

GetPoolTxNum

Fields

§

OpCensoredAddress

§

PeersInfo

Fields

§

GetTransaction

§

Call

Fields

§params: CallParams
§

GetCensoredAddrs

§

eth_blockNumber

§

eth_chainId

Fields

§

eth_getBlockByHash

§

eth_getBlockByNumber

§

eth_getTransactionByHash

§

eth_getTransactionByBlockHashAndIndex

§

eth_getTransactionByBlockNumberAndIndex

§

eth_getBlockTransactionCountByHash

§

eth_getBlockTransactionCountByNumber

§

eth_getTransactionReceipt

§

eth_getBalance

§

eth_syncing

Fields

§

eth_getStorageAt

§

eth_getCode

Fields

§

eth_getTransactionCount

§

eth_getLogs

Fields

§

eth_call

Fields

§

eth_estimateGas

§

eth_gasPrice

Fields

§

eth_maxPriorityFeePerGas

§

eth_sendTransaction

§

eth_sendRawTransaction

§

eth_accounts

Fields

§

net_version

Fields

Implementations§

Source§

impl Call

Source

pub fn get_method(&self) -> &str

Source

pub fn into_request(self, id: u64) -> Request

Trait Implementations§

Source§

impl Clone for Call

Source§

fn clone(&self) -> Call

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Call

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Call

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<BlockNumberParams> for Call

Source§

fn from(params: BlockNumberParams) -> Call

Converts to this type from the input type.
Source§

impl From<CallParams> for Call

Source§

fn from(params: CallParams) -> Call

Converts to this type from the input type.
Source§

impl From<EstimateQuotaParams> for Call

Source§

fn from(params: EstimateQuotaParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetAbiParams> for Call

Source§

fn from(params: GetAbiParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetBalanceParams> for Call

Source§

fn from(params: GetBalanceParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetBlockByHashParams> for Call

Source§

fn from(params: GetBlockByHashParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetBlockByNumberParams> for Call

Source§

fn from(params: GetBlockByNumberParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetBlockHeaderParams> for Call

Source§

fn from(params: GetBlockHeaderParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetCensoredAddrsParams> for Call

Source§

fn from(params: GetCensoredAddrsParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetCodeParams> for Call

Source§

fn from(params: GetCodeParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetFilterChangesParams> for Call

Source§

fn from(params: GetFilterChangesParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetFilterLogsParams> for Call

Source§

fn from(params: GetFilterLogsParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetLogsParams> for Call

Source§

fn from(params: GetLogsParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetMetaDataParams> for Call

Source§

fn from(params: GetMetaDataParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetPoolTxNumParams> for Call

Source§

fn from(params: GetPoolTxNumParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetStateProofParams> for Call

Source§

fn from(params: GetStateProofParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetStorageKeyParams> for Call

Source§

fn from(params: GetStorageKeyParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetTransactionCountParams> for Call

Source§

fn from(params: GetTransactionCountParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetTransactionParams> for Call

Source§

fn from(params: GetTransactionParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetTransactionProofParams> for Call

Source§

fn from(params: GetTransactionProofParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetTransactionReceiptParams> for Call

Source§

fn from(params: GetTransactionReceiptParams) -> Call

Converts to this type from the input type.
Source§

impl From<GetVersionParams> for Call

Source§

fn from(params: GetVersionParams) -> Call

Converts to this type from the input type.
Source§

impl From<LicenseInfoParams> for Call

Source§

fn from(params: LicenseInfoParams) -> Call

Converts to this type from the input type.
Source§

impl From<NewBlockFilterParams> for Call

Source§

fn from(params: NewBlockFilterParams) -> Call

Converts to this type from the input type.
Source§

impl From<NewFilterParams> for Call

Source§

fn from(params: NewFilterParams) -> Call

Converts to this type from the input type.
Source§

impl From<OpCensoredAddressParams> for Call

Source§

fn from(params: OpCensoredAddressParams) -> Call

Converts to this type from the input type.
Source§

impl From<PeerCountParams> for Call

Source§

fn from(params: PeerCountParams) -> Call

Converts to this type from the input type.
Source§

impl From<PeersInfoParams> for Call

Source§

fn from(params: PeersInfoParams) -> Call

Converts to this type from the input type.
Source§

impl From<SendRawTransactionParams> for Call

Source§

fn from(params: SendRawTransactionParams) -> Call

Converts to this type from the input type.
Source§

impl From<SendTransactionParams> for Call

Source§

fn from(params: SendTransactionParams) -> Call

Converts to this type from the input type.
Source§

impl From<UninstallFilterParams> for Call

Source§

fn from(params: UninstallFilterParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_accountsParams> for Call

Source§

fn from(params: eth_accountsParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_blockNumberParams> for Call

Source§

fn from(params: eth_blockNumberParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_callParams> for Call

Source§

fn from(params: eth_callParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_chainIdParams> for Call

Source§

fn from(params: eth_chainIdParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_estimateGasParams> for Call

Source§

fn from(params: eth_estimateGasParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_gasPriceParams> for Call

Source§

fn from(params: eth_gasPriceParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getBalanceParams> for Call

Source§

fn from(params: eth_getBalanceParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getBlockByHashParams> for Call

Source§

fn from(params: eth_getBlockByHashParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getBlockByNumberParams> for Call

Source§

fn from(params: eth_getBlockByNumberParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getBlockTransactionCountByHashParams> for Call

Source§

fn from(params: eth_getBlockTransactionCountByHashParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getBlockTransactionCountByNumberParams> for Call

Source§

fn from(params: eth_getBlockTransactionCountByNumberParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getCodeParams> for Call

Source§

fn from(params: eth_getCodeParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getLogsParams> for Call

Source§

fn from(params: eth_getLogsParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getStorageAtParams> for Call

Source§

fn from(params: eth_getStorageAtParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getTransactionByBlockHashAndIndexParams> for Call

Source§

fn from(params: eth_getTransactionByBlockHashAndIndexParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getTransactionByBlockNumberAndIndexParams> for Call

Source§

fn from(params: eth_getTransactionByBlockNumberAndIndexParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getTransactionByHashParams> for Call

Source§

fn from(params: eth_getTransactionByHashParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getTransactionCountParams> for Call

Source§

fn from(params: eth_getTransactionCountParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_getTransactionReceiptParams> for Call

Source§

fn from(params: eth_getTransactionReceiptParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_maxPriorityFeePerGasParams> for Call

Source§

fn from(params: eth_maxPriorityFeePerGasParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_sendRawTransactionParams> for Call

Source§

fn from(params: eth_sendRawTransactionParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_sendTransactionParams> for Call

Source§

fn from(params: eth_sendTransactionParams) -> Call

Converts to this type from the input type.
Source§

impl From<eth_syncingParams> for Call

Source§

fn from(params: eth_syncingParams) -> Call

Converts to this type from the input type.
Source§

impl From<net_versionParams> for Call

Source§

fn from(params: net_versionParams) -> Call

Converts to this type from the input type.
Source§

impl Into<BlockNumberParams> for Call

Source§

fn into(self) -> BlockNumberParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<CallParams> for Call

Source§

fn into(self) -> CallParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<EstimateQuotaParams> for Call

Source§

fn into(self) -> EstimateQuotaParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetAbiParams> for Call

Source§

fn into(self) -> GetAbiParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetBalanceParams> for Call

Source§

fn into(self) -> GetBalanceParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetBlockByHashParams> for Call

Source§

fn into(self) -> GetBlockByHashParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetBlockByNumberParams> for Call

Source§

fn into(self) -> GetBlockByNumberParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetBlockHeaderParams> for Call

Source§

fn into(self) -> GetBlockHeaderParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetCensoredAddrsParams> for Call

Source§

fn into(self) -> GetCensoredAddrsParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetCodeParams> for Call

Source§

fn into(self) -> GetCodeParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetFilterChangesParams> for Call

Source§

fn into(self) -> GetFilterChangesParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetFilterLogsParams> for Call

Source§

fn into(self) -> GetFilterLogsParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetLogsParams> for Call

Source§

fn into(self) -> GetLogsParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetMetaDataParams> for Call

Source§

fn into(self) -> GetMetaDataParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetPoolTxNumParams> for Call

Source§

fn into(self) -> GetPoolTxNumParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetStateProofParams> for Call

Source§

fn into(self) -> GetStateProofParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetStorageKeyParams> for Call

Source§

fn into(self) -> GetStorageKeyParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetTransactionCountParams> for Call

Source§

fn into(self) -> GetTransactionCountParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetTransactionParams> for Call

Source§

fn into(self) -> GetTransactionParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetTransactionProofParams> for Call

Source§

fn into(self) -> GetTransactionProofParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetTransactionReceiptParams> for Call

Source§

fn into(self) -> GetTransactionReceiptParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<GetVersionParams> for Call

Source§

fn into(self) -> GetVersionParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<LicenseInfoParams> for Call

Source§

fn into(self) -> LicenseInfoParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<NewBlockFilterParams> for Call

Source§

fn into(self) -> NewBlockFilterParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<NewFilterParams> for Call

Source§

fn into(self) -> NewFilterParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<OpCensoredAddressParams> for Call

Source§

fn into(self) -> OpCensoredAddressParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<PeerCountParams> for Call

Source§

fn into(self) -> PeerCountParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<PeersInfoParams> for Call

Source§

fn into(self) -> PeersInfoParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<SendRawTransactionParams> for Call

Source§

fn into(self) -> SendRawTransactionParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<SendTransactionParams> for Call

Source§

fn into(self) -> SendTransactionParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<UninstallFilterParams> for Call

Source§

fn into(self) -> UninstallFilterParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_accountsParams> for Call

Source§

fn into(self) -> eth_accountsParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_blockNumberParams> for Call

Source§

fn into(self) -> eth_blockNumberParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_callParams> for Call

Source§

fn into(self) -> eth_callParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_chainIdParams> for Call

Source§

fn into(self) -> eth_chainIdParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_estimateGasParams> for Call

Source§

fn into(self) -> eth_estimateGasParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_gasPriceParams> for Call

Source§

fn into(self) -> eth_gasPriceParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getBalanceParams> for Call

Source§

fn into(self) -> eth_getBalanceParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getBlockByHashParams> for Call

Source§

fn into(self) -> eth_getBlockByHashParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getBlockByNumberParams> for Call

Source§

fn into(self) -> eth_getBlockByNumberParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getBlockTransactionCountByHashParams> for Call

Source§

fn into(self) -> eth_getBlockTransactionCountByHashParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getBlockTransactionCountByNumberParams> for Call

Source§

fn into(self) -> eth_getBlockTransactionCountByNumberParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getCodeParams> for Call

Source§

fn into(self) -> eth_getCodeParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getLogsParams> for Call

Source§

fn into(self) -> eth_getLogsParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getStorageAtParams> for Call

Source§

fn into(self) -> eth_getStorageAtParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getTransactionByBlockHashAndIndexParams> for Call

Source§

fn into(self) -> eth_getTransactionByBlockHashAndIndexParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getTransactionByBlockNumberAndIndexParams> for Call

Source§

fn into(self) -> eth_getTransactionByBlockNumberAndIndexParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getTransactionByHashParams> for Call

Source§

fn into(self) -> eth_getTransactionByHashParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getTransactionCountParams> for Call

Source§

fn into(self) -> eth_getTransactionCountParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_getTransactionReceiptParams> for Call

Source§

fn into(self) -> eth_getTransactionReceiptParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_maxPriorityFeePerGasParams> for Call

Source§

fn into(self) -> eth_maxPriorityFeePerGasParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_sendRawTransactionParams> for Call

Source§

fn into(self) -> eth_sendRawTransactionParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_sendTransactionParams> for Call

Source§

fn into(self) -> eth_sendTransactionParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<eth_syncingParams> for Call

Source§

fn into(self) -> eth_syncingParams

Converts this type into the (usually inferred) input type.
Source§

impl Into<net_versionParams> for Call

Source§

fn into(self) -> net_versionParams

Converts this type into the (usually inferred) input type.
Source§

impl PartialEq for Call

Source§

fn eq(&self, other: &Call) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Call

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Call

Auto Trait Implementations§

§

impl Freeze for Call

§

impl RefUnwindSafe for Call

§

impl Send for Call

§

impl Sync for Call

§

impl Unpin for Call

§

impl UnwindSafe for Call

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> FutureExt for T

Source§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Source§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,