pub struct LuaThreadClose(pub LuaStatus);Expand description
Internal control-flow payload for Lua 5.5 coroutine.close() self-close.
It is caught at the coroutine resume boundary; panic hooks should suppress it
like LuaExit because it is not a Rust runtime panic.
Tuple Fields§
§0: LuaStatusTrait Implementations§
Source§impl Clone for LuaThreadClose
impl Clone for LuaThreadClose
impl Copy for LuaThreadClose
Source§impl Debug for LuaThreadClose
impl Debug for LuaThreadClose
impl Eq for LuaThreadClose
Source§impl PartialEq for LuaThreadClose
impl PartialEq for LuaThreadClose
impl StructuralPartialEq for LuaThreadClose
Auto Trait Implementations§
impl Forget for LuaThreadClose
impl Freeze for LuaThreadClose
impl Move for LuaThreadClose
impl RefUnwindSafe for LuaThreadClose
impl Send for LuaThreadClose
impl Sync for LuaThreadClose
impl Unpin for LuaThreadClose
impl UnsafeUnpin for LuaThreadClose
impl UnwindSafe for LuaThreadClose
Blanket Implementations§
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