Enum solana_client::rpc_config::RpcEncodingConfigWrapper [−][src]
pub enum RpcEncodingConfigWrapper<T> { Deprecated(Option<UiTransactionEncoding>), Current(Option<T>), }
Variants
Tuple Fields of Deprecated
Tuple Fields of Current
0: Option<T>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for RpcEncodingConfigWrapper<T> where
T: RefUnwindSafe,
impl<T> Send for RpcEncodingConfigWrapper<T> where
T: Send,
impl<T> Sync for RpcEncodingConfigWrapper<T> where
T: Sync,
impl<T> Unpin for RpcEncodingConfigWrapper<T> where
T: Unpin,
impl<T> UnwindSafe for RpcEncodingConfigWrapper<T> where
T: UnwindSafe,
Blanket Implementations
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self