pub struct LuaExecutionResult { /* private fields */ }Implementations§
Source§impl LuaExecutionResult
impl LuaExecutionResult
pub fn script_id(&self) -> &str
pub fn script_version(&self) -> &str
pub fn source_sha256(&self) -> &str
pub fn status(&self) -> LuaExecutionStatus
pub fn success(&self) -> bool
pub fn error(&self) -> Option<LuaExecutionError>
pub fn output(&self) -> &str
pub fn return_value(&self) -> Option<&LuaReturnValue>
pub fn execution_time_ms(&self) -> u64
Trait Implementations§
Source§impl Clone for LuaExecutionResult
impl Clone for LuaExecutionResult
Source§fn clone(&self) -> LuaExecutionResult
fn clone(&self) -> LuaExecutionResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LuaExecutionResult
impl RefUnwindSafe for LuaExecutionResult
impl Send for LuaExecutionResult
impl Sync for LuaExecutionResult
impl Unpin for LuaExecutionResult
impl UnsafeUnpin for LuaExecutionResult
impl UnwindSafe for LuaExecutionResult
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more