pub trait ArgFromMutContext: Sized {
// Required method
fn arg_from_mut_ctx(
ctx: &mut ChainContext,
raw: impl AsRef<str>,
) -> Result<Self, String>;
}Expand description
CLI argument that found via the ChainContext and cached (as in case of
an encrypted keypair that has been decrypted), hence using mutable context.
Required Methods§
fn arg_from_mut_ctx( ctx: &mut ChainContext, raw: impl AsRef<str>, ) -> Result<Self, String>
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.