sui_adapter_latest::execution_value

Trait TryFromValue

Source
pub trait TryFromValue: Sized {
    // Required method
    fn try_from_value(value: Value) -> Result<Self, CommandArgumentError>;
}

Required Methods§

Source

fn try_from_value(value: Value) -> Result<Self, CommandArgumentError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TryFromValue for u64

Source§

fn try_from_value(value: Value) -> Result<Self, CommandArgumentError>

Source§

impl TryFromValue for SuiAddress

Source§

fn try_from_value(value: Value) -> Result<Self, CommandArgumentError>

Implementors§