UnsignedOperation

Trait UnsignedOperation 

Source
pub trait UnsignedOperation {
    // Required methods
    fn to_json(&self) -> String;
    fn to_signed(&self, key: &str) -> Result<impl SignedOperation, PLCError>;
}

Required Methods§

Source

fn to_json(&self) -> String

Source

fn to_signed(&self, key: &str) -> Result<impl SignedOperation, PLCError>

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.

Implementors§