Enum actix_lua::LuaMessage [−][src]
pub enum LuaMessage { String(String), Integer(i64), Number(f64), Boolean(bool), Nil, Table(HashMap<String, LuaMessage>), }
Variants
String(String)
Integer(i64)
Number(f64)
Boolean(bool)
Nil
Table(HashMap<String, LuaMessage>)
Trait Implementations
impl Handler<LuaMessage> for LuaActor
[src]
impl Handler<LuaMessage> for LuaActor
type Result = LuaMessage
The type of value that this handle will return
fn handle(&mut self, msg: LuaMessage, ctx: &mut Context<Self>) -> Self::Result
[src]
fn handle(&mut self, msg: LuaMessage, ctx: &mut Context<Self>) -> Self::Result
Method is called for every message received by this Actor
impl Debug for LuaMessage
[src]
impl Debug for LuaMessage
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for LuaMessage
[src]
impl PartialEq for LuaMessage
fn eq(&self, other: &LuaMessage) -> bool
[src]
fn eq(&self, other: &LuaMessage) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LuaMessage) -> bool
[src]
fn ne(&self, other: &LuaMessage) -> bool
This method tests for !=
.
impl Clone for LuaMessage
[src]
impl Clone for LuaMessage
fn clone(&self) -> LuaMessage
[src]
fn clone(&self) -> LuaMessage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<A, M> MessageResponse<A, M> for LuaMessage where
A: Actor,
M: Message<Result = LuaMessage>,
[src]
impl<A, M> MessageResponse<A, M> for LuaMessage where
A: Actor,
M: Message<Result = LuaMessage>,
fn handle<R: ResponseChannel<M>>(self, _: &mut A::Context, tx: Option<R>)
[src]
fn handle<R: ResponseChannel<M>>(self, _: &mut A::Context, tx: Option<R>)
impl Message for LuaMessage
[src]
impl Message for LuaMessage
type Result = LuaMessage
The type of value that this message will resolved with if it is successful. Read more
impl From<bool> for LuaMessage
[src]
impl From<bool> for LuaMessage
impl<'l> From<&'l str> for LuaMessage
[src]
impl<'l> From<&'l str> for LuaMessage
impl From<String> for LuaMessage
[src]
impl From<String> for LuaMessage
impl From<i8> for LuaMessage
[src]
impl From<i8> for LuaMessage
impl From<u8> for LuaMessage
[src]
impl From<u8> for LuaMessage
impl From<i16> for LuaMessage
[src]
impl From<i16> for LuaMessage
impl From<u16> for LuaMessage
[src]
impl From<u16> for LuaMessage
impl From<i32> for LuaMessage
[src]
impl From<i32> for LuaMessage
impl From<u32> for LuaMessage
[src]
impl From<u32> for LuaMessage
impl From<i64> for LuaMessage
[src]
impl From<i64> for LuaMessage
impl From<usize> for LuaMessage
[src]
impl From<usize> for LuaMessage
impl From<isize> for LuaMessage
[src]
impl From<isize> for LuaMessage
impl From<HashMap<String, LuaMessage>> for LuaMessage
[src]
impl From<HashMap<String, LuaMessage>> for LuaMessage
fn from(s: HashMap<String, LuaMessage>) -> Self
[src]
fn from(s: HashMap<String, LuaMessage>) -> Self
Performs the conversion.
impl From<f32> for LuaMessage
[src]
impl From<f32> for LuaMessage
impl From<f64> for LuaMessage
[src]
impl From<f64> for LuaMessage
impl<'lua> FromLua<'lua> for LuaMessage
[src]
impl<'lua> FromLua<'lua> for LuaMessage
impl<'lua> ToLua<'lua> for LuaMessage
[src]
impl<'lua> ToLua<'lua> for LuaMessage
Auto Trait Implementations
impl Send for LuaMessage
impl Send for LuaMessage
impl Sync for LuaMessage
impl Sync for LuaMessage