Struct renvm_sig::RenVm[][src]

pub struct RenVm { /* fields omitted */ }
Expand description

RenVm’s state that is responsible for signing RenVm messages.

Implementations

Initialise a RenVm state with a random secret key.

Initialise a RenVm state from byte-representation of its secret key.

Get the Ethereum address of the secret key.

Signs a RenVm message.

Signs a RenVm message according to EIP-191.

Trait Implementations

Formats the value using the given formatter. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.