Struct actix_lua::LuaActorBuilder[][src]

pub struct LuaActorBuilder { /* fields omitted */ }

LuaActorBuilder creates a new LuaActor with given Lua script.

Methods

impl LuaActorBuilder
[src]

Initialize a new LuaActorBuilder

create a started hook with given lua file

create a started hook with given lua script

handle message with given lua file

handle message with given lua script

create a stopped hook with given lua file.

create a stopped hook with given lua script

config the actor's lua VM

build the actor

Trait Implementations

impl Default for LuaActorBuilder
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations