Enum mlua_luau_scheduler::Status
source · pub enum Status {
NotStarted,
Running,
Completed,
}
Expand description
The current status of a scheduler.
Variants§
NotStarted
The scheduler has not yet started running.
Running
The scheduler is currently running.
Completed
The scheduler has completed.
Implementations§
source§impl Status
impl Status
pub const fn is_not_started(self) -> bool
pub const fn is_running(self) -> bool
pub const fn is_completed(self) -> bool
Trait Implementations§
source§impl Ord for Status
impl Ord for Status
source§impl PartialEq for Status
impl PartialEq for Status
source§impl PartialOrd for Status
impl PartialOrd for Status
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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