Struct forest_actor::system::Actor
source · [−]pub struct Actor;
Expand description
System actor.
Implementations
pub fn constructor<BS, RT>(rt: &mut RT) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn constructor<BS, RT>(rt: &mut RT) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
System actor constructor.
Trait Implementations
fn invoke_method<BS, RT>(
rt: &mut RT,
method: MethodNum,
_params: &Serialized
) -> Result<Serialized, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
fn invoke_method<BS, RT>(
rt: &mut RT,
method: MethodNum,
_params: &Serialized
) -> Result<Serialized, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Invokes method with runtime on the actor’s code. Method number will match one defined by the Actor, and parameters will be serialized and used in execution Read more