Enum tarantool::fiber::YieldResult
source · pub enum YieldResult<T> {
DidntYield(T),
Yielded(T),
}
Expand description
Possible check_yield
results.
Variants§
Trait Implementations§
source§impl<T: Debug> Debug for YieldResult<T>
impl<T: Debug> Debug for YieldResult<T>
source§impl<T: PartialEq> PartialEq for YieldResult<T>
impl<T: PartialEq> PartialEq for YieldResult<T>
source§fn eq(&self, other: &YieldResult<T>) -> bool
fn eq(&self, other: &YieldResult<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq> Eq for YieldResult<T>
impl<T> StructuralEq for YieldResult<T>
impl<T> StructuralPartialEq for YieldResult<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for YieldResult<T>where
T: RefUnwindSafe,
impl<T> Send for YieldResult<T>where
T: Send,
impl<T> Sync for YieldResult<T>where
T: Sync,
impl<T> Unpin for YieldResult<T>where
T: Unpin,
impl<T> UnwindSafe for YieldResult<T>where
T: UnwindSafe,
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